Custom Elements Language Server
UsageJust install the plugin to your preferred system, and it should plug into your project. FeaturesThe current featureset is as follows:
Disabling diagnosticsSometimes CELS might catch some diagnostics that might not be useful for your usecase. Adding a comment anywhere in your code with the given code, will disable diagnostics for said file. These diagnostics can be disbled with the following flags:
InstallingVS CodeFor VS Code, you are able to install the Custom Elements Language Server through the extension Marketplace. NeoVimNeoVim supports LSP actions through the built in LSP. You will just need to install the Language Server locally on your machine through npm or yarn, and then enable your connector for the language service. Install language serverInstall the server plugin from NPM
Set up your lsp clientWith a library like nvim-lspconfig the client setup should be as easy as
Other editorsIs your favorite editor missing? If the editor supports LSP actions, plugging it in should be easy. If you need assistance, submit an issue. The GoalThe aim of the Custom Elements Language Server / Language services is to create a centralized server for supporting LSP operations on Custom Elements. These operations include but are not limited to
Via installing a plugin to your favorite editor to support LSP actions, you are able to enable all of these Language Service functionalities. |