How to get VirtualFile from a VirtualFile URL in IntelliJ -
i working on plugin in on intellij.
now have virtualfile file
, trying write file.geturl()
local file system can file
when restart plugin. seems can not virtualfile
url
?
to find file url, use virtualfilemanager.findfilebyurl()
(source). or keep things simple, store path , use localfilesystem.findfilebypath()
suggested @vikingsteve.
Comments
Post a Comment