Sublime Forum

How to disable syntax highlighting entirely?

#1

Hi, I have just started using st3 and find no option to turn off syntax highlighting. I did a search on this topic and landed on a support page which suggested to a similar request with “Use notepad”. I might be stupid, but I find the colors in st3 gaudy and overly obstructive, to the point where I can read nothing in my .cpp files. Is there any way I can turn off colors entirely ? Something like vim’s ‘:syntax off’

0 Likes

#2

Ctrl+Shift+P -> sspltx

Or View -> Syntax -> Plain Text.

0 Likes

#3

Thanks. It works, but not in the same session - upon st3 restart.

0 Likes

#4

"View > Syntax > Open all with current extension as > Plain Text "
will disable syntax highlighting for all your .cpp files and remember upon closing of Sublime

0 Likes

#5

You could also create a new color scheme that only defines a base foreground color but no colors for syntax elements. See docs.sublimetext.info/en/latest/ … hemes.html. (Basically, you only want global settings and no scoped settings.)

0 Likes

#6

This blog post helped me out

To remove an unwanted syntax from Sublime you can basically do two things:

  1. Disable them in the Sublime user settings file, or
  2. Remove the packages (because in fact, that’s what they are).
0 Likes