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
So basically I can use delayed saves and trigger whatever command I need.
The issue is that I have "files.insertFinalNewline": true set and vscode-sort-json extension doesn't follow this setting. Final result is infinite loop of resaves as after initial save by this extension vscode adds missing empty line at the end and this triggers again sortJSON.sortJSON which removes empty line. Maybe this extension could ensure that at least if this setting is set to true the produced json also has empty line at the end?
The text was updated successfully, but these errors were encountered:
Thanks for the comment and the config. I haven't updated this extension for a long time, so probably a few things I need to fix up. I'll add to my todo list and hope to get to it soon.
I have this extension setup together with https://marketplace.visualstudio.com/items?itemName=pucelle.run-on-save:
So basically I can use delayed saves and trigger whatever command I need.
The issue is that I have
"files.insertFinalNewline": true
set and vscode-sort-json extension doesn't follow this setting. Final result is infinite loop of resaves as after initial save by this extension vscode adds missing empty line at the end and this triggers again sortJSON.sortJSON which removes empty line. Maybe this extension could ensure that at least if this setting is set to true the produced json also has empty line at the end?The text was updated successfully, but these errors were encountered: