TCL Outline for VS Code

August 25, 2025 Β· View on GitHub

A lightweight VS Code extension that provides outline navigation (functions & namespaces with nesting) for Tcl scripts β€” improving productivity for engineers working with CAD flows, EDA tooling, or Tcl-based automation.

πŸ“¦ Published on Visual Studio Marketplace
⭐ Used by engineers at Intel and beyond to accelerate Tcl workflow navigation.


πŸš€ Features

  • Adds symbols view in the VS Code outline explorer for Tcl proc and namespace definitions.
  • Nested view for easier navigation in complex scripts.
  • Compatible with standard Tcl language support extensions.
  • Actively improved based on community feedback.

Example: Tcl Outline Example


βš™οΈ Installation

  1. Install Tcl language support in VS Code.
  2. Search β€œTcl Outline” in the VS Code Marketplace or click here.
  3. Reload VS Code and start coding in Tcl.

πŸ“ Known Issues

  • proc block may close early if there is a string containing multiple } characters.
  • Currently requires a Tcl language extension installed.
  • Cursor context highlighting is limited to symbol declarations.

πŸ“¦ Release Notes

[0.0.3]

  • Improved regex to catch more proc types.
  • Fixed curly-bracket block alignment (empty procs supported).

Full changelog


🀝 Contributing

Issues and PRs are welcome!
πŸ‘‰ Open an issue or reach out: sniryehud@gmail.com


πŸ™ Acknowledgements

Inspired by Perl Outline extension.
Dedicated to the great Tclers Yoram and Ofer.