sunjw / jstoolnpp

A JavaScript (JSON) tool for Notepad++ (formerly JSMinNpp) and Visual Studio Code.
GNU General Public License v2.0
283 stars 24 forks source link

Indentation of statements with no semicolons #61

Closed brynne8 closed 6 years ago

brynne8 commented 6 years ago

For statements without semicolons at their ends like

a = 1
b = 2
c = 3

the JSFormat ouput is like

a = 1
    b = 2
    c = 3

which I expect not to indent the last two statements

sunjw commented 6 years ago

Not going to support js without ';' at the end.

sunjw commented 6 years ago

Duplicated to #26 Let's close this.