@stencil-tools/languageserver
TypeScript icon, indicating that this package has built-in type declarations

3.0.0-alpha.1 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i @stencil-tools/languageserver

Weekly Downloads

1

Version

3.0.0-alpha.1

License

MIT

Unpacked Size

130 kB

Total Files

68

Last publish

Collaborators

  • natemoo-re