Sublime Forum

Syntax Shortlist

#1

Using ST3, is there a way to shorten the list of syntax options that are presented when changing the syntax? There are about 50 language options, and I only use about 5, so I’d like to only see those 5 to quickly select, .e.g., css, js, html, php, or sql.

0 Likes

#2

As far as I know there isn’t, but, using command palette super+shift+p you can switch syntax pretty quickly via the fuzzy search. Just typing sscss, ssjvs, ssph pulls those syntax options up.

0 Likes

#3

I agree with you.

0 Likes

#4

You could always disable unwanted packages.

0 Likes

#5

I was able to remove those syntaxes from my options using the following in my user preferences. This was generated by simply disabling those packages.

[code]{
“ignored_packages”:

	"ActionScript",
	"C++",
	"Haskell",
	"TCL",
	"Go",
	"Lisp",
	"Graphviz",
	"Scala",
	"Pascal",
	"Clojure",
	"ASP",
	"Vintage",
	"Objective-C",
	"R",
	"RestructuredText",
	"Erlang",
	"Groovy",
	"Lua",
	"OCaml",
	"C#",
	"Matlab",
	"Textile",
	"D",
	"Batch File",
	"AppleScript",
	"Makefile",
	"LaTeX",
	"Java"
]

}
[/code]

0 Likes

#6

I think typing sscss, ssjvs, ssph pulls those syntax options up as earlier stated however;
you could as well use palette super+shift+p y which can switch syntax pretty quickly

[size=50]http://ninjavsvitamix.com/[/size]

0 Likes