Skip to content

wangjia184/monaco-svelte

 
 

Repository files navigation

Monaco Svelte Language Server

WIP

Netlify Status

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)

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

TODO:

  • Move processing to a worker
  • Make bundle smaller
  • Make other preprocessor easier to include in a custom build?
  • Add moustache syntax highlighting {#if}, {#each}...
  • A decent theme
  • open an issue and tell me

Notable packages used by this code:

About

Monaco editor Svetle language tools

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 83.2%
  • JavaScript 12.3%
  • HTML 4.5%