File tree Expand file tree Collapse file tree
third_party/src/main/java/com/jetbrains/lang/dart/sdk Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -351,16 +351,7 @@ public void apply() {
351351 DartSdkUtil .updateKnownSdkPaths (myProject , sdkHomePath );
352352
353353 DartSdkLibUtil .ensureDartSdkConfigured (myProject , sdkHomePath );
354-
355- PsiManager psiManager = PsiManager .getInstance (myProject );
356- DaemonCodeAnalyzer daemonCodeAnalyzer = DaemonCodeAnalyzer .getInstance (myProject );
357- for (VirtualFile file : FileEditorManager .getInstance (myProject ).getOpenFiles ()) {
358- PsiFile psiFile = psiManager .findFile (file );
359- if (psiFile != null ) {
360- // Eventually update this with real reason
361- daemonCodeAnalyzer .restart (psiFile , "Restarting after configuration change" );
362- }
363- }
354+ DaemonCodeAnalyzer .getInstance (myProject ).restart ();
364355
365356 final Module [] modules = myShowModulesPanel
366357 ? myModulesCheckboxTreeTable .getCheckedNodes (Module .class )
You can’t perform that action at this time.
0 commit comments