pebble-intellij
pebble-intellij copied to clipboard
extend/include autocomplete ignores template directories
When typing {% extends "..." %}
or {% include "..." %}
, it only autocompletes files relative to the current files, rather than autocompleting them relative to directories marked as "Template Folder" in IntelliJ:
I don't see any "Template Folder" option in https://www.jetbrains.com/help/idea/content-roots.html, are you talking about something else?
Anyway, the difficulty is that you could theoretically set any folder as a template folder when building a PebbleLoader
.
And on the other hand, marking a directory as a "template folder" is not enough for PebbleLoader
to use it :/
After doing a bit of research, it seems the Python plugin may be providing this.
While I'm aware the PebbleLoader is unaware of project settings, having the autocomplete be aware of project settings (even if it's a different content root than the one provided by the python plugin) would be a great QoL feature to have.