File tree 1 file changed +3
-3
lines changed
src/org/ice1000/julia/lang/psi
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ import com.intellij.openapi.application.ReadAction
12
12
import com.intellij.openapi.editor.Editor
13
13
import com.intellij.openapi.fileEditor.FileDocumentManager
14
14
import com.intellij.openapi.vfs.LocalFileSystem
15
- import com.intellij.openapi.vfs.ex.VirtualFileManagerEx
15
+ import com.intellij.openapi.vfs.VirtualFileManager
16
16
import com.intellij.psi.PsiDirectory
17
17
import com.intellij.psi.PsiElement
18
18
import com.intellij.psi.PsiManager
@@ -45,7 +45,7 @@ class JuliaGotoDeclarationHandler : GotoDeclarationHandler {
45
45
46
46
fun arrayOfPsiElements (dir : PsiDirectory , text : String ): Array <PsiElement >? {
47
47
val url = dir.virtualFile.url + File .separator + text
48
- val vf = VirtualFileManagerEx .getInstance().findFileByUrl(url) ? : return null
48
+ val vf = VirtualFileManager .getInstance().findFileByUrl(url) ? : return null
49
49
val f = PsiManager .getInstance(project).findFile(vf) ? : return null
50
50
return arrayOf(f)
51
51
}
@@ -294,4 +294,4 @@ fun Int.toColor() = Color(
294
294
this shr 16 and 0xFF ,
295
295
this shr 8 and 0xFF ,
296
296
this and 0xFF
297
- )
297
+ )
You can’t perform that action at this time.
0 commit comments