mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-203524 Link in console to external file on the file system is not opened with system default app
This commit is contained in:
@@ -51,7 +51,9 @@ abstract class FileHyperlinkInfoBase(private val myProject: Project,
|
||||
}
|
||||
}
|
||||
else {
|
||||
FileEditorManager.getInstance(project).navigateToTextEditor(it, true)
|
||||
if (null == FileEditorManager.getInstance(project).openTextEditor(it, true)) {
|
||||
BrowserHyperlinkInfo(it.file.url).navigate(project)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user