1、GoLand 中的 AI Assistant:Rename(重命名)
命名并不简单! 因此,GoLand 中的 AI Assistant 会建议函数的命名思路以提高可读性。
2、GoLand 中的 AI Assistant:Write documentation(编写文档)
编写代码文档是一种繁琐而必要的例程。 只需点击几下,Write documentation(编写文档)操作即可快速编写注释良好的代码。
3、GoLand 中的 AI Assistant:Generate Unit Test(生成单元测试)
AI Assistant 可以帮助您为特定函数或方法创建测试,并在创建初始测试类后建议添加更多测试用例。