eclipse Proton

eclipse Oct 4, 2018
News and Noteworthy

The "new" template:



Block Selection

Use the Edit -> Block Selection (Alt+Shift+A) while working with >= Java9.



CSV in Parameterised Tests

In JUnit5 parameterised tests also accept CSV literals (and files) as a source of parameters. Quite handy to feed your tests!



Show Implementation In-place

Press Shift while hovering a method and it will show implementation in-place.



Select Enclosing Structure

The 'enclosing' selection (Alt+Shift+Up/Dn) shortcut selects the enclosing structure, e.g. var->if->method->class



The 'ifnull' Template

Use the 'ifnull' template to quickly create an if null check.



Streams as Test Parameters

You can use methods returning Java streams as a source of parameters in JUnit5 tests. Use @MethodSource as shown below.



Inspect Variable Declaration

If you want to see where and how a variable was declared press Shift while hovering and you'll see it in-place.



Tags

Great! You've successfully subscribed.
Great! Next, complete checkout for full access.
Welcome back! You've successfully signed in.
Success! Your account is fully activated, you now have access to all content.