Files
iLSP/editor_configs/EDITOR_SETUP.md
Henrik Jess Nielsen d8536468ab
Some checks failed
CI / deploy (push) Has been cancelled
CI / build-and-push (push) Has been cancelled
feat: initial iLSP project scaffolding
- Python LSP (pylsp + pylsp_i80 plugin): i80 pypi package completions
- Bicep LSP (asyncio TCP proxy → Bicep.LangServer.dll): LRU module injection
- Health HTTP endpoint (:2089) for Consul/Nomad checks
- Startup catalog fetch from pypi-server.i80.dk + DevOpsMCP (no volume needed)
- Multi-stage Dockerfile: downloads Bicep LS at build time, dotnet-runtime-8.0 + python3.12
- Nomad job: static TCP ports 2087/2088, health check on 2089
- Gitea Actions CI: build + push + deploy pipeline
- Editor configs: Helix / nvim / LSP4IJ / VS Code
2026-05-10 12:23:05 +02:00

66 lines
1.8 KiB
Markdown

# Editor configs for lsp.i80.dk
## Helix (`~/.config/helix/languages.toml`)
```toml
[language-server.ilsp-python]
command = "nc"
args = ["lsp.i80.dk", "2087"]
[language-server.ilsp-bicep]
command = "nc"
args = ["lsp.i80.dk", "2088"]
[[language]]
name = "python"
language-servers = ["ilsp-python", "pylsp"] # runs alongside local pylsp if present
[[language]]
name = "bicep"
file-types = ["bicep", "bicepparam"]
language-servers = ["ilsp-bicep"]
```
## Neovim (`~/.config/nvim/lua/lsp.lua`)
```lua
-- Python: i80 completions alongside pyright
vim.lsp.start({
name = "ilsp-python",
cmd = { "nc", "lsp.i80.dk", "2087" },
filetypes = { "python" },
})
-- Bicep: full Bicep LS via i80 proxy
vim.lsp.start({
name = "ilsp-bicep",
cmd = { "nc", "lsp.i80.dk", "2088" },
filetypes = { "bicep" },
})
```
## PyCharm / IntelliJ IDEA Ultimate (LSP4IJ plugin)
1. Install **LSP4IJ** from JetBrains Marketplace
2. Settings → Languages & Frameworks → Language Servers → **+**
| Field | Python | Bicep |
|----------------|-------------------------|-------------------------|
| Name | `ilsp-python` | `ilsp-bicep` |
| Server type | External process | External process |
| Command | `nc lsp.i80.dk 2087` | `nc lsp.i80.dk 2088` |
| File patterns | `*.py` | `*.bicep, *.bicepparam` |
> PyCharm's built-in Python intelligence runs **alongside** ilsp-python — additive, not replacing.
## VS Code (`.vscode/settings.json`)
```json
{
"pylsp.server.command": ["nc", "lsp.i80.dk", "2087"],
"bicep.languageServerPath": "nc"
}
```
> Note: VS Code has better native support. Use only if you want the i80-specific completions.