PHPStorm将特定文件名呈现为纯文本 [英] PHPStorm renders a particular file name as plain text
本文介绍了PHPStorm将特定文件名呈现为纯文本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
由于某种原因,PHPStorm决定将名为root.js的任何文件呈现为纯文本,而无需进行JS着色和调试.有谁知道如何解决这个问题???这让我发疯了!!!
For some reason, PHPStorm has decided to render any file named root.js as plain text without the JS coloring and debugging. Does anyone know how to correct this issue??? It is driving me crazy!!!
推荐答案
转到IDE Settings -> File types
并在可识别的文件类型中查找Text files
.可能添加了名为root.js
Go to IDE Settings -> File types
and look for Text files
in Recognized file types. There might be an added pattern named root.js
对于较新的版本,此设置位于Editor -> File types
For newer versions this setting is found in Editor -> File types
这篇关于PHPStorm将特定文件名呈现为纯文本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文