intellisense / autocomplete / type information for python variables in (jinja2) templates #4090
jgehrcke
started this conversation in
Enhancement
Replies: 2 comments
-
Thanks for the suggestion. We're actually discussing how we might implement this at the moment. It's good to know it's actually wanted. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Moving this issue to discussion as an enhancement request for comments and upvotes. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello! Given the beauty and richness of this extension I was a little surprised that within a jinja2 template there is not a lot of support in terms of type information and auto-completion (for the Python names in the template). I understand that this might be challenging to build (in particular because from within the template it might be completely undefined how the variables referred to in the template are being populated), but I would love to hear the expert's opinion on this. In my special case there is a one-to-one mapping between template files and call sites, so in theory the information is unambiguous.
Beta Was this translation helpful? Give feedback.
All reactions