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 make source.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 the blocksort 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.
I would love to use this extension for my TypeScript and Vue codebase. However, enabling the
source.fixAll.blocksortis not working or is very unstable. Some observations:"source.fixAll": "explicit"to makesource.fixAll.blocksortrun successfully on save:Sort all annotated Blockson save:The manual
blocksortaction mostly works even if the on save code action doesn't work.I often have to save twice for the
blocksortto sort on save; the first time I save, the formatter and other code actions seem to run, but theblocksortcode action seems to require an additional save.The on save code action is more stable with TypeScript than Vue, but the first issue (
source.fixAllrequired) also applies to TypeScript.