Skip to content
This repository was archived by the owner on May 7, 2020. It is now read-only.

jamesbirtles/svelte-language-server

Repository files navigation

Svelte Language Server

A language server (implementing the language server protocol) for Svelte.

What is a language server?

From https://microsoft.github.io/language-server-protocol/overview

The idea behind a Language Server is to provide the language-specific smarts inside a server that can communicate with development tooling over a protocol that enables inter-process communication.

In simpler terms, this allows editor and addon devs to add support for svelte specific 'smarts' (e.g. diagnostics, autocomplete, etc) to any editor without reinventing the wheel.

Features

Svelte language server is under development and the list of features will surely grow over time.

Currently Supported:

  • Svelte
    • Diagnostic messages for warnings and errors
  • HTML (via vscode-html-languageservice)
    • Hover info
    • Autocompletions
    • Emmet
    • Formatting
  • CSS / SCSS / LESS (via vscode-css-languageservice)
    • Diagnostic messages for syntax and lint errors
    • Hover info
    • Autocompletions
    • Formatting (via prettier)
    • Emmet
    • Color highlighting and color picker
  • TypeScript / JavaScript (via TypeScript)
    • Diagnostics messages for syntax and semantic errors
    • Hover info
    • Formatting (via prettier)

How can I use it?

Install a plugin for your editor:

About

A WIP language server for Svelte

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 10