Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Assuming that that java bash was in context, I have to say that the IDE features I mentioned would be useful for almost any language:

Refactorings: I can rename a method in one location and it will change all the calling code. This would be dangerous to do by hand: Best case scenario, there would be a compiler error for all the broken code. Worst case, that method name was already overloaded and you just introduced a bug.

ctrl+n: Open any file that's in your project. It can find the file by camel case or pattern matching and it only includes files in your project.

ctrl+alt+h: See a tree of all the callers of a method. Extremely useful when you're considering a refactoring. You can instantly answer the questions, "Is anyone calling this method?", "Is anyone calling the methods that are calling this method?...", "What will be affected by this change?", and so on.



Although not as comprehensive as the eclipse refactorings, ctags go some way towards giving you similar functionality in vim.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: