Mark's TCL extension
A simple VS Code extension for Tcl that makes day-to-day editing easier.
What it does
- Go To Definition (
F12) for proc and method
- Hover info for variables and procedures
- Completions + snippets for common Tcl patterns
- Signature help while typing calls
- Semantic highlighting for:
- variables like
$name
- dict command parts (
dict, create, get, etc.)
- dict keys and values (with different token types)
- Syntax checking (local
tclsh or remote service)
- Quick Fix suggestions for common syntax issues (missing
}, ], or ")
Quick start
- Open any
.tcl file in VS Code.
- Use
F12 on a proc/method call.
- Try typing and use completion/signature help.
- If syntax errors show up, use Quick Fix (
Cmd+.) for suggested fixes.
Settings
tcl.features.gotoDefinition
tcl.features.hover
tcl.features.completion
tcl.features.signatureHelp
tcl.features.semanticTokens
tcl.features.lint
tcl.index.externalPaths
tcl.runtime.syntaxCheckMode (disabled, local, remote)
tcl.runtime.tclshPath
tcl.runtime.remoteUrl
tcl.runtime.syntaxCheckDelay
Dev
- Build:
npm run compile
- Test:
npm test
| |