webstorm 文件識別異常問題
webstorm 使用問題
- 你發現 .js、.vue、.jsx 文件中render方法無論用了,而且import的文件路徑都使用cmd 點不進去。這是由於 .js及某個文件被識別爲txt文件。
- 解決方式以下
- 左上角 webstorm -> Preferences -> Editor -> File Types -> Recognized File Types 下的【Text】文件。而後在下邊的 File Name Patterns 找到對應的.js、.vue、.jsx文件,點擊減號- 便可消除。
- 詳如圖
![image.png image.png](http://static.javashuo.com/static/loading.gif)
![image.png image.png](http://static.javashuo.com/static/loading.gif)
歡迎關注本站公眾號,獲取更多信息