PyCharm change file type association

后端 未结 5 1731
野的像风
野的像风 2020-12-14 14:31

I have a file in PyCharm and its used to be just a .txt file. Now I wanted to use .rst (reStructuredText).

I know that when I open a file w

5条回答
  •  心在旅途
    2020-12-14 15:17

    PyCharm > Preferences > Editor > File Type > Recognised file types > Select one (e.g., Javascript) > Registered Patterns (+ add wildcard * > apply > - remove wildcard).

    This worked for me to get my files associated with the right type.

提交回复
热议问题