Version 3 of netbeanstcl tutorial

Updated 2011-07-03 13:00:28 by dmp

I've prepared some instructions how to deal with prepared Tcl Plugin for Netbeans.

Installation

Please download .nbm file from http://plugins.netbeans.org/plugin/39119/tcl-plugin . Make sure that your Netbeans plugins are up to date. Sometimes Netbeans couldn't handle automatic update during installation of Tcl Plugin. I also recommend to manually install missing plugins.

First step: Open Netbeans 7.0. Select Tools→Plugins:

http://wiki.tcl.tk/_repo/images/dmp/ToolsPlugins.png

Plugins window will open. Select Downloaded tab and press Add plugins... button:

http://wiki.tcl.tk/_repo/images/dmp/AddPlugin.png

Select just downloaded .nbm file:

http://wiki.tcl.tk/_repo/images/dmp/SelectFile.png

You will see this information:

http://wiki.tcl.tk/_repo/images/dmp/Selected.png

Now select Install button. Here is the result:

http://wiki.tcl.tk/_repo/images/dmp/Installer.png

Installer will ask you to confirm BSD License and display warning about my certificate:

http://wiki.tcl.tk/_repo/images/dmp/AcceptBSDLicense.png

http://wiki.tcl.tk/_repo/images/dmp/SignedButNotTrusted.png

After all steps Tcl Plugin is installed:

http://wiki.tcl.tk/_repo/images/dmp/SuccessfullInstallation.png


Overview

Current state (version 0.1 according to .nbm numeration) of Tcl Plugin allows to edit .tcl files with syntax highlight and create Tcl Projects.

File→New Project gives ability to create empty Tcl script:

http://wiki.tcl.tk/_repo/images/dmp/SampleProject.png http://wiki.tcl.tk/_repo/images/dmp/SampleProjectNameLocation.png

It looks like this:

http://wiki.tcl.tk/_repo/images/dmp/SampleProjectFile.png

Available options:

http://wiki.tcl.tk/_repo/images/dmp/SampleProjectOptions.png


dmp 26 June 2011 Updated version (0.2 according to .nbm numeration) allows to run Tcl scripts. Here is an example:

http://wiki.tcl.tk/_repo/images/dmp/RunExample.png

Also Option Panel (Tools→Options) is available. Make sure that tclsh path is correct.

http://wiki.tcl.tk/_repo/images/dmp/OptionPanel.png

---

New features

dmp 3 July 2011 Version 0.3 brings project properties feature. Right click on the name in Project Window allows to select Properties and lead us to this window:

http://wiki.tcl.tk/_repo/images/dmp/ProjectConfiguration.png