Sublimation of Sublimation Text

Is it possible to match the suffix of files opened by sublime text 2 to look like other languages ​​to get the coloring of the text? for example, when I open a * .cu file, it is not recognized by the elevated text as a valid file extension, so it opens the file, and there is no text coloring at all. however, if you open php or C ++ files, the file will be recognized as a valid file extension, and there will be text coloring, which will make it easier to read.

I know that a text repeater has this feature and you are expanding the camera extension. * .cu to be similar to C ++, so when you open a .cu file, the text coloring will look like a C ++ file.

+4
source share
1 answer

Yes it is.

Please look:

http://opensourcehacker.com/2012/05/11/sublime-text-2-tips-for-python-and-web-developers/

->

Map file formats for syntax highlighting

+5
source

Source: https://habr.com/ru/post/1412101/


All Articles