Hacker News new | ask | show | jobs
by rapind 5107 days ago
You're probably right. The last time I touched Java was about 4 years ago. Even then I was using a basic text editor (Eclipse was a monster at the time that took forever to launch and hemorrhaged memory), but it wasn't so bad in the Spring (and Guice) world because you were mostly working with POJOs and didn't need any of the Eclipse autocomplete and refactoring tools.

I think the trend will actually go the other way though and there'll be less gigantic IDE usage in the future, but I'm not going to put money on it.

1 comments

I tried to use Sublime for Java (w/ Spring/Hibernate) for a day and found several things I can't live without:

1. Ctrl-1: Automatically tries to fix a compile error. I use this a lot to get my imports automatically, and for other random things.

2. Open Declaration: This was touched on by others and is incredibly useful. The IDE can find the right Class even if two have the same name, while search can make this difficult in some cases.

3. Show References: Similar to above, this is just incredibly useful when you are refactoring or need to see how something is used.

4. Generate getters and setters: I know this one is dumb, but it's so convenient. I just hover over the unused warning then click, and i've got the code.

This editor is snazzy and fast but I don't think I can make the switch.