Skip to content
A WIP language server for Svelte
Branch: master
Clone or download
Latest commit 723310c Jul 11, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin export startServer and fix ts errors May 1, 2018
src update deps Jul 11, 2019
test fix emmet completions inconsistently showing May 5, 2019
.gitignore initial commit Apr 13, 2018
.npmignore add npmignore May 1, 2018
.prettierrc initial commit Apr 13, 2018
LICENSE Create LICENSE May 1, 2018
README.md add suggestion diagnostics to ts/js May 5, 2019
package.json v0.10.2 Jul 11, 2019
tsconfig.json add document formatting and support preprocessors on style and script Apr 30, 2018
wallaby.js
yarn.lock update deps Jul 11, 2019

README.md

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
  • HTML (via vscode-html-languageservice)
    • Hover info
    • Autocompletions
    • Emmet
    • Symbols in Outline panel
  • 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
    • Symbols in Outline panel
  • TypeScript / JavaScript (via TypeScript)
    • Diagnostics messages for syntax errors, semantic errors, and suggestions
    • Hover info
    • Formatting (via prettier)
    • Symbols in Outline panel
    • Autocompletions
    • Go to definition
    • Code Actions

How can I use it?

Install a plugin for your editor:

You can’t perform that action at this time.