9

I'm an Eclipse addict trying to get more comfortable with Emacs for C code. Is there a way to get an outline view of a C file, similar to the view on the right of the image below, in Emacs in CC mode?

Eclipse Outline View
(source: eclipse.org)

4 Answers 4

9

Check out ECB, the Emacs Code Browser.

5

Definitely check out Speedbar. That will make a new Emacs frame that can be used as an outline. If you want something in the same frame, check out Sr Speedbar.

1

ECB is an integration tool that uses Speedbar anyways. It offers a lot more functionality though - the file browser with VC integration is particularly nice IMO. All in all I think that if one needs to make Emacs look more like Eclipse he needs ECB.

0

Take a look at Speedbar, which will provide this kind of functionality in any mode that has imenu support (including C).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.