Professional Documents
Culture Documents
r e be l o ng
u r I D E a
A ll y o
to us
JEVGENI KABANOV,
CEO of ZeroTurnaround, makers of JRebel
As you can see in the image from Java Tools and Technologies Landscape
2014, in Java we have about a dozen (or maybe more) options for
developers to give their gorgeous code life: Eclipse, IntelliJ IDEA, NetBeans,
Spring Tool Suite, IBM RAD, MyEclipse, JBoss Dev Studio and Codenvy
(formerly “eXo IDE”) are some products designed to fulfill our IDE
requirements, but predecessors to what many consider “modern IDEs” --
such as vi/vim, Emacs and Notepad++ -- are still in use by small segments
of hardcore fans. If you are using Eclipse, you are in good company.
d e v e l o pers
48% of t h e i r I DE
e Ec l i p se as
choos
ARNEL PÄLLO
Engineer at ZeroTurnaround
In this next part, we review some of the top rated and top downloaded
plugins for Eclipse. We'll look at each of the most installed plugins for
Java and JVM development, and see what plugins other Eclipse users install
that may be valuable to you as well.
Subversive / Subclipse - SVN plugins, for those Spring Tool Suite (STS) - EclEmma - a very well-known code coverage
who haven't migrated to git or mercurial yet. Spring Framework is an umbrella project for tool for Java.
tons of useful libraries and making your IDE
EGit - Git has won, no wonder the plugin aware of them is a smart step -- you’ll notice FindBugs - a very popular open source, static
is popular. that STS is also in use by 4% of the survey code analysis tool.
respondents from the introduction, so it’s not
Eclipse color theme / Moonlight UI - woohoo, easy to ignore. TestNG - JUnit is certainly used more than
we all like things that look pretty, don’t we? TestNG, but it doesn’t mean that other testing
Vaadin framework - frameworks cannot top it in terms of quality,
Maven integration - Maven is used by 64% Vaadin is an interesting web framework usability or features.
of Java developers, so perhaps it could be added with pure Java components, beautiful
into the bundle? widgets, flexibility. CheckStyle - code quality analysis tool focused
on the looks of code. Make your team comply
Gradle IDE pack - Gradle might very well JBoss Tools (both Luna and Kepler) - with a chosen code standard and enjoy more
rule the world eventually. Nice to know it gets umbrella project to work with all things readable diffs.
traction and the tooling catches up. Red Hat, including JBoss, which is considered
by some to be the best Java Application Server JadClipse - a well-known Java Bytecode
Android development tools - there is. decompiler.
Eclipse is still the official IDE for Android
development. GlassFish Tools for Luna - JRebel - a developer productivity tool, allows
Oracle has cut commercial support of you to view code changes instantly, which
PyDev - Python is flexible, dynamic and installed the GlassFish, but it still is the Reference enables developers to get more done in the
everywhere by default. Implementation of Java EE server. same amount of time. Become 17% more
productive immediately. More effective than
a double espresso in the morning.
Please note that these are the default keyboard shortcuts for Eclipse, but
you can easily change and remap key mappings for all imaginable (and even
some unimaginable) actions. But, we do think the defaults might hint that
some use-cases are more important to the Eclipse development team.
FILE NAVIGATION
File navigation shortcuts are highly-used key bindings in the IDE.
Open Java class, open resources like .xml, properties files or your favorite
gradle.build file. Eclipse's open resource and open type actions are super
useful and will help you find class definitions very quickly.Eclipse also has
the Cmd / Ctrl + O shortcut for opening a quick outline that allows you to
find a method in the current class.
ACTION WINDOWS OS X
Move lines Alt + Up / Down Alt + Up / Down
Find usages / References Show quick refactoring menu Ctrl + Alt + T ⌘ + Shift + T
in workspace
Ctrl + Shift + G ⌘ + Shift + G
Rename Ctrl + Alt + R ⌘ + Alt + R
Quick outline / File structure Ctrl + O ⌘+O Surround with Ctrl + Alt + Z ⌘ + Alt + Z
Inspect code hierachy Ctrl + T ⌘+T Extract local variable Ctrl + Alt + L ⌘ + Alt + L
Open / Navigate to declaration F3 F3 Inline Ctrl + Alt + I ⌘ + Alt + I
Open / Navigate to
F4 F4 Extract method Ctrl + Alt + M ⌘ + Alt + M
type hierarchy
REFACTORING
Refactoring shortcuts immensely help you when making changes to legacy
code, helping you extract pieces of code into different entities (variables,
fields). Using this actually serves as a basis for writing the code in a right-to-
left manner, without declaring the variables, but specifying their contents first
and automagically extracting them into variables later.
ACTION WINDOWS OS X
Quick fix Ctrl + 1 ⌘+1
Code completion Ctrl + Space Ctrl + Space
UNIVERSAL ACCESS
Eclipse has an awesome little keybindings cheatsheet included, it really helps
ACTION WINDOWS OS X
Shortcuts cheatsheet Ctrl + Shift + L ⌘ + Shift + L
Quick access /
search everywhere
Ctrl + 3 ⌘+3
Find usages / References Show quick refactoring menu Ctrl + Alt + T ⌘ + Shift + T
Ctrl + Shift + G ⌘ + Shift + G
in workspace
Rename Ctrl + Alt + R= ⌘ + Alt + R
Quick outline / File structure Ctrl + O ⌘+O
Surround with Ctrl + Alt + Z ⌘ + Alt + Z
Inspect code hierachy Ctrl + T ⌘+T
Extract local variable Ctrl + Alt + L ⌘ + Alt + L
Open / Navigate to declaration F3 F3
Inline Ctrl + Alt + I ⌘ + Alt + I
Open / Navigate to
F4 F4 Extract method Ctrl + Alt + M ⌘ + Alt + M
type hierarchy
There’s nothing better than getting a truly genuine experience with your most As we stated earlier, we want this report to be an accessible guide for learning
intimate of development tools, your trusted IDE. Whether you use Eclipse, the keybindings and cool shortcuts for Eclipse, the most popular IDE in the
Intellij IDEA, or NetBeans, coding while in the flow with your IDE is awesome, market. Hopefully, you've learned a bit more about it and you're well on your
and keyboard shortcuts help keep you there. We hope this report has helped way to being more fluent.
shine a little light how to make you Eclipse experience considerably more
enjoyable and productive. So that’s it ... want more? Too bad -- there are tons of resources out there ...
which we can point you to if you send your search term to @RebelLabs
via Twitter ;-)
http://xkcd.com/632/