IDEA Go 模板文件无法语法提示及高亮显示
IDEA Go About 274 words下载插件
安装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
Views: 1,889 · Posted: 2023-10-17
————        END        ————
Give me a Star, Thanks:)
https://github.com/fendoudebb/LiteNote扫描下方二维码关注公众号和小程序↓↓↓
Loading...