palantir/language-servers


[Deprecated and No longer supported] A collection of implementations for the Microsoft Language Server Protocol

Download


Step 1. Add the JitPack repository to your build file

Add it in your root settings.gradle at the end of repositories:

	dependencyResolutionManagement {
		repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
		repositories {
			mavenCentral()
			maven { url 'https://jitpack.io' }
		}
	}

Add it in your settings.gradle.kts at the end of repositories:

	dependencyResolutionManagement {
		repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
		repositories {
			mavenCentral()
			maven { url = uri("https://jitpack.io") }
		}
	}

Add to pom.xml

	<repositories>
		<repository>
		    <id>jitpack.io</id>
		    <url>https://jitpack.io</url>
		</repository>
	</repositories>

Add it in your build.sbt at the end of resolvers:

 
    resolvers += "jitpack" at "https://jitpack.io"
        
    

Add it in your project.clj at the end of repositories:

 
    :repositories [["jitpack" "https://jitpack.io"]]
        
    

Step 2. Add the dependency

	dependencies {
		implementation 'com.github.palantir:language-servers:0.5.5'
	}
	dependencies {
		implementation("com.github.palantir:language-servers:0.5.5")
	}
	<dependency>
	    <groupId>com.github.palantir</groupId>
	    <artifactId>language-servers</artifactId>
	    <version>0.5.5</version>
	</dependency>

                            
    libraryDependencies += "com.github.palantir" % "language-servers" % "0.5.5"
        
        

                            
    :dependencies [[com.github.palantir/language-servers "0.5.5"]]
        
        

Readme


language-servers

CircleCI Download

A collection of implementations for the Microsoft Language Server Protocol

Included projects

groovy-language-server

A groovy implementation of the protocol. Uses the Java API definition in typefox/ls-api

language-server-commons

A framework that makes writing additional light-weight language-servers easier.

Dev Setup

Getting started

  • git clone <repo link>
  • cd language-servers
  • ./gradlew eclipse This generates eclipse projects
  • Import projects into eclipse

Building and Testing

  • ./gradlew build Compiles, runs tests, checkstyle and findbugs
  • ./gradlew test Runs all unit tests
  • ./gradlew publishToMavenLocal Creates jars in your Maven local repository

Debug

  • ./gradlew clean cleanEclipse Deletes gradle generated files