Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How does one force PyCharm to open a file as XML?

I have some .ui files generated by Qt Designer; they are simple XML files but PyCharm refuses to open them. The filetype is listed among the ones "recognized" by PyCharm, but I can't find a way to specify how it should deal with it.

Does anybody know how can I force PyCharm to let me edit the XML source?

like image 380
Giacomo Lacava Avatar asked Mar 01 '12 08:03

Giacomo Lacava


1 Answers

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

like image 183
CrazyCoder Avatar answered Nov 02 '22 19:11

CrazyCoder