How to get PyCharm to open the file as XML?

I have some .ui files created by Qt Designer; these are simple XML files, but PyCharm refuses to open them. The file type is indicated among those that are β€œrecognized” by PyCharm, but I cannot find a way to indicate how it should work with it.

Does anyone know how I can get PyCharm to let me edit the XML source?

+7
source share
1 answer

You can edit associations in Settings ( Preferences on Mac) | File Types , map .ui extension to XML files .

+8
source

All Articles