Change file type association in PyCharm
Actually, @CrazyCoder is right: If you accidentally mis-labeled the file, PyCharm remembers it and sets a “pattern” for the new file based on the name. So go to Settings | Editor | File Types, find the type you accidentally mislabeled and remove it from the “Registered Patterns” list. For example, I mislabed “osm.py” as text … Read more