如何打开文件并查看Intellij IDEA中的HTML亮点? [英] How can I open a file and see the HTML highlights in Intellij IDEA?
本文介绍了如何打开文件并查看Intellij IDEA中的HTML亮点?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一些非html文件,如**。gohtml,但我不知道如何将其作为html文件打开并查看Intellij IDEA中的highligts。我怎么能这样做。?
I have some non-html files like "**.gohtml", but I don't know how to open it as a html file and see the highligts in Intellij IDEA.How can I do this.?
推荐答案
我通过以下三个步骤解决了这个问题:
I figured this out by doing this three steps:
- 转到编辑>文件类型
- 查找文件类型 HTML 识别的文件类型
- 输入您想要的新通配符(点击加号按钮)已注册的模式
- Go to Editor>File Types
- Find the file Type HTML In Recognized File Types
- Enter the new wildcard(CLICK THE PLUS BUTTON) you want In Registered Patterns
这篇关于如何打开文件并查看Intellij IDEA中的HTML亮点?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文