Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Vue Syntax (Restricted Mode)New to Visual Studio Code? Get it now.
Vue Syntax (Restricted Mode)

Vue Syntax (Restricted Mode)

Alec Gibson

|
1 install
| (0) | Free
Syntax highlighting for .vue files in Restricted Mode, using the grammar from Vue (Official).
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Vue Syntax (Restricted Mode)

Syntax highlighting for .vue files in VS Code's Restricted Mode.

Vue (Official) is disabled in Restricted Mode, which every newly opened folder starts in since VS Code 1.126, so .vue files show up as plain text until you trust the folder. This extension is Vue (Official)'s grammars and nothing else. It contains no code, so VS Code enables it in Restricted Mode.

Install it alongside Vue (Official), not instead of it. In a trusted folder both are enabled, and since they carry the same grammar, highlighting doesn't change.

Disable it wherever you disable Vue (Official). It also carries Vue (Official)'s grammar injections and language configuration for other languages, such as HTML, Pug and Markdown.

How it's built

Every day, a workflow checks vuejs/language-tools for a new stable release. When there is one, it takes that release's grammars and language configuration, along with the package.json entries that register them, and publishes them under the same version number as Vue (Official).

When to uninstall it

vuejs/language-tools#6347 would let Vue (Official) keep its grammars in Restricted Mode itself. If that lands, you won't need this.

License

The grammars and language configuration come from vuejs/language-tools, © 2021-present Johnson Chu, under the MIT License. The rest of this repository is MIT too.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft