578f88a0e86ad70756c3c54f51097bb67fcc41d1
Adds support for autocomplete in multi-line array syntax like:
roles: [
'KEY_VAULT_ ← cursor triggers completion here
]
Previously only worked on same line as opening bracket:
roles: ['KEY_VAULT_ ← only this worked
Changes:
- Walk backwards up to 10 lines to find array opening (e.g. "roles: [")
- Detect if cursor is inside array based on indentation and quotes
- Stop lookback if closing bracket found (not in array anymore)
- Add test case for nested multi-line array completion
- Improve lsp_bridge.py error handling with traceback logging
- Add lsp_bridge_debug.sh wrapper for easier IntelliJ debugging
- Update EDITOR_SETUP.md with correct IntelliJ LSP4IJ config
Fixes autocomplete for deeply nested structures like:
assignments: [{ roles: ['APP_CONFIGURATION_...'] }]
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
iLSP — Internal LSP Proxy
Self-hosted Language Server Protocol proxy for LRU's internal tooling.
Runs at https://ilsp.i80.dk (Nomad/Docker, autobox.i80.dk).
Provides smart autocomplete on top of standard LSPs:
| Language | Endpoint | Extra completions |
|---|---|---|
| Bicep | wss://ilsp.i80.dk/bicep |
Internal ACR modules, versions, params |
| YAML | wss://ilsp.i80.dk/yaml |
AzDO pipeline templates, GHA reusable workflows |
| Python | wss://ilsp.i80.dk/python |
Jedi (standard) |
→ See EDITOR_SETUP.md for editor configuration and a full feature overview.
Quick start
# Check service health
curl https://ilsp.i80.dk/health
# Run smoke tests
python3 scripts/smoke_test_completions.py
# Local dev
make run # build + start + health check
make run-quick # start without rebuilding
make logs # tail container logs
make health # curl health endpoint
Updating catalogs
python3 scripts/sync_pipeline_templates.py # scan AzDO + GHA template repos
bash scripts/push_catalogs.sh # scp to server + /reload
Deploy
Push to main → Gitea Actions builds image → Nomad deploys automatically.
# Manual deploy (if CI is down)
git push
ssh autobox.i80.dk 'nomad job run /opt/nomad/jobs/ilsp.nomad'
Description
Languages
Python
89.8%
Shell
4.2%
Makefile
2.8%
HCL
1.7%
Dockerfile
1.5%