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扫描下方二维码关注公众号和小程序↓↓↓

昵称:
随便看看
换一批
-
MySQL update limit 更新限定条数阅读 4389
-
Docker 部署 JumpServer阅读 1568
-
MySQL 数据库设置 root 密码阅读 1380
-
算法每日一题20190622:罗马数字转整数阅读 2439
-
OpenResty lua-resty-auto-ssl: failed to set ocsp stapling for阅读 2367
-
Java 并发编程之 AQS ReentrantReadWriteLock 读写锁源码解析阅读 1146
-
Alpine Linux apk 包管理器阅读 841
-
Windows 子系统 WslRegisterDistribution failed with error: 0xc03a001a阅读 1266
-
Docker 部署 Redis阅读 1043
-
PHP Markdown 解析器阅读 2543