samuelcolvin / jinjahtml-vscode

Syntax highlighting for jinja(2) html templates in vscode
https://marketplace.visualstudio.com/items?itemName=samuelcolvin.jinjahtml
MIT License
135 stars 54 forks source link

Wrong associations for jinja-java #85

Open MatanRubin opened 3 years ago

MatanRubin commented 3 years ago

Thanks for this extension, it is really great!

I noticed that the readme says the following:

Jinja Java templates: system name jinja-java. Default file associations: ..jinja, .cpp.jinja2 and .cpp.j2.

The default file associations doesn't seem right. I also couldn't get it to work with .java.j2 files as I expected.

Am I missing something?

samuelcolvin commented 3 years ago

Thanks for pointing this out.

Looks like a typo, the actual file associations look correct:

https://github.com/samuelcolvin/jinjahtml-vscode/blob/b8fe444cbd838afb4962bb2446e67c85e0443675/package.json#L172-L177

PR welcome to correct this in the docs.