Language-tools: editor.codeActionsOnSave

Created on 4 Jan 2021  路  1Comment  路  Source: sveltejs/language-tools

I'm using this handy option in vscode that runs the "Organize imports" action on save

"[typescript]": {
    "editor.codeActionsOnSave": { "source.organizeImports": true }
},

Running the action manually through F1 > Organize imports does work in svelte files, but this option appears to get ignored

question

Most helpful comment

You'll have to use [svelte] instead of [typescript] for svelte file

>All comments

You'll have to use [svelte] instead of [typescript] for svelte file

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jasonlyu123 picture jasonlyu123  路  28Comments

UltraCakeBakery picture UltraCakeBakery  路  14Comments

dummdidumm picture dummdidumm  路  24Comments

rob-balfre picture rob-balfre  路  17Comments

limitlessloop picture limitlessloop  路  22Comments