Sublime Forum

Unique syntax highlighting per project

#1

Hi all – Looking for a way to associate a filetype with particular syntax highlighting, but per project/folder. For example, I may want .js files to use the standard syntax highlighting in most projects, but in project X I’d like to use the “Babel” highlighting. Is this possible?

1 Like

#2

I’ve been considering implementing something like this for JS Custom, though it may be more appropriate for a general-purpose package. I would also be interested to know if there is an existing option.

0 Likes

#3

I think that what you are looking for is the https://packagecontrol.io/packages/Project Specific Syntax Settings package:

0 Likes