Load go.mod Changes Manually

Take control of when go.mod files are refreshed.

Make all your changes then run go list at the push of a button.

Navigate to Settings/Preferences | Build, Execution, Deployment | Build Tools and select External changes instead of Any changes.

Then, edit your go.mod file, and when you are done, press the button at the top-right corner of the editor to refresh these changes.


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.