feat: LSP references/rename (0.5) and expand CI make test

Add workspace-aware Find All References and Rename for scoped locals and
globals, plus registry/apps/dwarf smokes in the default test target.

- bux-lsp: textDocument/references, prepareRename, rename
- make test-lsp runs smoke_lsp_rename; make test includes registry/dwarf/apps
This commit is contained in:
2026-07-19 22:49:45 +03:00
parent eb81856565
commit cd7a82822c
5 changed files with 383 additions and 6 deletions
+4 -1
View File
@@ -19,7 +19,7 @@ dev:
debug: dev
@echo "Debug binary: buxc_debug"
test: build fmt-check test-examples test-errors test-stdlib
test: build fmt-check test-examples test-errors test-stdlib test-registry test-dwarf test-apps
@echo "Running lexer tests..."
$(NIM) c -r tests/lexer_test.nim
@echo "Running parser tests..."
@@ -190,6 +190,9 @@ test-lsp: lsp
@echo "=== LSP hover smoke ==="
@chmod +x tools/smoke_lsp_hover.sh
@tools/smoke_lsp_hover.sh
@echo "=== LSP references / rename smoke ==="
@chmod +x tools/smoke_lsp_rename.sh
@tools/smoke_lsp_rename.sh
.PHONY: test-registry
test-registry: build