Skip to content

A bare-bones implementation of a language server in Node.js

License

Notifications You must be signed in to change notification settings

lxtk-org/proto-language-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Proto Language Server

A bare-bones implementation of a language server in Node.js. Ready to use as a template for your own experiments.

Functionality

This language server can work with arbitrary text files and implements the following capabilities of the Language Server Protocol (LSP) out-of-the-box:

  • Completion. Provides completion items Language, Server, Protocol irrespective of the current document position.

  • Diagnostics. Checks that the acronym LSP is spelled in the correct case and reports violations as warnings.

Installing

$ git clone https://github.com/lxtk-org/proto-language-server
$ cd proto-language-server/
$ npm install
$ npm run build
$ npm link

Launching

$ npx proto-language-server --stdio

Launching in Debug Mode

$ npx --node-arg=--nolazy --node-arg=--inspect=6009 proto-language-server --stdio

About

A bare-bones implementation of a language server in Node.js

Resources

License

Stars

Watchers

Forks