Sublime Forum

How do I prevent .tcl from defaulting to HTML(Tcl) mode?

#1

When I create or open a new .tcl file, sublime 2 defaults to HTML (Tcl) mode. Tcl mode should be the default, I am unsure why .tcl is even mapped to HTML (Tcl) mode. Anyway, how can I change this?

Thanks,

Jeremy

0 Likes

#2

The most desirable way is simply adding this to your “Global Settings - User” file:

[code]{
“ignored_packages”:

	"TCL/HTML (Tcl)"
]

}[/code]

The HTML (Tcl) language file is therefore skipped unless you explicitly select it.

0 Likes

#3

Hi,

I have the same problem, and i tried to solve it with the following entry in Global.sublime-settings:

"ignored_packages": "Vintage", "TCL/HTML (Tcl)"]

but it didn’t work (.tcl files still defaults to “HTML (Tcl)”).

Is this the wrong syntax, or have i to do something different?

(ST2 Build is 2139 because of a different problem with newer versions)

Thanks,
René

0 Likes