Reputation: 116
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.
Upvotes: 1
Views: 2267
Reputation: 250
Check if you set the proper type of file on the right down corner:
Upvotes: 3
Reputation: 2788
It could come from an invalid syntax... your code does not look like python code...
Upvotes: 0