3.0.0-alpha.1 • Published 5 years ago

@stencil-tools/languageserver v3.0.0-alpha.1

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

Stencil Language Server

The Stencil Language Server (SLS) is built upon the Language Server Protocol. It enables anyone to add support for Stencil projects in their favorite editor.

Installation

(This won't work yet!)

npm i stencil-languageserver

Features

  • Context-aware completions - Decorators (with Automatic Imports) - Component Lifecycle Methods - Component Methods (hostData, render) - @Watch(...props) - @Listen(...events)
  • Document Links
  • Diagnostics

To enable these features in your editor, you can install one of the extensions below (or build your own!)

Editor Plugins

Creating an Editor Plugin

LSP Extensions

This language server implements some LSP extensions, prefixed with an x.

  • Files extension Allows the server to request file contents without accessing the file system