Is it possible to change icon of file in Project view? Permanently deleted user Created April 18, 2006 09:33 Hi,subj.For example, i have a virtual file, with FileType A. How to change file's type icon to my own?Thanks!
I don't think you can do that. What you can do is create a new file type and associate an icon to it.
If you need that functionality you should probably create an issue in JIRA.
The target - is change icon of existing file type and only for several VirtualFiles, not for all.
I know, that i can get access to ProjectView via OpenAPI, and somewhere the way to change icon. For example, Read Only markers do that.
if you're using Demetra, you can use IconProvider to override any icon
Thanks a lot!
For Virtual File you can use com.intellij.ide.FileIconProvider as well