So to configure eclipse for TCL we need to download Dynamic Languages Toolkit. In this Toolkit we have other libraries too, but we will download only for TCL. After configuration we can run program directly from Eclipse .If you want to debug TCL Program we would need to configure debugger separately .
Let’s start with configuration of Eclipse for TCL development .
1. Downlaod TCL SDK and install . If you don’t know how to install TCL on windows you can refer our last post: How to install and run TCL on this link http://fervort.com/blog/2015/12/how-to-install-and-run-tcl/
2. Download and Install Eclipse IDE for Java/JavaEE Developer . You can download from here https://eclipse.org/downloads/
3. Start Eclipse and go to menu Help -> Install New Software . In Install window click on Add… button to add Repository details. You can give any name in Name field and add location link as http://download.eclipse.org/technology/dltk/updates-dev/1.0/ . See Screenshot for details.
4. Click on Install and Accept License Agreement. Click on Finish and wait till Eclipse install all the required packages. After successful installation eclipse will ask to restart. Just restart the Eclipse.
5. Next step is to setup TCL interpreter with Eclipse. For this go to Menu Windows -> Preferences . On left side select TCL tab. Expand it and select Interpreter. Click on add and browse to tclsh.exe located in bin directory of installation. See screenshot.
Till now we have configured eclipse for TCL. In next step we will create TCL project.
6. To create project go to Menu File->Project-> TCL Project. (See screenshot). Give name to project and click on finish.
7. To add new TCL file right click on newly created project New -> TCL File. Give name to TCL file with extension .tcl and click on finish.
8. Add some TCl lines and right click on file -> Run As -> TCL Script .
You can see output in console window. See screenshot .
You can check our Video tutorial for installation and configuration of Eclipse for TCL on YouTube here https://www.youtube.com/watch?v=ThL7qZN2msY
Try to configure Eclipse . Feel free to comment 🙂