Java OpenResty Spring Spring Boot MySQL Redis MongoDB PostgreSQL Linux Android Nginx 面试 小程序 Arthas JVM AQS juc Kubernetes Docker 诊断工具


IDEA Go 模板文件无法语法提示及高亮显示

IDEA Go 大约 274 字

下载插件

安装Go Template插件。

gohtml

Go Template插件默认只识别gohtml结尾的文件,其他文件无法语法提示和高亮显示。

添加自定义文件

例如:我们需要让IDEA.tmpl结尾的文件识别为Go Template

File Type中选择Recognized File Types,选择Go Template files,添加*.tmpl即可。

Preferences | Editor | File Types > Recognized File Types > Go Template files
阅读 147 · 发布于 2023-10-17

————        END        ————

Give me a Star, Thanks:)

https://github.com/fendoudebb

扫描下方二维码关注公众号和小程序↓↓↓

扫描二维码关注我
昵称:
随便看看 换一批