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.
- Context-aware completions
- Decorators
- 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!)
- Visual Studio Code: Stencil Tools (coming soon)
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