intellij-extra-icons-plugin icon indicating copy to clipboard operation
intellij-extra-icons-plugin copied to clipboard

Display custom file icons in Remote Host panel

Open bazzik opened this issue 2 years ago • 3 comments

This plugin shows custom file icons in Project View panel as well as Favorites.

What about Remote Host (when browsing the deployment target over FTP/SFTP/FTPS)? Can this be done there as well?


Here are a few screenshots. Files in question: .editorconfig and readme.md

Local / Project View panel: image

Favorites panel: image

Remote Host: image

bazzik avatar Aug 27 '21 10:08 bazzik

Yeah, good idea. JetBrains support helped me to show icons in the VCS view (but this is not perfect..), but I don't know if we can do something for he Remote Host view. Actually, It's all about icons "providers": FileIconProvider handles Project and Favorites view, FilePathIconProvider handles VCS view, and I guess there is a provider for the Remote Host view :-D
I will investigate.

jonathanlermitage avatar Aug 28 '21 00:08 jonathanlermitage

Hey @jonathanlermitage, have you looked into this? It looks like this might not be possible: https://github.com/mallowigi/a-file-icon-idea/issues/146#issuecomment-766297286.

Serial-ATA avatar Jul 24 '22 22:07 Serial-ATA

Yeah, we could customize icons in the Remote Host panel, but we would have to do this in a static XML file (this is what UI Themes do, and probably some plugins like github copilot). I think there is currently no way to do this programmatically.
I am looking at the IJ source code in order to provide a patch.

jonathanlermitage avatar Jul 26 '22 14:07 jonathanlermitage

It's too complicated, and I lack of free time. I give up 😥 Maybe JetBrains will make it more easy with the upcoming new UI, but I'm not confident.

jonathanlermitage avatar Oct 23 '22 04:10 jonathanlermitage