Monaco Svelte Language Server

This was a POC - it is unmaintained. if you want to support latest Svelte Tools in Monaco, you might want to look at https://github.com/asafamr/svelte-vscode-web (Svelte language tools for VSCode Web, communicating using LSP protocol)

This is a port of the VSCode language tools of Svelte frontend framework to the browser based Monaco editor (no server - everything runs on the client side)

Demo here

Features currently implemented:

  • Auto-completion
  • Auto-formatting
  • Diagnostics - typescript errors, etc...
  • Basic Monarch based syntax highlighting (typescript, html, no moustache currently)
  • Hover, signature, semantic tokens, doc symbols providers

Notable packages used by this code:

Top categories

svelte logo

Need a Svelte website built?

Hire a professional Svelte developer today.
Loading Svelte Themes