This repository has been archived by the owner on Jul 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 645
tag generate use the add/remove tag config as the default input. #2929
Labels
Comments
Thanks for reporting @czlhs PRs are most welcome to make this change. |
Ashniu123
added a commit
to Ashniu123/vscode-go
that referenced
this issue
Dec 12, 2019
resolves issue microsoft#2929
Thanks for the PR @Ashniu123 The change here should be available in the latest beta version of this extension. Please try it out and let us know how it goes |
The latest version of this extension (0.12.0) has this feature now. Thanks to @czlhs for reporting and to @Ashniu123 for the PR :) Happy Coding! |
for comment
"go.addTags": {
"tags": "yaml,json",
"options": "yaml=omitempty,yaml=options2,yaml=options3,json=omitempty",
"promptForTags": false,
"transform": "snakecase"
},
type Person struct {
Name string `yaml:"name,omitempty,options2,options3" json:"name,omitempty"`
Age int `yaml:"age,omitempty,options2,options3" json:"age,omitempty"`
Gender string `yaml:"gender,omitempty,options2,options3" json:"gender,omitempty"`
} |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Describe the solution you'd like
use the config.tags/config.options as the default input
The text was updated successfully, but these errors were encountered: