Platform: Linux
Grammar custom block gives syntax highlighting but no completion nor linting.
Create a custom block like
test: "ts"
Generate Grammar for customBlocks and reload.
Syntax highlighting is on, but neither completion nor linting works.
It is designed.
Why?
It can significantly increase maintenance costs.
Also, the current structure does not allow this.
I elaborate:
There are some frameworks (namely: Quasar) which let you add a custom <test/> block inside a vue component. This is greatly helpful to have fully contained components with unit tests. This means one can add a <test lang="jest"> block and put all testing code there. But with no autocomplete it's a PITA to write tests :-)
I can understand your thoughts.
But it may be necessary to design a complete framework.
Currently there is not enough time to do.
Welcome some PR.
I understand that tooling is hard but this is a bit disappointing, it creates a sub-par experience for custom blocks :(
Could you at least disable the default completions that are irrelevant in a custom block context? Look at this screenshot:

Also, a related, desirable improvement:
It's OK to declare the custom blocks in settings, but having to run obscure commands and restart VS Code is less than ideal. I would like to put those blocks in my _Workspace_ settings and have them apply correctly whenever I -- or one of my teammates -- open the project.
(If you wonder why everything's red in my screenshot, that's probably a eslint-plugin-vue bug, I reported vuejs/eslint-plugin-vue#1428)
@jods4 the cause of the second one is unrelated to the original issue. Maybe you can read this issue https://github.com/microsoft/vscode/issues/68647 for more info
@jods4 first one
I will try to fix it.
https://github.com/vuejs/vetur/issues/2111
@jasonlyu123 I upvoted that VS Code issue 馃憤. It's old, not sure it's gonna make a difference.
I understand that tooling is hard but this is a bit disappointing, it creates a sub-par experience for custom blocks :(
Could you at least disable the default completions that are irrelevant in a custom block context? Look at this screenshot:
I fix it and it will release in 0.32.1.