Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I turn on syntax highlighting/coloring in Pycharm

Basically, for whatever reason pycharm's syntax highlighting/coloring just isn't working; all of the text just appears as plain black. This is despite the fact that according to my editor settings, under IDE Settings -> Editor -> Colors & Fonts -> General the highlighting/coloring does appear to be turned on and defined correctly. Can anyone tell me how to turn this on correctly? Thanks!

like image 435
rmehlinger Avatar asked Jul 02 '12 19:07

rmehlinger


2 Answers

Also advanced syntax highlighting/code inspections can appear to be broken but you will have to turn off power save to get them back :)

File>Power Save Mode

like image 101
lee penkman Avatar answered Nov 15 '22 19:11

lee penkman


Checkout Settings | File Types. Probably the extension of file you need to be highlighted registered as Text file.

like image 26
Dmitry Trofimov Avatar answered Nov 15 '22 18:11

Dmitry Trofimov