Skip to content
Svelte language support for VS Code
Branch: master
Clone or download
Latest commit bea7d35 Apr 22, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.vscode use published svelte-language-server May 1, 2018
icons
src update svelte-language-server to 0.6.0 Aug 20, 2018
syntaxes add support for lang attribute Aug 20, 2018
.gitignore use published svelte-language-server May 1, 2018
.prettierrc initial commit May 1, 2018
.vscodeignore don't ignore all .ts files when packaging May 25, 2018
CHANGELOG.md
LICENSE
README.md update svelte-language-server to 0.6.0 Aug 20, 2018
language-configuration.json Fix comments shortcut in non js blocks (#5) May 2, 2018
package-lock.json 0.7.1 Apr 22, 2019
package.json 0.7.1 Apr 22, 2019
tsconfig.json initial commit May 1, 2018

README.md

Svelte for VS Code

Provides syntax highlighting and rich intellisense for Svelte components in VS Code, utilising the svelte language server.

Features

  • Svelte
    • Diagnostic messages for warnings and errors
    • Support for svelte preprocessors that provide source maps
  • HTML
    • Hover info
    • Autocompletions
    • Emmet
    • Formatting
    • Symbols in Outline panel
  • CSS / SCSS / LESS
    • 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
    • Diagnostics messages for syntax and semantic errors
    • Hover info
    • Formatting (via prettier)
    • Symbols in Outline panel

More features coming soon.

Settings

svelte.language-server.runtime

Path to the node executable you would like to use to run the language server. This is useful when you depend on native modules such as node-sass as without this they will run in the context of vscode, meaning v8 version mismatch is likely.

Other

Check out the settings editor in vs code to configure / disable any feature provided.

You can’t perform that action at this time.