Roles
All checks were successful
Build and Deploy iLSP / test (push) Successful in 21s
Build and Deploy iLSP / build-and-deploy (push) Successful in 48s

This commit is contained in:
Henrik Jess Nielsen
2026-05-19 11:46:54 +02:00
parent aa37c259ad
commit d4cb9ae8fb

View File

@@ -18,11 +18,15 @@ Install the [LSP4IJ](https://plugins.jetbrains.com/plugin/23257-lsp4ij) plugin,
1. **Settings → Languages & Frameworks → LSP → Language Servers → +** 1. **Settings → Languages & Frameworks → LSP → Language Servers → +**
- Name: `iLSP Bicep` - Name: `iLSP Bicep`
- Server type: `WebSocket` - Server type: `Command` (not WebSocket — see note below)
- URL: `wss://ilsp.i80.dk/bicep` - Command: `python3`
- Arguments: `/Users/lrihni/Projects/iLSP/scripts/lsp_bridge.py wss://ilsp.i80.dk/bicep`
> **Note**: LSP4IJ's WebSocket mode doesn't handle LSP Content-Length framing correctly,
> causing "starting..." to hang or "Stream closed" errors. Use `lsp_bridge.py` instead.
2. **Add a file-type mapping** under the new server entry: 2. **Add a file-type mapping** under the new server entry:
- File type: `Bicep` (or pattern `*.bicep`) - File pattern: `*.bicep;*.bicepparam` (include both Bicep file types)
3. **Disable Azure Toolkit Bicep completions** — this is critical if you have the 3. **Disable Azure Toolkit Bicep completions** — this is critical if you have the
Azure Toolkit plugin installed. Without this step, IDEA merges completions from Azure Toolkit plugin installed. Without this step, IDEA merges completions from