Commit Graph
25 Commits
Author SHA1 Message Date
Christoph Brandau af195a577b refactor(lsp): cache analysis results and debounce diagnostics
build_and_puplish.yml / build_and_publish (release) Successful in 29s
This change adds cached and incremental analysis for the LSP
server to improve responsiveness. The client now debounces
diagnostic updates to avoid excessive recomputation. The
server introduces per-document line caches and various
caches for completions, inlay hints, and metadata to
support faster, incremental updates.

- Debounce diagnostics on text changes to reduce noise.
- Add caches for completions, inlay hints, and metadata.
- Introduce incremental analysis with per-document line caches.
2026-08-19 13:41:53 +02:00
Christoph Brandau ecb50be2b8 feat(inlay-hints): add configurable parameter name hints
Adds configurable inlay hints for TCL procedures and merges signatures from built-ins and workspace files. The feature supports parameterNames and suppressWhenArgumentMatchesName and respects an optional range filter and current-file priority.

- Introduces built-in and custom inlay hint builders
- Honors inlayHints parameterNames and suppression options
- Adds tests validating hints, ranges, and priority rules
2026-08-19 12:59:51 +02:00
Christoph Brandau 541704f45a feat(cdl): add CDL event handler parsing and snippet support
build_and_puplish.yml / build_and_publish (release) Successful in 36s
This adds a small DSL-aware helper to extract CDL event
declarations and generate a ready-to-use snippet. It also
extends hover support to show the snippet and parameter
hints for CDL events, improving developer productivity.

- Generate a MOM event handler scaffold and local vars
- Hover shows the generated snippet and mom_ parameter hints
2026-08-19 09:45:57 +02:00
Christoph Brandau 33cf282b0a feat(debug): enable Python debug workflow and debug server integration
Adds an end-to-end Python debug workflow for the extension.
Includes a new prepare-debug.ps1 script and a VS Code task.
Extends the Python server and extension to coordinate a debug session and safe startup.

- Add prepare-debug.ps1 and a VS Code task to build the debug bundle
- Enable Python debug wiring in the server and tests
- Ensure a single stable Python debug session during startup
2026-08-17 11:02:22 +02:00
Christoph Brandau 35a4357551 feat(navigation): add symbol index and LSP navigation features
The changes introduce a Tcl symbol index powering LSP navigation
features across the workspace. A navigation API exposes
snapshots and update hooks, enabling goto-definition,
references, and rename using the index. Background indexing
now watches Tcl files and rebuilds the index to stay in sync.

- Add Tcl symbol index and navigation snapshot API
- Wire go-to-definition, references, and rename using the index
- Watch Tcl files and refresh the index in the background
2026-08-17 09:24:45 +02:00
Christoph Brandau f60c4563e4 Delegate TCL folding to server, fix bugs, and enhance stability
- Move TCL folding range computation from client to language server, avoiding duplicate regions.
- Serialize language server restarts to prevent multiple server instances running concurrently.
- Pin server-side Python dependencies to specific minor versions for improved stability and predictability.
- Make debug server connection non-fatal, allowing the language server to start even if the debugger isn't attached.
- Optimize semantic token generation by caching Tclint plugin commands.
2026-06-18 20:38:47 +02:00
Christoph Brandau 3ad3847045 add new features and fix bugs 2026-06-18 17:31:51 +02:00
Christoph Brandau bd4b17825c add: Outline support for DEF and CDL files 2025-08-15 07:29:01 +02:00
Christoph Brandau 0a26cb5c0f add outline to lsp 2025-08-11 18:28:23 +02:00
Christoph Brandau 31ccae9a40 update 2025-08-08 09:18:22 +02:00
Christoph Brandau b264f20baf update settings 2025-07-21 16:20:16 +02:00
Christoph Brandau ee5240c861 add formatter settings 2025-07-21 09:08:53 +02:00
Christoph Brandau 99718eb856 python lsp 2025-07-16 17:14:09 +02:00
Christoph 9febcebddb python server 2025-07-15 22:11:41 +02:00
Christoph Brandau 12ed7ff2bc update to lsp for TCL 2025-07-15 16:37:40 +02:00
Christoph Brandau d76cd7559a add outline funton for tcl
/ build_and_publish (push) Successful in 33s
2025-07-01 15:39:49 +02:00
Christoph 1491aad2ea fix:First line can comment #5
/ build_and_publish (push) Successful in 23s
2025-01-25 00:19:55 +01:00
Christoph 75ea36dffe add package file 2025-01-24 23:14:31 +01:00
Christoph Brandau 40f6f41667 update cdl/def diagnostic 2025-01-13 13:05:10 +01:00
Christoph Brandau 11af66a267 handle def file formatter 2025-01-10 07:44:48 +01:00
Christoph 3614f0cefb add def file support 2025-01-08 21:37:24 +01:00
Christoph Brandau a318cf6e46 add Hover feature
/ build_and_publish (push) Failing after 19s
2025-01-08 15:53:19 +01:00
Christoph 63222bebe6 add autocomp 2025-01-08 07:33:58 +01:00
Christoph Brandau 8c1b614d20 change for release 2025-01-07 18:16:05 +01:00
Christoph Brandau 09d1685aa9 init project 2025-01-07 10:22:59 +01:00