[REQUEST] Support Jinja2 templates
See original GitHub issueCan we get icon association for files ending with .j2
, .jinja
, .jinja2
? I saw this icon on a quick google search.
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Jinja Documentation (3.0.x) » Template Designer ...
This template, which we'll call base.html , defines a simple HTML skeleton document ... Starting with Jinja 2.10, the block assignment supports filters....
Read more >API — Jinja Documentation (3.0.x)
The simplest way to configure Jinja to load templates for your application is to use PackageLoader . from jinja2 import Environment, PackageLoader, ...
Read more >API — Jinja Documentation (2.9.x)
It will be most useful as reference to those implementing the template interface to the application and not those who are creating Jinja2...
Read more >Templates — Flask Documentation (2.2.x)
The Jinja2 template engine supports rendering a template piece by piece, returning an iterator of strings. Flask provides the stream_template() and ...
Read more >Jinja — Jinja Documentation (3.1.x)
Jinja is a fast, expressive, extensible templating engine. Special placeholders in the template allow writing code similar to Python syntax.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Yes, but I already added them (see dev branch): folder-jinja_light.svg folder-jinja-open_light.svg
I also added the “light: true” option:
“light: true” means that the extension switches the icon to the light version if the VSCode theme is a light theme. If the theme is dark, then the icon will be the default, dark version. The “light: true” just tells the extension, that there’s a light version available.
See here
Exactly it now looks like this:
I also inverted the colors to use the icons on a light theme:
The changes will be part of the upcoming update on the marketplace (which is coming soon!)