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-27 15:21:11 +08:00
2026-11-27 00:42:53 +08:00
2026-11-27 01:13:34 +08:00
2026-11-17 00:27:21 +08:00
2026-11-20 03:26:32 +08:00
2026-11-07 21:44:03 +08:00
2026-11-17 00:12:25 +08:00
2026-11-09 22:43:53 +08:00
2026-11-17 00:12:25 +08:00
2026-11-15 23:59:47 +08:00
2026-11-17 19:14:22 +08:00
2026-11-15 23:59:47 +08:00
2026-11-13 10:04:50 +08:00
2026-11-23 09:12:30 +08:00
2026-11-22 19:33:55 +08:00
2026-11-22 19:33:55 +08:00
2026-11-05 21:03:28 +08:00
2026-11-26 07:13:56 +08:00
2026-11-22 07:11:38 +08:00
2026-11-22 07:11:38 +08:00
2026-11-19 00:34:55 +08:00
2026-11-19 00:34:55 +08:00
2026-11-20 03:26:32 +08:00
2026-11-20 03:26:32 +08:00
2026-11-27 08:59:33 +08:00
2026-11-27 08:59:33 +08:00
2026-11-27 08:59:33 +08:00
2026-11-20 07:12:25 +08:00
2026-11-23 20:59:53 +08:00
2026-11-23 20:59:53 +08:00
2026-11-24 21:53:49 +08:00
2026-11-24 21:53:49 +08:00
2026-11-23 09:15:01 +08:00
2026-11-23 09:15:01 +08:00
2026-11-18 23:21:04 +08:00
2026-11-18 23:21:04 +08:00
2026-11-25 16:26:38 +08:00
2026-10-31 20:24:31 +08:00
2026-10-31 20:24:31 +08:00
2026-10-31 20:24:31 +08:00
2026-11-13 19:05:26 +08:00
2026-11-27 01:37:36 +08:00
2026-11-26 06:38:17 +08:00
2026-11-21 14:52:59 +08:00
2026-11-23 09:23:25 +08:00
2026-10-22 18:55:10 +08:00
2026-10-22 18:55:10 +08:00
2026-11-04 14:22:38 +08:00
2026-11-04 14:22:38 +08:00
2026-11-20 09:13:29 +08:00
2026-11-15 03:33:29 +08:00
2026-11-29 13:23:45 +08:00
2026-11-29 13:23:45 +08:00
2026-11-23 14:16:18 +08:00
2026-11-15 23:59:47 +08:00
2026-11-23 20:59:53 +08:00
2026-10-22 18:55:10 +08:00
2026-10-22 18:55:10 +08:00
2026-11-24 01:37:47 +08:00
2026-11-24 01:37:47 +08:00
2026-11-20 09:13:29 +08:00
2026-11-27 01:13:34 +08:00
2026-11-27 01:13:34 +08:00
2026-11-12 19:01:01 +08:00
2026-11-16 03:32:43 +08:00
2026-11-15 23:59:47 +08:00
2026-11-22 01:36:39 +08:00
2026-11-24 08:06:54 +08:00
2026-10-22 18:55:10 +08:00
2026-11-23 09:13:13 +08:00
2026-11-29 12:28:47 +08:00
2026-11-08 21:28:06 +08:00
2026-11-08 21:28:06 +08:00
2026-11-28 10:55:14 +08:00
2026-11-05 02:45:36 +08:00
2026-11-05 02:45:36 +08:00
2026-11-04 14:22:38 +08:00
2026-11-04 14:22:38 +08:00
2026-11-14 21:24:20 +08:00
2026-11-20 07:52:02 +08:00
2026-11-25 11:01:14 +08:00
2026-11-21 07:23:50 +08:00
2026-11-27 20:57:12 +08:00
2026-11-27 20:49:21 +08:00
2026-11-12 09:54:43 +08:00
2026-11-27 02:49:18 +08:00
2026-11-01 16:05:16 +08:00
2026-11-01 16:05:16 +08:00
2026-11-29 10:08:17 +08:00
2026-11-24 07:29:51 +08:00
2026-11-29 10:08:17 +08:00
2026-11-23 09:13:05 +08:00
2026-11-23 09:13:45 +08:00
2026-11-17 01:58:49 +08:00
2026-11-25 08:55:09 +08:00
2026-11-25 02:17:02 +08:00
2026-10-27 08:56:13 +08:00
2026-11-14 22:05:29 +08:00
2026-11-14 22:05:29 +08:00
2026-11-23 12:42:18 +08:00
2026-11-05 00:55:03 +08:00
2026-11-24 08:06:54 +08:00
2026-11-09 22:43:53 +08:00
2026-11-09 22:43:53 +08:00
2026-11-25 18:00:43 +08:00
2026-11-18 10:21:46 +08:00
2026-11-24 21:53:49 +08:00
2026-11-21 01:41:13 +08:00
2026-10-22 18:55:10 +08:00
2026-11-07 21:44:03 +08:00
2026-11-23 09:23:25 +08:00
2026-11-26 21:51:01 +08:00
2026-11-26 21:51:01 +08:00
2026-11-05 00:55:03 +08:00
2026-11-13 19:05:47 +08:00
2026-11-13 19:05:47 +08:00
2026-11-28 20:29:29 +08:00
2026-11-28 20:29:29 +08:00
2026-11-28 20:29:29 +08:00
2026-11-27 19:26:04 +08:00
2026-11-04 01:31:10 +08:00
2026-11-23 21:00:08 +08:00
2026-11-29 10:08:17 +08:00
2026-10-31 12:43:42 +08:00
2026-10-31 01:28:41 +08:00
2026-11-20 09:13:29 +08:00
2026-11-20 09:13:29 +08:00
2026-11-05 23:09:55 +08:00
2026-11-23 18:56:34 +08:00
2026-11-23 18:56:34 +08:00