You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be really nice to check for linter errors (regions) before trying to apply the action "format on save". Problem is that if there is some type of syntax error, jsformat will make it worst, because of course the file not even validate. So, I was thinking that it would be cool to check if there is some linter region and then prevent the formatting on save ( which also is very handy). To repro this problem just remove a bunch of quotes from some strings and then look how the file is garbled!. Format on save is handy, but when errors are present is complicated.
I can take a look into this, if you don't do it first,
Kind regards,
The text was updated successfully, but these errors were encountered:
It would be really nice to check for linter errors (regions) before trying to apply the action "format on save". Problem is that if there is some type of syntax error, jsformat will make it worst, because of course the file not even validate. So, I was thinking that it would be cool to check if there is some linter region and then prevent the formatting on save ( which also is very handy). To repro this problem just remove a bunch of quotes from some strings and then look how the file is garbled!. Format on save is handy, but when errors are present is complicated.
I can take a look into this, if you don't do it first,
Kind regards,
The text was updated successfully, but these errors were encountered: