Skip to content

Commit

Permalink
fix D2BlockCompletionContributor
Browse files Browse the repository at this point in the history
  • Loading branch information
develar committed Dec 26, 2023
1 parent ec69195 commit 1b23c77
Show file tree
Hide file tree
Showing 18 changed files with 814 additions and 331 deletions.
26 changes: 0 additions & 26 deletions .run/Run Plugin Verification.run.xml

This file was deleted.

12 changes: 11 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,20 @@ repositories {
maven(url = "https://cache-redirector.jetbrains.com/intellij-repository/snapshots")
}

dependencies {
testImplementation("org.assertj:assertj-core:3.11.1")
testImplementation("org.junit.jupiter:junit-jupiter:5.10.1")
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}

kotlin {
jvmToolchain {
languageVersion.set(JavaLanguageVersion.of(properties("jvm.target")))
}

sourceSets {
main {
kotlin.srcDirs("src/main/gen", "src/main/java")
kotlin.srcDirs("src/main/gen")
}
}
}
Expand Down Expand Up @@ -83,6 +89,10 @@ tasks {
gradleVersion = properties("gradleVersion")
}

test {
useJUnitPlatform()
}

val generateParser = withType<GenerateParserTask> {
sourceFile.set(File("./src/main/kotlin/org/jetbrains/plugins/d2/lang/d2.bnf"))
targetRoot.set("./src/main/gen")
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 8 additions & 8 deletions src/main/gen/org/jetbrains/plugins/d2/lang/D2Parser.java

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 1b23c77

Please sign in to comment.