Skip to content

apupier/language-server-template-java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

language-server-template-java

template to get started writing a Language Server in Java.

It provides opinionated way to:

  • default to Standard I/O communication
  • have a WebScoket connection using --websocket option using Tyrus, the reference implementation.
  • bundle as a fat jar (using SpringBoot)
  • register opened files
  • use Full sync mode for easier start (impact performance on big files)

Where to start

How to test it

  • From Eclipse Desktop IDE, for Standard I/O connection:
    • Ensure LSP4E is installed
    • Start the launch configuration "Java Template Standard IO"
    • in Preferences -> Languages Servers, add an association for the interested filetype and the launch configuration
    • open the file
  • For WebSocket Connection:

About

template to get started wrtiting a Language Server in Java

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages