WestCoastProjects
WestCoastProjects

Reputation: 63201

A Python file is not properly detected and is missing syntax highlighting in Intellij

I have configured python3 and added python3 as a facet to my project. However syntax highlighting still does not appear. I am on osx 10.8 and using Intellij Ultimate 12.1.4

enter image description here

enter image description here

Upvotes: 1

Views: 1524

Answers (1)

CrazyCoder
CrazyCoder

Reputation: 402375

Go to Preferences | File Types and make sure .py extension is mapped to Python Files, also check that this specific file is not mapped to Text Files.

Upvotes: 3

Related Questions