VirtualFile from full path on disk
I'm working on a plugin where one of the features is to open a referenced file from within another file. I am able to get the filename to open from the current editor, and the path to the parent directory using:
Now, I need to open the file referenced by the combination of the parent directory and the filename (i.e. new File(path, fileName)).
Any pointers for this?
Thanks!
Todd Breiholz
Please sign in to leave a comment.
Hello Todd,
TB> Now, I need to open the file referenced by the combination of the
TB> parent directory and the filename (i.e. new File(path, fileName)).
Posted here
http://www.intellij.org/twiki/bin/view/Main/PluginDevelopmentHowTo00004
Thanks!
--
Alexey Efimov, Java Developer
Tops BI
http://www.topsbi.ru
Awesome!
Thanks, Alexey.
Todd Breiholz
seems like the link is broken
This link is broken :(