This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Every line is indented, regardless of its content. Each additional line gets indented more then the previous line. I.e. the first line by 8 characters from the text above, next by 16, next by 24. JavaScript indentation uses 8 characters unlike all other editors which use 4 -- I have 4 in Options | Editor | Indentation | Number of Spaces per Indent. The code looks like this: function foo () { x = 45; y = 1; foo(); bar(); Both in .js and embedded in .html. Build 070719 (I will verify in a newer build shortly). I am filing this as a P1 because this makes the editor completely unusable for typing (maybe you can use it for reading code). I could not find a duplicate but I cannot believe that nobody noticed this. If this is a duplicate please make sure the other bug has appropriate priority.
Looks like duplicate of Issue #110102. Feel free to reopen it if you can reproduce in latest build. *** This issue has been marked as a duplicate of 110102 ***