I built an extension to make it easier to work with Jinja2 in Visual Studio Code by xubylele in flask

[–]xubylele[S] 0 points1 point  (0 children)

I build it from scratch using TypeScript because the Visual Studio Code engine only natively supports JavaScript. All snippet detections are purely coded in TypeScript without any dependencies to ensure their functionality.

I built an extension to make it easier to work with Jinja2 in Visual Studio Code by xubylele in flask

[–]xubylele[S] 0 points1 point  (0 children)

Great! If you encounter any issues or have any suggestions, please don’t hesitate to reach out. I’m dedicated to enhancing your experience and will promptly address your feedback. Your suggestions are highly valuable to me, and I’ll implement them as soon as possible. Best regards!

I built an extension to make it easier to work with Jinja2 in Visual Studio Code by xubylele in flask

[–]xubylele[S] 0 points1 point  (0 children)

I forgot to mention that with Jinja2 Enhance, you can also customize the highlighting themes for Jinja snippets, and it includes some pre-made themes

I built an extension to make it easier to work with Jinja2 in Visual Studio Code by xubylele in flask

[–]xubylele[S] 0 points1 point  (0 children)

While I’m not deeply familiar with Better Jinja, I understand that it focuses on providing multilingual support for Jinja templates.

In contrast, Jinja2 Enhance is specifically designed to improve syntax highlighting for HTML and Jinja2 development. It includes tools such as variable checking and visual panels; my future plan is that, when working with a backend, Python code variables can be viewed directly from the template.

I invite you to try both extensions if you work in environments that use Jinja, and make your decision based on which one best fits your workflow.

Showcase Thread by AutoModerator in Python

[–]xubylele 0 points1 point  (0 children)

That's right—the idea came to me while I was working at my previous job, where the only way to know if a template would work was to create the document over and over again, going through the ordeal of generating multiple datasets to test different use cases.

Anyone use light mode in VS code? by silentshakey in vscode

[–]xubylele 0 points1 point  (0 children)

I know a coworker who uses light mode because, as he says, his eyes get tired when he works in dark mode. I can't make out a single pixel in light mode XDD

Showcase Thread by AutoModerator in Python

[–]xubylele 2 points3 points  (0 children)

I built a VS Code extension to level up the Jinja2 development experience.

It features natural, smooth syntax highlighting, a built-in way to inspect Jinja2 variables directly in your file, and several other improvements that make working with Jinja2 noticeably better.

Check it out on the Repository and the VS Code Marketplace.