This extension provides comprehensive Tcl language support in Visual Studio Code. It includes features such as syntax highlighting, interpreter configuration, and the ability to run Tcl scripts directly from the editor.
Features
Syntax Highlighting: Enhances Tcl script readability with color-coded syntax.
Interpreter Configuration: Allows users to specify the path to their Tcl interpreter.
Run Tcl Scripts: Execute Tcl scripts directly from VSCode with a configured interpreter.
Installation
Open Visual Studio Code.
Go to the Extensions view by clicking on the square icon on the sidebar or pressing Ctrl+Shift+X.
Search for "Tcl Language Support".
Click on the install button.
Usage
Configuring Tcl Interpreter
Open the Command Palette (Ctrl+Shift+P).
Type and select Select Tcl Interpreter.
Navigate to the executable Tcl interpreter file and select it.
The path will be saved and displayed in the status bar.
Running a Tcl Script
Open a .tcl file in VSCode.
Right-click in the editor window and select Run Tcl File from the context menu, or use the command in the editor title navigation.
The script will execute in a new terminal pane.
Requirements
Visual Studio Code version 1.89.0 or higher.
Contributing
Contributions to the Tcl Language Support extension are welcome. Please feel free to fork the repository, make changes, and submit pull requests.
License
This project is licensed under the MIT License - see the LICENSE file for details.