File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
src/main/kotlin/com/emberjs/glint Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ dependencies {
3535 // and https://www.jetbrains.com/intellij-repository/snapshots/
3636 // https://plugins.jetbrains.com/plugin/6884-handlebars-mustache/versions/stable
3737 intellijPlatform {
38- plugins(listOf (" com.dmarcotte.handlebars:242.21829.3 " ))
38+ plugins(listOf (" com.dmarcotte.handlebars:243.21565.122 " ))
3939 bundledPlugins(listOf (" JavaScript" , " com.intellij.css" , " org.jetbrains.plugins.yaml" ))
4040 pluginVerifier()
4141 zipSigner()
Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ import com.intellij.lang.javascript.integration.JSAnnotationError
2020import com.intellij.lang.javascript.integration.JSAnnotationError.*
2121import com.intellij.lang.javascript.psi.JSFile
2222import com.intellij.lang.javascript.psi.JSFunctionType
23+ import com.intellij.lang.javascript.service.JSLanguageService
2324import com.intellij.lang.javascript.service.JSLanguageServiceProvider
2425import com.intellij.lang.parameterInfo.CreateParameterInfoContext
2526import com.intellij.lang.typescript.compiler.TypeScriptService
@@ -60,8 +61,8 @@ class GlintLanguageServiceProvider(val project: Project) : JSLanguageServiceProv
6061
6162 override fun getService (file : VirtualFile ) = allServices.firstOrNull()
6263
63- override fun getAllServices () =
64- if (EmberUtils .isEnabledEmberProject(project)) listOf (GlintTypeScriptService .getInstance(project)) else emptyList()
64+ override val allServices : List < GlintTypeScriptService >
65+ get() = if (EmberUtils .isEnabledEmberProject(project)) listOf (GlintTypeScriptService .getInstance(project)) else emptyList()
6566}
6667
6768
You can’t perform that action at this time.
0 commit comments