{"repo":"djlint/djlint-vscode","free":true,"listed":false,"github":"https://github.com/djlint/djlint-vscode","clone":"git clone https://github.com/djlint/djlint-vscode.git","description":"VS Code extension that formats and lints HTML templates with djLint. Supports Django, Jinja, Twig, Nunjucks, Handlebars, Liquid, Go templates, Mustache, Tera and Askama.","language":"TypeScript","stars":76,"topics":["askama","django","django-templates","djlint","formatter","go-templates","handlebars","html","jinja","jinja2"],"license":"MIT","category":"dev-tools","readme_excerpt":"djlint-vscode Visual Studio Code extension for formatting and linting HTML templates (Django, Jinja, Twig, Nunjucks, Handlebars, Liquid, Go templates, Mustache, Tera, Askama) using djLint. Installation 1. Install djLint itself by following the djLint getting started guide or the djLint README. 1. Install djLint VS Code extension from Visual Studio Marketplace or Open VSX. Usage If djlint.useVenv is enabled and you have the Python extension installed, djlint-vscode uses the djLint installed in the currently activated Python environment. If djlint.useVenv is disabled, the extension runs djlint.executablePath ( djlint from PATH by default). Relative djlint.executablePath and djlint.pythonPath values are resolved from the workspace root. If that executable is not available, it falls back to djlint.pythonPath -m djlint . The extension can be configured through the settings in VS Code. Some options can be configured through the djLint configuration file. Add this to your settings.json to format the default enabled languages with djLint : Usage with djLint installed with pipx pipx creates a separate venv for each application and usually exposes a djlint executable. Disable djlint.useVenv and point djlint.executablePath at that executable if it is not already available on PATH: Usage with djLint installed with uv uv creates a separate venv for each application. Disable djlint.useVenv and point djlint.executablePath at the generated djlint executable: Known issues - Non-ASCII characte","default_branch":null,"files":null,"tree":[],"storefront":"/r/djlint","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/djlint/djlint-vscode/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}