SublimeFileBrowser icon indicating copy to clipboard operation
SublimeFileBrowser copied to clipboard

Adding folder and filetype icons using new phantom API

Open aziz opened this issue 9 years ago • 2 comments

Using the inline layout of the phantom we can render a small html file which renders just an image as the file/folder icon.

aziz avatar Aug 01 '16 00:08 aziz

We need to find expanded directories when refreshing/renaming, currently it is just view.find

Can we access phantoms of a view and content of a phantom? Does not seem so, there is undocumented view.query_phantom(pid), but it returns region. We could keep expanded paths in settings just like index, mmm… that would change some logic, plus I’m not ready to drop ST2 support — so all in all it is pretty complex feature, on the other side, having proper icons for different files is very tempting.

vovkkk avatar Aug 01 '16 14:08 vovkkk

I totally agree. it's just an idea and prospect for future. I still want to use/see phantoms for smaller features on smaller plugins.

aziz avatar Aug 01 '16 17:08 aziz