You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+18-72Lines changed: 18 additions & 72 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,20 +13,16 @@ A language server for the Django web framework.
13
13
14
14
However, the foundation has been laid:
15
15
16
-
✅ Working server architecture
17
-
18
-
- ✅ Server implementing the Language Server Protocol written in Rust
19
-
- ✅ Python agent running as a persistent process within the Django project's virtualenv
20
-
- ✅ Server-agent communication via Protocol Buffers
21
-
22
-
✅ Custom template parser to support LSP features
23
-
24
-
- ✅ Basic HTML parsing, including style and script tags
25
-
- ✅ Django variables and filters
26
-
- ❌ Django block template tags
27
-
- Early work on extensible template tag parsing specification (TagSpecs)
28
-
29
-
❌ Actual LSP features (coming soon!... hopefully)
16
+
-[x] Working server architecture
17
+
-[x] Server implementing the Language Server Protocol written in Rust
18
+
-[x] Python agent running as a persistent process within the Django project's virtualenv
19
+
-[x] Server-agent communication via Protocol Buffers
20
+
-[x] Custom template parser to support LSP features
21
+
-[x] Basic HTML parsing, including style and script tags
22
+
-[x] Django variables and filters
23
+
-[ ] Django block template tags
24
+
- Early work has been done on an extensible template tag parsing specification (TagSpecs)
25
+
-[ ] Actual LSP features (coming soon!... hopefully)
30
26
31
27
## Requirements
32
28
@@ -99,64 +95,11 @@ pip install djls-agent
99
95
100
96
## Editor Setup
101
97
102
-
The Django Language Server should work with any editor that supports the Language Server Protocol (LSP). Got it working in your editor? [Help us add setup instructions!](#testing-and-documenting-editor-setup)
103
-
104
-
-[Neovim](#neovim)
105
-
106
-
### Neovim
107
-
108
-
Using [lazy.nvim](https://github.com/folke/lazy.nvim) and [nvim-lspconfig](https://github.com/neovim/nvim-lspconfig):
The Django Language Server works with any editor that supports the Language Server Protocol (LSP). We currently have setup instructions for:
157
99
158
-
> [!NOTE]
159
-
> This configuration is copied straight from my Neovim setup and includes a logging setup that sends LSP messages to Neovim's notification system. You can remove all the references to `vim.notify` if you don't care about this functionality.
100
+
-[Neovim](/docs/editor-setup/neovim.md)
101
+
102
+
Got it working in your editor? [Help us add setup instructions!](#testing-and-documenting-editor-setup)
160
103
161
104
## Versioning
162
105
@@ -190,7 +133,10 @@ The project needs help in several areas:
190
133
191
134
The server has only been tested with Neovim. Documentation for setting up the language server in other editors is sorely needed, particularly VS Code. However, any editor that has [LSP client](https://langserver.org/#:~:text=for%20more%20information.-,LSP%20clients,opensesame%2Dextension%2Dlanguage_server,-Community%20Discussion%20Forums) support would be welcome.
192
135
193
-
If you get it working in your editor, please open a PR with the setup instructions.
136
+
If you get it working in your editor:
137
+
138
+
1. Create a new Markdown file in the `docs/editors/` directory (e.g., `docs/editors/vscode.md`)
139
+
2. Include step-by-step setup instructions, any required configuration snippets, and tips for troubleshooting
This configuration is copied straight from my Neovim setup and includes a logging setup that sends LSP messages to Neovim's notification system. You can remove all the references to `vim.notify` if you don't care about this functionality.
0 commit comments