0
点赞
收藏
分享

微信扫一扫

goland 保存时自动格式化代码 fmt

精进的医生 2022-06-20 阅读 207

goland idea可以帮助我们在保存时自动格式化代码
下面列一下 goland 怎么配置:

file-setting
goland 保存时自动格式化代码 fmt_ide

2. tools-file watchers

goland 保存时自动格式化代码 fmt_ide_02

3. 添加go fmt

goland 保存时自动格式化代码 fmt_ide_03

4. 测试 编写代码(ctrl+s),保存并格式化代码

goland 保存时自动格式化代码 fmt_编写代码_04


举报

相关推荐

0 条评论