Geertjan's Blog

  • March 12, 2014

EditorConfig and NetBeans IDE (Part 3)

Geertjan Wielenga
Product Manager

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.

Join the discussion

Comments ( 3 )
  • guest Tuesday, April 15, 2014

    How do I download and install it?

  • guest Saturday, June 7, 2014

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

  • Benny Neugebauer Thursday, August 21, 2014

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

Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.