Skip to content

Commit

Permalink
refactor: Use LSP4IJ IJ plugin
Browse files Browse the repository at this point in the history
Signed-off-by: azerr <[email protected]>
  • Loading branch information
angelozerr committed Dec 4, 2023
1 parent 7caf20a commit 6b867a3
Show file tree
Hide file tree
Showing 186 changed files with 106 additions and 13,901 deletions.
16 changes: 11 additions & 5 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -86,28 +86,34 @@ dependencies {
implementation("io.quarkus:quarkus-arc:$quarkusVersion") {
isTransitive = false
}
implementation("org.eclipse.lsp4mp:org.eclipse.lsp4mp.ls:$lsp4mpVersion")
implementation("org.eclipse.lsp4j:org.eclipse.lsp4j:0.15.0")
// Required by lsp4j as the version from IJ is incompatible
implementation("org.eclipse.lsp4mp:org.eclipse.lsp4mp.ls:$lsp4mpVersion") {
exclude("org.eclipse.lsp4j")
}
implementation("com.google.code.gson:gson:2.8.9")
implementation("com.vladsch.flexmark:flexmark:0.62.2")

// Exclude all lsp4j dependencies to use LSP4J from LSP4IJ
lsp("org.eclipse.lsp4mp:org.eclipse.lsp4mp.ls:$lsp4mpVersion:uber") {
isTransitive = false
exclude("org.eclipse.lsp4j")
}
lsp("com.redhat.microprofile:com.redhat.quarkus.ls:$quarkusLsVersion") {
isTransitive = false
exclude("org.eclipse.lsp4j")
}
implementation("com.redhat.microprofile:com.redhat.qute.ls:$quteLsVersion") {
exclude("org.eclipse.lsp4j")
}
implementation("com.redhat.microprofile:com.redhat.qute.ls:$quteLsVersion")
lsp("com.redhat.microprofile:com.redhat.qute.ls:$quteLsVersion:uber") {
isTransitive = false
exclude("org.eclipse.lsp4j")
}
implementation(files(layout.buildDirectory.dir("server")) {
builtBy("copyDeps")
})

testImplementation("com.redhat.devtools.intellij:intellij-common-ui-test-library:0.2.0")
testImplementation("org.assertj:assertj-core:3.19.0")

}

// Set the JVM language level used to build the project. Use Java 11 for 2020.3+, and Java 17 for 2022.2+.
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ platformType=IC
platformVersion=2022.2.3
# Plugin Dependencies -> https://plugins.jetbrains.com/docs/intellij/plugin-dependencies.html
# Example: platformPlugins = com.intellij.java, com.jetbrains.php:203.4449.22
platformPlugins=com.intellij.java, maven, gradle-java, properties, yaml, com.redhat.devtools.intellij.telemetry:1.0.0.44
platformPlugins=com.intellij.java, maven, gradle-java, properties, yaml, com.redhat.devtools.intellij.telemetry:1.0.0.44
# Gradle Releases -> https://github.com/gradle/gradle/releases
gradleVersion=8.4
channel=nightly
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 6b867a3

Please sign in to comment.