redhat-developer / rsp-server-community

A repository for additions to rsp-server and the associated vscode extension to add support for other runtimes
31 stars 18 forks source link

Runtime Server Protocol - Community Extension

RSP+Community+CI License Visual Studio Marketplace Gitter

Summary

This repository is a home for an RSP server, and the associated VSCode Extension, which can start, stop, and otherwise control Community runtimes and servers like Apache Felix, Karaf, Tomcat, Glassfish, Jetty and Websphere Liberty.

The protocol is based on LSP4J. In short, the base protocol is the same as LSP, but the specification of the messages is different.

The base protocol of LSP can be found here. The RSP Extensions to the base protocol can be found here

Commands and features

 screencast

This extension depends on VSCode RSP UI Extension which is going to be installed automatically along with VSCode Community Server Connector Extension. RSP UI in conjuction with Community Server Connector Extension supports a number of commands for interacting with supported server adapters; these are accessible via the command menu (Cmd+Shift+P on macOS or Ctrl+Shift+P on Windows and Linux) and may be bound to keys in the normal way.

Building this server and extension

Run the following code:

# First, build the server
git clone https://github.com/redhat-developer/rsp-server-community
cd rsp-server-community/rsp
mvn clean install
cd ../

# Now build the extension
cd vscode/

#Build this extension's code
npm install
npm run build
npm run test
vsce package