Skip to content

Commit

Permalink
feat: make compatible with 223.*
Browse files Browse the repository at this point in the history
resolves #183
  • Loading branch information
cvette committed Dec 4, 2022
1 parent b71d337 commit 25aedb6
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 13 deletions.
11 changes: 6 additions & 5 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import org.jetbrains.changelog.Changelog
import org.jetbrains.changelog.markdownToHTML
import org.jetbrains.grammarkit.tasks.GenerateLexerTask
import org.jetbrains.grammarkit.tasks.GenerateParserTask
Expand All @@ -10,9 +11,9 @@ plugins {
id("java")
id("java-library")
// gradle-intellij-plugin - read more: https://github.com/JetBrains/gradle-intellij-plugin
id("org.jetbrains.intellij") version "1.9.0"
id("org.jetbrains.intellij") version "1.10.0"
// gradle-changelog-plugin - read more: https://github.com/JetBrains/gradle-changelog-plugin
id("org.jetbrains.changelog") version "1.3.1"
id("org.jetbrains.changelog") version "2.0.0"
// gradle-grammar-kit-plugin - read more: https://github.com/JetBrains/gradle-grammar-kit-plugin
id("org.jetbrains.grammarkit") version "2021.2.2"
// Gradle Qodana Plugin
Expand All @@ -35,7 +36,7 @@ idea {
}

dependencies {
implementation("io.sentry:sentry:6.8.0")
implementation("io.sentry:sentry:6.9.0")
}

sourceSets {
Expand Down Expand Up @@ -148,9 +149,9 @@ tasks {

// Get the latest available change notes from the changelog file
changeNotes.set(provider {
changelog.run {
changelog.renderItem(changelog.run {
getOrNull(properties("pluginVersion")) ?: getLatest()
}.toHTML()
}, Changelog.OutputType.HTML)
})
}

Expand Down
17 changes: 10 additions & 7 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,26 @@ pluginName = neos-intellij-plugin
pluginVersion = 1.14.0

# See https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html
pluginSinceBuild = 203.3645.34
pluginUntilBuild = 222.*
pluginSinceBuild = 223
pluginUntilBuild = 223.*

platformType = IU
platformVersion = 2021.2.4
platformVersion = 2022.3
platformDownloadSources = true

# Plugin Dependencies -> https://plugins.jetbrains.com/docs/intellij/plugin-dependencies.html
# Example: platformPlugins = com.intellij.java, com.jetbrains.php:203.4449.22
platformPlugins = com.jetbrains.hackathon.indices.viewer:1.19, PsiViewer:212-SNAPSHOT,IntelliLang,yaml,CSS,java,java-i18n,properties,com.jetbrains.php:212.5712.51
grammarKitVersion = 2021.1.2
# Example: platformPlugins = com.intellij.java, com.jetbrains.php:203.4449.22IntelliLang
platformPlugins = org.intellij.intelliLang,com.intellij.css,com.jetbrains.hackathon.indices.viewer:1.23,PsiViewer:223-SNAPSHOT,yaml,java,java-i18n,properties,com.jetbrains.php:223.7571.182
grammarKitVersion = 2022.3
jFlexVersion = 1.7.0-1

javaVersion = 11
javaVersion = 17

gradleVersion = 7.4

# Opt-out flag for bundling Kotlin standard library.
# See https://plugins.jetbrains.com/docs/intellij/kotlin.html#kotlin-standard-library for details.
kotlin.stdlib.default.dependency = false

# Enable Gradle Configuration Cache -> https://docs.gradle.org/current/userguide/configuration_cache.html
org.gradle.unsafe.configuration-cache = true
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ protected void addCompletions(@NotNull CompletionParameters parameters, @NotNull
}

String completionText = eelHelper + "." + method.getName() + "()";
result.addElement(LookupElementBuilder.create(completionText).withIcon(PhpIcons.METHOD_ICON));
result.addElement(LookupElementBuilder.create(completionText).withIcon(PhpIcons.METHOD));
}
}
}
Expand Down

0 comments on commit 25aedb6

Please sign in to comment.