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.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d8ac7b60f26c2e407ace9e3675d7e35c69d589c32dce7dd8aed45c0c69c02a1d |
|
MD5 | c258c1dc9d30c4f8f287c7186e42cf49 |
|
BLAKE2b-256 | d03d155e2a024c1a71a7b45fb33f59979253299d4fc20c0bb3308ecba5cea2cc |
Close
Hashes for django_template_lsp-0.2.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5106d878f8fc6f7460868affaaf40498c76df2c5ec650b19bb11cbf527144765 |
|
MD5 | 7937bbfaebc00b0ff7a14a7f1b7d1dd8 |
|
BLAKE2b-256 | 723896a64644587eaddb55710f2f3cec07d7ba4e47c609c7928d594c16b0e5b8 |