Tcl Syntax Check on Close Command

I see plenty of references to “Preferences” but none that have anything similar to what you are suggesting.
I have no idea what a “burger menu” is.
I have been all over those references to TCL code and nothing even refers to the “-i” option so even your conclusions are inaccurate relative to my code if this is the documentation you are using to draw your conclusions.
I did send you a screen shot of the Komodo application I am using.
Are we talking about the same application???

I’m starting to wonder this also :stuck_out_tongue:

Here’s a video showing the steps, see if that is similar to what you’re seeing (your experience may vary depending on your UI configuration).

http://giphy.com/gifs/xUPGcM3hhiX12umM6s

That helped, thank you. This GUI is so foreign to me and has many odd features that make it difficult to find features of interest. In addition your language and names related to these GUI features don’t help much either.
So I did experiment with the TCL version option and find that only 8.6 allows my choice of syntax for the close command. The syntax I chose does not follow any TCL documentation because everything explains that “-i” is and never was an option. In addition the new 8.6 syntax does nothing to help explain my difficulties with this command, the fact that 8.6 appears to allow the syntax I chose, or the use of “-i” at all.

Here are the only things I can find on the subject:
1.)
http://www.tcl.tk/man/expect5.31/expect.1.html
"close [-slave] [-onexec 0|1] [-i spawn_id] closes the connection to the current process. Most interactive programs will detect EOF on their stdin and exit; thus close usually suffices to kill the process as well. The -i flag declares the process to close corresponding to the named spawn_id. "
2.)
http://www.activestate.com/activetcl/expect
https://en.wikipedia.org/wiki/Expect
“Expect, an extension to the Tcl scripting language written by Don Libes, is a program to automate interactions with programs that expose a text terminal interface.”

If Komodo is a product that is created and supported by Active State, and TCL is included as a featured command language in Komodo, and Expect is supported within the Active State TCL implementation, and Expect is an extension to TCL, why wouldn’t Komodo be aware of valid Expect syntax as it would be used in conjunction with TCL?
If I define “package require Expect” in my code, why wouldn’t the Expect extensions to “close” be accepted in the Komodo TCL Syntax Checker?

Should I expect that Komodo should be aware of TCL and any commonly supported TCL extension? Choosing 8.6 appears to be a valid workaround at the moment but this does seem to me to be a deficiency in the Komodo TCL Syntax Checker.

I wouldn’t say “expect”, as in this day and age there are endless possibilities and combinations when it comes to frameworks and extensions. But it’s certainly not an unrealistic thing to ask of your IDE.

Komodo performs syntax checking for Tcl, from what I’m gathering the -i switch is something that is added by Expect and is not a core-tcl feature. As such it’s not a deficiency, but rather an enhancement request. I would agree that if indeed Expect is so widely used then we ought to endeavor to support it in any way we can, but it would seem that this is currently not supported.

I will discuss this internally and see if it would make sense for us to add support for this. For now using 8.6 seems like an appropriate workaround, doubly so if you are in fact developing for Tcl 8.6 (not unlikely).