LU XIANGRUI та wildcatDownstairs
9ee8f67e9f
feat(languages): Jinja2 Template language for .jinja, .jinja2 and .j2 files ( #6645 )
...
.jinja, .jinja2 and .j2 files opened as Plain Text. They now open as Jinja2 templates, with the extension before them deciding the content between the tags: Jinja2 HTML (.html.j2, .html.jinja, .htm.*) gets the HTML language server, Emmet, tag closing and linked tags like Django templates; any other name (nginx.conf.j2, values.yaml.j2, base.jinja) is a Jinja2 Template over plain text without HTML tooling.
Both use @codemirror/lang-jinja (now a direct dependency, the same 6.0.1 already in the lockfile): highlighting, folding and indentation of block statements, completion of tags, filters and tests, and tag matching. The file icon follows the extension before .j2, and breakpoints in a file typed as a Jinja language turn on debugpy's jinja support.
Closes #6644
Co-authored-by: wildcatDownstairs <[email protected] >
2026-11-29 13:23:45 +08:00
..
2026-11-10 01:16:21 +08:00
2026-11-02 10:01:04 +08:00
2026-11-22 18:55:05 +08:00
2026-11-25 07:28:42 +08:00
2026-10-29 23:34:22 +08:00
2026-11-12 16:13:56 +08:00
2026-10-22 18:55:10 +08:00
2026-10-22 18:55:10 +08:00
2026-11-17 03:41:02 +08:00
2026-11-06 06:35:01 +08:00
2026-11-27 18:00:08 +08:00
2026-11-12 16:13:56 +08:00
2026-11-25 13:59:24 +08:00
2026-10-22 18:55:10 +08:00
2026-11-27 20:26:34 +08:00
2026-10-22 18:55:10 +08:00
2026-10-22 18:55:10 +08:00
2026-11-12 16:13:56 +08:00
2026-11-03 15:05:09 +08:00
2026-10-22 18:55:10 +08:00
2026-11-24 22:51:01 +08:00
2026-11-06 06:35:01 +08:00
2026-10-27 15:31:25 +08:00
2026-10-27 15:31:25 +08:00
2026-11-16 10:56:23 +08:00
2026-10-22 18:55:10 +08:00
2026-11-20 20:16:41 +08:00
2026-10-27 15:31:25 +08:00
2026-11-12 01:14:56 +08:00
2026-11-24 10:50:03 +08:00
2026-11-12 01:14:56 +08:00
2026-11-22 19:18:37 +08:00
2026-11-12 16:13:56 +08:00
2026-10-22 18:55:10 +08:00
2026-10-22 18:55:10 +08:00
2026-11-24 10:50:03 +08:00
2026-11-22 18:55:05 +08:00
2026-10-22 18:55:10 +08:00
2026-11-22 21:57:30 +08:00
2026-10-22 18:55:10 +08:00
2026-11-20 23:53:34 +08:00
2026-11-22 19:18:37 +08:00
2026-11-22 19:18:37 +08:00
2026-11-29 13:23:45 +08:00
2026-11-29 13:23:45 +08:00
2026-11-27 02:49:18 +08:00
2026-11-22 19:18:37 +08:00
2026-11-03 17:29:59 +08:00
2026-10-22 18:55:10 +08:00
2026-11-15 04:10:44 +08:00
2026-10-22 18:55:10 +08:00
2026-11-22 20:44:18 +08:00
2026-11-05 23:37:26 +08:00
2026-10-22 18:55:10 +08:00
2026-10-22 18:55:10 +08:00
2026-11-27 15:33:09 +08:00
2026-11-27 15:33:09 +08:00
2026-10-22 18:55:10 +08:00
2026-11-12 16:13:56 +08:00
2026-11-12 16:13:56 +08:00
2026-10-22 18:55:10 +08:00
2026-10-22 18:55:10 +08:00
2026-10-22 18:55:10 +08:00
2026-11-25 02:37:03 +08:00
2026-10-22 18:55:10 +08:00
2026-11-11 17:16:11 +08:00
2026-11-12 20:00:13 +08:00
2026-10-22 18:55:10 +08:00
2026-10-22 18:55:10 +08:00
2026-11-16 12:39:35 +08:00
2026-10-22 18:55:10 +08:00
2026-11-10 02:27:42 +08:00
2026-11-09 01:41:27 +08:00
2026-11-17 03:41:02 +08:00
2026-11-27 15:18:58 +08:00
2026-10-22 18:55:10 +08:00
2026-11-22 20:44:18 +08:00
2026-11-06 06:35:01 +08:00
2026-11-13 23:09:26 +08:00
2026-10-22 18:55:10 +08:00
2026-11-22 18:55:05 +08:00
2026-11-12 16:13:56 +08:00
2026-10-22 18:55:10 +08:00
2026-10-22 18:55:10 +08:00
2026-10-22 18:55:10 +08:00
2026-11-22 19:18:37 +08:00
2026-11-22 19:18:37 +08:00
2026-11-17 22:44:13 +08:00
2026-11-22 18:55:05 +08:00
2026-11-25 07:28:42 +08:00
2026-11-11 01:06:56 +08:00
2026-11-06 06:35:01 +08:00