Sublime Forum

TCL files -> Syntax highlighting -> how to?

#1

Hi All,

How can I install the TCL syntax for Sublime?

How can I guide the Sublime for using the TCL syntax for all the files with an extension .qsf ?

Thank you!

0 Likes

#2

TCL syntax highlighting comes with ST. Open a .qsf file in ST, then View menu -> Syntax -> Open all with current extension as -> TCL

0 Likes

#3

When I go to "View -> Syntax ", there is only an option to choose the highlighting syntax, there is no an option “open all with current extension as”…
I’m using the Sublime build 4126 (latest)

0 Likes

#4

Maybe scroll up on the list?

0 Likes

#5

Another way (besides the one mentioned) is:

  1. Open a .tcl file.
  2. Go to Preferences -> Settings -- Syntax Specific from the main menu. This should open syntax specific settings for the TCL syntax in a split view window.
  3. On the right hand pane, paste the following (Just replace the entire contents of the right hand pane with the given snippet below)
// These settings override both User and Default settings for the Tcl syntax
{
    "hidden_extensions": [
        "qsf"
    ]
}

Your .qsf files should now have the TCL syntax set.

0 Likes