File tree Expand file tree Collapse file tree 4 files changed +15
-16
lines changed
tests/project/djls_app/templates/djls_app Expand file tree Collapse file tree 4 files changed +15
-16
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,11 @@ A language server for the Django web framework.
24
24
## Features
25
25
26
26
- [x] ** Completions** - Template tag autocompletion with snippets
27
+ ![ Completions] ( ./docs/assets/autocomplete.png )
28
+
27
29
- [x] ** Diagnostics** - Real-time error checking and validation
30
+ ![ Diagnostics] ( ./docs/assets/diagnostics.png )
31
+
28
32
- [ ] ** Go to definition** - Jump to template, block, or variable definitions
29
33
- [ ] ** Find references** - See where templates and blocks are used
30
34
- [ ] ** Hover** - View documentation and type info on hover
Original file line number Diff line number Diff line change 6
6
< title > Test Page</ title >
7
7
</ head >
8
8
< body >
9
- < h1 > Hello, {{ user.username }}!</ h1 >
10
- < p > This is a test template.</ p >
11
- {% if items %}
12
- < ul >
13
- {% for item in items %}< li > {{ item.name }}</ li > {% endfor %}
14
- </ ul >
15
- {% else %}
16
- < p > No items found.</ p >
17
- {% endif %}
18
- < img src ="{% static 'images/logo.png' %} " alt ="Logo ">
19
- {# This is a comment #}
20
9
21
10
{% block content %}
22
- {% block foo %}
23
- {% endblock bar %}
24
-
25
- {% if foo %}{% endif %}
26
- {% else %}
11
+ < h1 > Hello, {{ user.username }}!</ h1 >
12
+ < p > This is a test template.</ p >
13
+ {% if items %}
14
+ < ul >
15
+ {% for item in items %}< li > {{ item.name }}</ li > {% endfor %}
16
+ </ ul >
17
+ {% else %}
18
+ < p > No items found.</ p >
19
+ {% endif %}
20
+ < img src ="{% static 'images/logo.png' %} " alt ="Logo ">
21
+ {# This is a comment #}
27
22
{% endblock %}
28
23
29
24
</ body >
You can’t perform that action at this time.
0 commit comments