timboudreau / nb-nodejs

NodeJS support for NetBeans, originally hosted on netbeans.org
MIT License
91 stars 12 forks source link

generated package.json does not respect netbeans formating #11

Open yohny opened 11 years ago

yohny commented 11 years ago

when package.json is generated through project properties it does not respect netbeans tab size and reformats json with 2 space as tab size even when netbeans settings have different value (4 in my case). It would be sufficient to run netbeans' format command after file is generated by plugin

timboudreau commented 11 years ago

This one will be a little difficult, since there does not seem to be an obvious way to customize the number of spaces in Jackson's output (yes, it could run reformat code on it, but that will add some dependencies to the module and be non-trivial to implement).