nb-nodejs icon indicating copy to clipboard operation
nb-nodejs copied to clipboard

generated package.json does not respect netbeans formating

Open yohny opened this issue 10 years ago • 1 comments

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

yohny avatar Nov 16 '13 10:11 yohny

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).

timboudreau avatar Nov 17 '13 23:11 timboudreau