natemoo-re / stencil-languageserver

Adds support for context-aware completions, diagnostics, and more for Stencil projects in editors that support the Language Server Protocol (LSP)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

Features

  • 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!)

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

About

Adds support for context-aware completions, diagnostics, and more for Stencil projects in editors that support the Language Server Protocol (LSP)


Languages

Language:TypeScript 97.3%Language:JavaScript 2.7%