3 ms·
my number one complaint, whether it be with eclipse, textmate, vim, emacs, whatever, is the clumsiness of going from one file to another and then back to the or
by jrockway 17y ago
my number one complaint, whether it be with eclipse, textmate, vim, emacs, whatever, is the clumsiness of going from one file to another and then back to the original
Emacs has a stack for this. Jump to related definition with M-., jump back to where you were before with M-∗. One keystroke is not exactly "clumsy", IMHO.
I, like other posters, would be really psyched if you could have some kind of MVC opener which would automagically open all the code files using a certain view.
I just open all files in the project with `eproject-open-all-project-files`. Then I can iswitchb between them. (Of course, there are lots of extensions that don't require you to have the files open to easily navigate to them; eproject, anything, ido, etc.)
- jacquesm 17y agoHave a look at the 'Leo' editor, it has views on your source using 'cloned' nodes. It even allows you to group all the code around a bug and a fix together, document the whole thing and never move any of the original code around. It's a pretty neat literate programming tool.
- chipsy 17y agoLeo is really nice and I've used it on real projects to refactor and study my architecture.
- grayrest 17y agoI'd actually say that Leo is horrible except for the one feature that makes it amazing (outlines). I find myself wanting to implement outlines in Vim but knowing I never will.
- chipsy 17y agoThat's a fair assessment too. I don't use Leo for the general-purpose work and new code because it gets in the way when you know what you want to write. But it does work well if you need to learn what a large, spread out body of code is doing. Just realigning the position of code helps to spot some previously hidden repetition. I would probably use it more if I wrote some scripts to autogen the outlines for entire codebases.
- kristiandupont 17y agoTake a look at Code Browser: http://code-browser.sf.net http://code-browser.sf.net too - it does outlining in a minimalistic way that I really like.
- urlwolf 17y agoFor those who like leo/literate programming, have a look at code-browser: http://tibleiz.net/code-browser/ http://tibleiz.net/code-browser/ More powerful overall. It implements elastic tabstops too! Little unknown gem. good for outlining a book/paper also.
- corruption 17y agoMylyn.