Awww. That was my big one. Generally any IDE has this, but if you refactor a class, field, method, variable, etc. name, rather than simply renaming it, the IDE will update all references to that specific class/field/method/variable. In Eclipse, I'm pretty sure it's ALT + SHIFT + R.

While you are typing CTRL + SPACE will bring up the context menu. Normally it doesn't pop up until you use the dot operator.

Also, I'm a huge fan of Eclipse's debugger. From what I can tell, people in general don't use debuggers a lot, but they are definitely a saving grace.

To rename/refactor a variable, class member or class-name, highlight it and do SHIFT+ALT+R.

Go to Preferences > Java > Code Style to fiddle with the re-format and import ordering options when saving (mentioned above). You can also edit the default comments and JavaDoc when creating a new class, method, etc.

Preferences > Java > Editor > Content Assist > Favorites and add packages that commonly have static imports, the CTRL+SPACE contextual menu does not include static imports by default. Handy for stuff like org.junit.Assert and org.mockito.Mockito for unit-tests, and the various OpenGL APIs.

Awesome! I had no idea that you could set Eclipse to auto format and organize on save! I was just thinking how great it would be to have that as an option. See, I knew I joined this Forum for a reason!

java-gaming.org is not responsible for the content posted by its members, including references to external websites,
and other references that may or may not have a relation with our primarily
gaming and game production oriented community.
inquiries and complaints can be sent via email to the info‑account of the
company managing the website of java‑gaming.org