Skip to content

rwjblue/lsp-playground

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lsp-playground

Repo for playing around with writing a custom LSP in Rust. The overall goal is to make the from "zero" to something useful pretty easy.

I'd like to:

  • better understand the LSP protocol
  • implement diagnostics for custom functionality
  • implement a basic code action

References

Learnings

You must opt-in to server capabilities that you need in order to do anything useful in the language server. By default, it seems that the only hooks that are called without explicitly opting in to are initialize (which is where you should actually do the "opting in") and shutdown.

About

Playground for LSP shenanigans

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages