IDEA如何修改对于一种扩展名文件的代码高亮识别和格式化方式?

如果你只是想用html的编辑模式来编辑*.tpl文件的话,可以在Settings->Editor->File Types 中,在Recognized File Types选中HTML,在下方Registered Patterns中添加*.tpl

原文地址:https://www.cnblogs.com/chendezhen/p/13912819.html