Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>ZubraNew to Visual Studio Code? Get it now.
Zubra

Zubra

Journey to Code

|
1 install
| (0) | Free
Language support for Zubra Web Components: syntax highlighting, diagnostics, completion, hover and go to definition
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Zubra for VS Code

Language support for Zubra: .zb files are HTML with a script and styles, compiled to standard web components.

  • Syntax highlighting for .zb: HTML, {…} as JavaScript, <script> and <script lang="ts"> as JavaScript and TypeScript, <style> and <style lang="scss"> as CSS and SCSS, and Zubra's directives and event attributes.
  • Diagnostics as you type: the compiler's own errors and warnings, with their suggestions ("did you mean count?").
  • Completion of directives, imported components, their props and events, and of props inside {…}.
  • Hover documentation for imported components: description, props with types and defaults, events and slots.
  • Go to definition for imported components.

Requirements

Diagnostics and completion use the Zubra compiler. The extension finds it in this order:

  1. The zubra.compiler setting, a path to the zubra command.
  2. @zubra/compiler (WebAssembly) installed in your workspace: npm i -D @zubra/compiler.
  3. zubra on your PATH.

Highlighting needs none of them.

Learn more

  • Documentation and the playground, which runs in the browser.
  • npm create zubra@latest starts a project.
  • Source and issues.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft