Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding folder and filetype icons using new phantom API #125

Open
aziz opened this issue Aug 1, 2016 · 2 comments
Open

Adding folder and filetype icons using new phantom API #125

aziz opened this issue Aug 1, 2016 · 2 comments

Comments

@aziz
Copy link
Owner

aziz commented Aug 1, 2016

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

@vovkkk
Copy link
Collaborator

vovkkk commented Aug 1, 2016

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.

@aziz
Copy link
Owner Author

aziz commented Aug 1, 2016

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants