Skip to content

An example of a non-IDE language server cllient in typescript

License

Notifications You must be signed in to change notification settings

baz-scm/LSC-ts-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Example Language Server Client

This repository is an example LS client, which communicates with an LS server using websocket and the LS Protocol (LSP).

The client loads all the files, then iterates over them and collects all the definitions and references that they contain.

Running locally

To get it to run locally, you should:

  1. Install python LSP via:

    pip3 install websockets python-lsp-server
    pylsp --w &
  2. Update the path in index.ts (line 125, rootUri).

  3. Debug the run!

About

An example of a non-IDE language server cllient in typescript

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published