EditorConfig and NetBeans IDE (Part 3)

Ultimately, org.netbeans.spi.project.ui.ProjectOpenedHook should be used. When a project opens, a FileChangeListener should start listening recursively from the project root downwards for the presence of .editorconfig files. No explicit Action should be needed, i.e., automatically the listening should begin and, if an .editorconfig file is found, it should be applied to the level where it applies.

The relevant properties are not many.

  • indent_style
  • indent_size
  • tab_width
  • end_of_line
  • charset
  • trim_trailing_whitespace
  • insert_final_newline
  • max_line_length

Just the above 8, apparently nothing more than that.

Comments:

How do I download and install it?

Posted by guest on April 15, 2014 at 07:20 AM PDT #

This is great! Any ideas when it will be released as a plugin? Thanks!

Posted by guest on June 06, 2014 at 05:15 PM PDT #

Hello, I'm also waiting too see the .editorconfig plugin. Is there already a downloadable and installable Beta?

Posted by Benny Neugebauer on August 21, 2014 at 02:09 AM PDT #

Post a Comment:
  • HTML Syntax: NOT allowed
About

Geertjan Wielenga (@geertjanw) is a Principal Product Manager in the Oracle Developer Tools group living & working in Amsterdam. He is a Java technology enthusiast, evangelist, trainer, speaker, and writer. He blogs here daily.

The focus of this blog is mostly on NetBeans (a development tool primarily for Java programmers), with an occasional reference to NetBeans, and sometimes diverging to topics relating to NetBeans. And then there are days when NetBeans is mentioned, just for a change.

Search

Archives
« February 2015
SunMonTueWedThuFriSat
1
4
8
10
11
17
28
       
       
Today