How can I change the file type association of an existing file in WebStorm?

后端 未结 10 1356
予麋鹿
予麋鹿 2020-12-23 00:28

I accidentally created a file with no extension and I chose the wrong file type association. Text Document I think. I renamed it to have the .js extension which is what I

10条回答
  •  星月不相逢
    2020-12-23 00:56

    Refer to File -> Settings -> IDE Settings -> File Types

    In right select "Text files" in Reconigzed File Types then find in Registered Patterns your file and click remove your file

提交回复
热议问题