Detect Variable Shadowing While Writing Go Code

Easily spot where you shadow variables that you did not intend to

Tip Screenshot

While writing code, observe if the variable color changes. If it does, then invoke the Context Actions menu via ⌘⌥⏎ (macOS) / Ctrl+Alt+Enter (Windows/Linux) and select Navigate to shadowed declaration to identify the originally shadowed identifier.


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.