Sai Teja Chowderpally
Sai Teja Chowderpally

Reputation: 116

Sublime text pink highlighting of .py files

Whenever I open odoo project or sometime django project, all the .py files began to get highlighted in the colour pink and I don't know the reason why. Sometimes I had to set syntax to python by hitting Ctrl + Shift + P and it turns alright. but, I can't do the same for each and every files right ? tough I do that, If I close and open the project still the same exists. Please, someone do help me out to get rid of this. Thanks in advance.

enter image description here

Upvotes: 1

Views: 2267

Answers (2)

Check if you set the proper type of file on the right down corner: enter image description here

Upvotes: 3

Dadep
Dadep

Reputation: 2788

It could come from an invalid syntax... your code does not look like python code...

Upvotes: 0

Related Questions