New version of Additional Java Hints plugin – 1.2.0

FYI: Recently I released the new version 1.2.0 of the “Additional Java Hints” plugin. There are some new hints/small quickfixes, which may be useful (or not) for Java developers.

  • [New Hint]: Change the modifier of a class/method/field to public/package protected/protected/private (by rasa-silva)
  • [New Hint]: Remove public/abstract/final modifiers from field declarations within interfaces
  • [New Hint]: Convert from char and string and back
  • [New Hint]: Convert number in literal to number and back
  • [New Hint]: Convert to StringUtils.isBlank()/StringUtils.isNotBlank()/StringUtils.isEmpty()
  • [New Hint]: Convert from if/else to ternary and back
  • [New Hint]: Invert ternary if/else
  • [New Hint]: Report methods that have class name
  • [Updated Hint]: “Convert to assertTrue/assertFalse” now supports junit.framework.Assert too
  • [Updated Hint]: “Replace +…” hints can now be configured

screenshot

The plugin is verified for NB 8.0 and NB 7.4 and already available from the plugin dialog within your NetBeans IDE. Or you can download it from http://plugins.netbeans.org/plugin/47589/additional-hints

As always please file issues and enhancements at https://github.com/markiewb/nb-additional-hints/issues . Pull request are also appreciated.

Advertisements

New version of Additional Java Hints plugin – 1.1.0

Another short note for today: I recently updated the “Additional Java Hints” plugin. There are some new hints/small quickfixes, which may be useful (or not) for Java developers. 

  • [New Hint]: Support transformation to BigDecimal constants
  • [New Hint]: Split a string at caret
  • [New Hint]: Convert to assertTrue/assertFalse
  • [New Hint]: Remove “public abstract” modifiers from method declarations within interfaces

Image

The plugin is verified for NB 7.3 and NB 7.4 and already available from the plugin dialog within your NetBeans IDE. Or you can download it from http://plugins.netbeans.org/plugin/47589/additional-hints

As always please file issues and enhancements at https://github.com/markiewb/nb-additional-hints/issues . Pull request are also appreciated.

More shortcuts/quickfixes for eclipse

After a short detour to Idea Intellj, i am back to eclipse now and there is still potential to learn new features/shortcuts for improved productivity.

Here a few i was not aware of:

  • Ctrl-3: quick access – all commands, filterable
  • Ctrl-E: to list open files, there you can close the currently selected file by pressing del
  • Alt-Shift-W: Show current file in view xyz
  • F12: go to editor pane
  • Shift-Enter: Create a new line below – no longer Shift-End, Enter
  • Ctrl-Q: go to the last edit location
  • Ctrl-T: Quick type hierarchy
  • Sharing plugins in external folder – how to manage it properly.
  • Pick out part of a string via Quickfix

Mainly influenced by http://eclipseone.wordpress.com/

Any cool missed features or quickfixes out there?