File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed
src/org/jetbrains/kotlin/idea
tests/org/jetbrains/kotlin/idea/configuration Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 25
25
import com .intellij .openapi .editor .event .DocumentAdapter ;
26
26
import com .intellij .openapi .editor .event .DocumentEvent ;
27
27
import com .intellij .openapi .fileEditor .FileDocumentManager ;
28
- import com .intellij .openapi .roots .ui .configuration .projectRoot .ProjectSdksModel ;
29
28
import com .intellij .openapi .updateSettings .impl .UpdateChecker ;
30
29
import com .intellij .openapi .vfs .VirtualFile ;
31
30
import com .intellij .psi .search .searches .IndexPatternSearch ;
32
31
import org .jetbrains .annotations .NotNull ;
33
- import org .jetbrains .kotlin .idea .framework .KotlinSdkType ;
34
32
import org .jetbrains .kotlin .idea .search .ideaExtensions .KotlinTodoSearcher ;
35
33
import org .jetbrains .kotlin .utils .PathUtil ;
36
34
@@ -76,7 +74,8 @@ public void documentChanged(DocumentEvent e) {
76
74
77
75
ServiceManager .getService (IndexPatternSearch .class ).registerExecutor (new KotlinTodoSearcher ());
78
76
79
- KotlinSdkType .Companion .setUpIfNeeded ();
77
+ //todo[Sedunov]: wait for fix in platform to avoid misunderstood from Java newbies (also ConfigureKotlinInTempDirTest)
78
+ //KotlinSdkType.Companion.setUpIfNeeded();
80
79
}
81
80
82
81
private static void registerPathVariable () {
Original file line number Diff line number Diff line change @@ -128,4 +128,9 @@ open class ConfigureKotlinInTempDirTest : AbstractConfigureKotlinTest() {
128
128
val settings = myProject.getLanguageVersionSettings()
129
129
Assert .assertEquals(ApiVersion .KOTLIN_1_1 , settings.apiVersion)
130
130
}
131
+
132
+ // todo[Sedunov]: wait for fix in platform to avoid misunderstood from Java newbies (also PluginStartupComponent)
133
+ /* fun testKotlinSdkAdded() {
134
+ Assert.assertTrue(ProjectJdkTable.getInstance().allJdks.any { it.sdkType is KotlinSdkType })
135
+ }*/
131
136
}
You can’t perform that action at this time.
0 commit comments