You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Implemented guarded blocks properly for the Eclipse Java Code Formatter, unfortunately it's not possible for the Google Java Code Formatter at the moment: google/google-java-format#433
…er is now triggered by the NetBeans actions itself, therefore every reformat trigger uses now the configured formatter, e.g. also after a code template was inserted. That means also that there is no more format on save option, this can be achieved now by NetBeans' On-Save action.
So with this commit, these issues are fixed or at least improved:
#24 Preserve linebreakpoints has improved (still not as perfect as with the internal NetBeans formatter but pretty close)
#92 The configured formatter takes now care when a code template is inserted, so if it tells to not format a specific part this part is ignored from formatting
#17 Hanlding of guarded blocks has improved by design
See the impl in org.netbeans.modules.editor.impl.ReformatBeforeSaveTask
The text was updated successfully, but these errors were encountered: