Skip to content
/ MockLS Public

A mock language server using the LSP protocol, for testing LSP clients.

Notifications You must be signed in to change notification settings

RustDT/MockLS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MockLS

A mock language server using the LSP protocol, for the purpose of helping testing LSP clients. MockLS is written is Rust.

WORK IN PROGRESS!

Only initialization and shutdown is supported, no other LSP operations yet.

Usage:

Needs nightly Rust toolchain to compile/run.

MockLS is compiled into an executable that communicates with LSP client via stdin/stdout or via TCP sockets. Command line:

  • mock_ls: communicate via stdin/stdout.
  • mock_ls <port number>: listen on localhost, on given port number .

Note: if you want to compile and run in one invocation, you can do cargo run <arguments>, with Cargo invoked on the root directory.

About

A mock language server using the LSP protocol, for testing LSP clients.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages