23maverick23 / sublime-jekyll

A Sublime Text package for Jekyll static sites.
http://23maverick23.github.io/sublime-jekyll
MIT License
163 stars 26 forks source link

Feature request: bash-like path autocompletion (for tags requiring files such as images, include, etc.) #87

Open nonsns opened 6 years ago

nonsns commented 6 years ago

I am a veteran of bash, and a newbie to Jekyll. I love sublime, the Jekyll plugin, but I miss autocompletion of files

Clearly, not all tags/context would need to have this enabled, but some tags would benefit from "naive" path autocompletion (eg., assets such as images would benefit from the Jekyll ROOT ).

Others would require some more advanced autocompletion (e.g- , liquid {% include %} directives start from _include; similarly for YAML layout etc.) that would still be relatively easy to handle

This is a very simple idea, and is supported by other sublime packages (e.g., the LaTeX package https://packagecontrol.io/packages/LaTeXTools goes even further doing images preview)

as I said I am veteran of bash, perl and LaTex.... and a total newbie of git, python, ruby and jekyll. so I can offer my idea but not my fingers :/

23maverick23 commented 6 years ago

Thanks for using the package. File path auto-complete is a great idea, however this is a pretty large enhancement to the package. Not sure when I'll have time to implement something like this completely, so I'll tag it and put it on the features to consider list.

In the meantime, I would suggest looking into the FuzzyFilePath package (https://packagecontrol.io/packages/FuzzyFilePath) which handles most of your stated use case already.