File tree Expand file tree Collapse file tree 4 files changed +9
-6
lines changed
src/main/java/dev/blachut/svelte/lang Expand file tree Collapse file tree 4 files changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ fun properties(key: String) = project.findProperty(key).toString()
8
8
plugins {
9
9
id(" java" )
10
10
id(" org.jetbrains.kotlin.jvm" ) version " 1.6.0"
11
- id(" org.jetbrains.intellij" ) version " 1.4 .0"
11
+ id(" org.jetbrains.intellij" ) version " 1.6 .0"
12
12
id(" org.jetbrains.changelog" ) version " 1.3.1"
13
13
id(" org.jetbrains.grammarkit" ) version " 2021.2.1"
14
14
}
@@ -20,7 +20,8 @@ version = properties("pluginVersion")
20
20
val sassPlugin = when {
21
21
properties(" platformVersion" ).startsWith(" 212" ) -> " org.jetbrains.plugins.sass:212.4746.57"
22
22
properties(" platformVersion" ).startsWith(" 213" ) -> " org.jetbrains.plugins.sass:213.5744.269"
23
- properties(" platformVersion" ).startsWith(" 221" ) -> " org.jetbrains.plugins.sass:221.5080.20"
23
+ properties(" platformVersion" ).startsWith(" 221" ) -> " org.jetbrains.plugins.sass:221.5591.52"
24
+ properties(" platformVersion" ).startsWith(" 222" ) -> " org.jetbrains.plugins.sass:222.2270.35"
24
25
else -> throw GradleException (" Missing Sass plugin version for platformVersion = ${properties(" platformVersion" )} " )
25
26
}
26
27
@@ -29,6 +30,8 @@ val psiViewerPlugin = when {
29
30
properties(" platformVersion" ).startsWith(" 212" ) -> " PsiViewer:212-SNAPSHOT"
30
31
properties(" platformVersion" ).startsWith(" 213" ) -> " PsiViewer:213-SNAPSHOT"
31
32
properties(" platformVersion" ).startsWith(" 221" ) -> " PsiViewer:221-SNAPSHOT"
33
+ properties(" platformVersion" ).startsWith(" 222" ) -> " PsiViewer:222-SNAPSHOT"
34
+
32
35
else -> null
33
36
}
34
37
Original file line number Diff line number Diff line change @@ -6,13 +6,13 @@ pluginVersion=0.22.0
6
6
# See https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html
7
7
# for insight into build numbers and IntelliJ Platform versions.
8
8
pluginSinceBuild =221.5080
9
- pluginUntilBuild =221 .*
9
+ pluginUntilBuild =222 .*
10
10
# Plugin Verifier integration -> https://github.com/JetBrains/gradle-intellij-plugin#plugin-verifier-dsl
11
11
# See https://jb.gg/intellij-platform-builds-list for available build versions.
12
12
pluginVerifierIdeVersions =
13
13
# https://github.com/JetBrains/gradle-intellij-plugin#intellij-platform-properties
14
14
platformType =IU
15
- platformVersion =221 -EAP-SNAPSHOT
15
+ platformVersion =222 -EAP-SNAPSHOT
16
16
# Opt-out flag for bundling Kotlin standard library.
17
17
# See https://plugins.jetbrains.com/docs/intellij/kotlin.html#kotlin-standard-library for details.
18
18
# suppress inspection "UnusedProperty"
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ class SvelteComponentCandidatesProvider(placeInfo: JSImportPlaceInfo) : JSImport
33
33
return true
34
34
}
35
35
36
- override fun getNames (keyFilter : Predicate <String >): Set <String > {
36
+ override fun getNames (keyFilter : Predicate <in String >): Set <String > {
37
37
return FilenameIndex .getAllFilesByExt(project, " svelte" ).stream()
38
38
.map(::getComponentName)
39
39
.filter(keyFilter)
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ class SvelteAttributeValueCompletionProvider : CompletionProvider<CompletionPara
53
53
result.add(" css" )
54
54
CSSLanguage .INSTANCE .dialects.forEach {
55
55
if (it.displayName != " JQuery-CSS" ) {
56
- result.add(it.displayName.toLowerCase (Locale .US ))
56
+ result.add(it.displayName.lowercase (Locale .US ))
57
57
}
58
58
}
59
59
return result.toSet()
You can’t perform that action at this time.
0 commit comments