Crtl + Shift + P{ "pln": { "prefix": "pln", "body": "fmt.Println($0)", "description": "fmt.Println()" }, "plf": { "prefix": "plf", "body": "fmt.Printf(\"$0\\n\",)", "description": "fmt.Printf()" }, "pim": { "prefix": "pim", "body": "package main\nimport (\n\t\"fmt\"\n)\nfunc main() {\n\tfmt.Println($0)\n}", "description": "pkgim" }, }
>snippets 配置用户自定义代码块
go => go.json