Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ide-dev] Any tips for teaching Java with Eclipse?

Accidentally sent link to Juno's tricks, current version:

Jonah Graham
Kichwa Coders Ltd.

On 5 January 2016 at 22:20, Jonah Graham <jonah@xxxxxxxxxxxxxxxx> wrote:
Have a look at for loads of tips.

As for Eclipse vs IntelliJ, I think your items are all present and accounted for, details below.

>There are some (language independent) IntelliJ features I miss in eclipse  [...]

> Cmd-D     Duplicate the current selection (the same as [...]

Built right into Eclipse with Ctrl-Alt-Up or Ctrl-Alt-Down shortcut
By default Ctrl-D is delete line, but you could remap it if you liked.

From the above link:
"All text editors based on the Eclipse editor framework support editing functions, including moving lines up or down (Alt+Arrow Up and Alt+Arrow Down), copying lines (Ctrl+Alt+Arrow Up and Ctrl+Alt+Arrow Down), inserting a new line above or below the current line (Ctrl+Shift+Enter and Shift+Enter), and converting to lowercase or uppercase (Ctrl+Shift+Y and Ctrl+Shift+X)."

>  Cmd-E     Shows a list of recently used editors and [...]

Built right in too, or at least very similar, even uses same shortcut of Ctrl E. Lets you type part of file name (using features such as CamelCase) and press Enter to open.

From the above link:
"You can quickly switch editors using the Ctrl+E keybinding which opens a list of all open editors. The list supports type-ahead to find the editor as well as allows you to close editors using a popup menu or the Delete key."

> Cmd-Shift-V  show a history of the paste buffer [...]

Sadly not built-in (AFAIK), but trivial to install with Drag and Drop from Marketplace. I have had joy with and it has the same Ctrl-Shift-V shortcut too, plus an optional view

I also recommend AnyEdit tools as a must have for Eclipse: (or from marketplace

Jonah Graham
Kichwa Coders Ltd.

On 5 January 2016 at 21:40, Michael Scharf <eclipse@xxxxxxxxx> wrote:

in the next weeks I will give some Java tutorials for experienced
non-java programmers. My idea is teach Java together with eclipse.
The formula is
   Java = language + libraries + IDE;
   IDE = eclipse;

The last 3 years or so, I have been using mostly IntelliJ products
(because I do _javascript_ and web development). So, my day to day
knowledge of eclipse with Java is a bit rusty.

Therefore I am looking for tips, like shortcuts, cool options and
commands, hidden features of JDT and helpful plugins that make
eclipse really shine for Java developers.

So, what are your favorite ticks and tips that make Java development
with eclipse really fun?

Any resources with good tips and tricks?

Any plugin that really boosts the experience?

Here are some tips I have on my list:
  - save actions
  - static members for content assist
      Preferences->Java->Editor->Content Assist->Favorites
       add org.junit.Assert
  - for plain java programs use execution environments
  - write x= foo(); and then let quickfix declare x
  - generate seters/getters
  - generate equals/hash
  - ...

There are some (language independent) IntelliJ features
I miss in eclipse. Are there any plugins that add those features?

  Cmd-D     Duplicate the current selection (the same as
            Cmd-C Cmd-V Cmd-V, but without loosing the current
            paste buffer)

  Cmd-E     Shows a list of recently used editors and
            if you hit Cmd-E again it selects the next
            file in the list and you can navigate with the
            keyboard and hitting ENTER jumps to the editor
            or view:

 Cmd-Shift-V  show a history of the paste buffer


ide-dev mailing list
To change your delivery options, retrieve your password, or unsubscribe from this list, visit

Back to the top