Eclipse Java Code Formatter (Eclipse Neon 4.6 1a) - plugin detail

Eclipse Java Code Formatter Integration for NetBeans (Eclipse Neon 4.6 1a)

n/a
Plugin owner: markiewb
Website: https://github.com/markiewb/eclipsecodeformatter_for_netbeans
Added: 2016-12-13
License: EPL 1.0
Category: Editing
Downloaded: 469 times
Rating:
 0, by 0 users

Plugin Log Show log

Versions available

Download plugin   Download size: 1.60 MB   Last Update: 2016-12-13

This plugin is also available on the NetBeans Plugin Portal Update Center. Use 'Tools > Plugins' action from the NetBeans IDE main menu for convenient installation of this plugin


What's new in this version

Updates in 1.12.1.46 - 4.6 Fork:

  • [Feature 84]: Provide support for Eclipse Neon 4.6 1a
  • [Bugfix 88]: Fixed: Keyboard shortcut does not format non java files


Verifications for NetBeans versions

8.2 verification PASSED See verification details
Download plugin   Download size: 1.60 MB   Last Update: 2016-12-13

This plugin is also available on the NetBeans Plugin Portal Update Center. Use 'Tools > Plugins' action from the NetBeans IDE main menu for convenient installation of this plugin


What's new in this version

Updates in 1.12.1.46 - 4.6 Fork:

  • [Feature 84]: Provide support for Eclipse Neon 4.6 1a
  • [Bugfix 88]: Fixed: Keyboard shortcut does not format non java files


Verifications for NetBeans versions

8.1 verification PASSED See verification details


Introduction

This plugin helps you to apply to a common code style in a team of Eclipse JDT and NetBeans IDE users. The original formatting engine of Eclipse is embedded and allows you to format the sourcecode the same way as your Eclipse co-workers do. You only have to provide an Eclipse formatter configuration file.

Known issue: When the Eclipse formatter is used the line-breakpoints at the formatted lines are lost. Class/Method/Field breakpoints will be preserved.

Features:

  • Global configuration and project specific configuration
  • On save action (Disabled by default)
  • Shows the used formatter as notification (Enabled by default)
  • Supports profiles (since 1.6)
  • Supports format of selected text (since 1.7)
  • Preserve breakpoints (experimental) (since 1.8)
  • Code templates for @formatter:on/off (since 1.9)
  • Supports Workspace Mechanic configuration file (since 1.10)
  • Support configuration from .settings/org.eclipse.jdt.core.prefs (absolute and relative paths) (since 1.10)
  • On save action: Introduced option for formatting only the changed lines (since 1.10)
  • Support configuration of linefeed (since 1.10)
  • Support configuration of source level (since 1.10)
  • Support for macro invocation (since 1.12)
global.png
project.png

Note:

Please note that this plugin only provides support for formatting. Eclipse users may miss the application of save-actions like "adding @Override annotations" or "member sort order". Such AST-based transformations are not provided by this plugin. The plugin also won't format source code with guarded sections - like the Java sources generated by the NetBeans GUI builder.

Licensing

Provide defects, request for enhancements and feedback at https://github.com/markiewb/eclipsecodeformatter_for_netbeans/issues

Compatible to NetBeans 8.0.2+ and JDK7+.

btn_donate_SM.gif

[ You have to be logged in to be able to comment. ]

User Comments

There are no comments yet.

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo