-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
I would love to use this extension for my TypeScript and Vue codebase. However, enabling the source.fixAll.blocksort
is not working or is very unstable. Some observations:
- I have to explicitly set
"source.fixAll": "explicit"
to makesource.fixAll.blocksort
run successfully on save:
"[vue]": {
"editor.codeActionsOnSave": {
"source.fixAll": "explicit", // Required
"source.fixAll.blocksort": "explicit",
"source.fixAll.eslint": "explicit",
"source.fixAll.stylelint": "explicit",
"source.organizeImports": "never"
},
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true
}
- I often experience the code action to get stuck on
Sort all annotated Blocks
on save:

-
The manual
blocksort
action mostly works even if the on save code action doesn't work. -
I often have to save twice for the
blocksort
to sort on save; the first time I save, the formatter and other code actions seem to run, but theblocksort
code action seems to require an additional save. -
The on save code action is more stable with TypeScript than Vue, but the first issue (
source.fixAll
required) also applies to TypeScript.
1nVitr0
Metadata
Metadata
Assignees
Labels
No labels