Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jamesbirtles/svelte-language-server
A WIP language server for Svelte
https://github.com/jamesbirtles/svelte-language-server
language-server svelte
Last synced: about 1 month ago
JSON representation
A WIP language server for Svelte
- Host: GitHub
- URL: https://github.com/jamesbirtles/svelte-language-server
- Owner: jamesbirtles
- License: mit
- Archived: true
- Created: 2018-04-14T13:10:29.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-05-06T19:46:56.000Z (over 4 years ago)
- Last Synced: 2024-09-26T02:06:32.226Z (about 2 months ago)
- Topics: language-server, svelte
- Language: TypeScript
- Homepage:
- Size: 165 KB
- Stars: 97
- Watchers: 9
- Forks: 13
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Work is being continued in the official [svelte language-tools repo](https://github.com/sveltejs/language-tools)
# Svelte Language Server
A language server (implementing the [language server protocol](https://microsoft.github.io/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
- Svelte specific formatting (via [prettier-plugin-svelte](https://github.com/UnwrittenFun/prettier-plugin-svelte))
- HTML (via [vscode-html-languageservice](https://github.com/Microsoft/vscode-html-languageservice))
- Hover info
- Autocompletions
- [Emmet](https://emmet.io/)
- Symbols in Outline panel
- CSS / SCSS / LESS (via [vscode-css-languageservice](https://github.com/Microsoft/vscode-css-languageservice))
- Diagnostic messages for syntax and lint errors
- Hover info
- Autocompletions
- Formatting (via [prettier](https://github.com/prettier/prettier))
- [Emmet](https://emmet.io/)
- 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](https://github.com/prettier/prettier))
- Symbols in Outline panel
- Autocompletions
- Go to definition
- Code Actions## How can I use it?
Install a plugin for your editor:
- [VS Code](https://github.com/UnwrittenFun/svelte-vscode)
- [Atom](https://github.com/UnwrittenFun/svelte-atom)
- [(Neo)vim](https://github.com/coc-extensions/coc-svelte)