Django template LSP
Project description
Django template LSP
A simple Django template LSP for completions that has support for:
- Custom
tags
andfilters
- templates for
extends
andincludes
- load tag
- static files
- urls
Support (tested)
- Python: 3.10, 3.11, 3.12
- Django: 3.2, 4.2, 5.0
Install
pip install django-template-lsp
Options
docker_compose_file
(string) default: "docker-compose.yml"docker_compose_service
(string) default: "django"django_settings_module
(string) default: ""
Editors
Helix
In your global or project languages.toml
add the following
[language-server.djlsp]
command = "djlsp"
[[language]]
name = "html"
language-servers = [ "vscode-html-language-server", "djlsp" ]
Project settings .helix/languages.toml
:
[language-server.djlsp.config]
django_settings_modules="<your.settings.module>"
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for django_template_lsp-0.2.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 48531b7c3754019873c9f7064690159cbd97c6899752fb2815564416006acfd9 |
|
MD5 | fe69c888d51b3e2ec63318dbe9d12894 |
|
BLAKE2b-256 | 93fbea1f7b73dd790fc9ab787b8d96cf7efdb0d7b686fad35d8eec991b8699c5 |
Close
Hashes for django_template_lsp-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e8cd64fe94c395d8c8bf4bc9f7d04e4a26032fa70e32f26e29d46306334b6222 |
|
MD5 | 928a0a08099f0a8ff811ba90d0739a4a |
|
BLAKE2b-256 | 03230f139963d0e6a458f93b3ddf03728f336da59d41b49aa41b1e27ca992f77 |