Change Struct Tag Style

Quickly change different styles of the struct tags.

Need to change the case of struct tag keys?

Choose between snake_case, (lower) camelCase, (upper) CamelCase, or kebap-case and apply this to the whole struct in a few steps.

How to use:

Place the cursor on a struct field, then invoke the Context Actions menu via ⌃⏎ (macOS) / Ctrl+Enter (Windows/Linux).

Select Change field name style in tags, and choose between one of the four styles available.


Related Resources

Improve Code Readability and Navigation
Improve Code Readability and Navigation
Discover how to manage code visibility with code folding in Go
Create a Function in Another Package
Create a Function in Another Package
Type a non-existing function name and generate its implementation in a package of your choice.
Empower your `Printf`-like functions with coding assistance
Empower your `Printf`-like functions with coding assistance
Provide hints and highlights for message formats in custom `Printf`-like functions.