eclipse-theia / theia

Eclipse Theia is a cloud & desktop IDE framework implemented in TypeScript.
http://theia-ide.org
Eclipse Public License 2.0
19.99k stars 2.5k forks source link

Cannot generate custom blocks grammar with Vetur #8915

Open stgogm opened 3 years ago

stgogm commented 3 years ago

Bug Description:

I'm trying to generate the custom grammar for blocks but the plugin requires to reload VSCode to apply the change. I tried to refresh and restart the workspace without luck.

Is there a workaround for this?

Steps to Reproduce:

  1. Open a repo.
  2. Install Vetur.
  3. Configure custom blocks (https://vuejs.github.io/vetur/guide/highlighting.html#custom-block).
  4. Run the "Vetur: Generate grammar from vetur.grammar.customBlocks" command.
  5. There's no way to "Reload Window" so the custom syntax can be applied.

not-yaml This should be highlighted as YAML.

Additional Information

vince-fugnitto commented 3 years ago

@stgogm thank you for reporting the issue, in the future please respect the issue template and provide additional information so the community can better help you.

Can you provide:

stgogm commented 3 years ago

Updated the issue with the template.

Sorry about that @vince-fugnitto. I was redirected from the docs to open an issue and it doesn't asks for a template.