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
If I open a file modify it and save, the formatting works but doesn't respect these settings, so it'll format like this:
constfn=function(arg){}
but then, if I close and reopen Sublime Text modify the file and save again, the formatting works correctly
constfn=function(arg){}
Is there something I'm doing wrong? I know it's maybe hacky the way I modified my ~/.config/sublime-text-3/Packages/TypeScript/typescript/libs/editor_client.py setting directly
The text was updated successfully, but these errors were encountered:
caub
changed the title
Auto-format after save only works correctly if the file was opened at Sublime loading
Auto-format after save doesn't work correctly on files opened after load
Aug 14, 2021
I'm using Sublime build 4113, under linux (Lubuntu 18.04)
I've customized https://github.com/microsoft/TypeScript-Sublime-Plugin/blob/master/typescript/libs/editor_client.py#L110 by adding these options:
If I open a file modify it and save, the formatting works but doesn't respect these settings, so it'll format like this:
but then, if I close and reopen Sublime Text modify the file and save again, the formatting works correctly
Is there something I'm doing wrong? I know it's maybe hacky the way I modified my ~/.config/sublime-text-3/Packages/TypeScript/typescript/libs/editor_client.py setting directly
The text was updated successfully, but these errors were encountered: