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.

How to use:

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
Discover how to manage code visibility with code folding in Go
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
Provide hints and highlights for message formats in custom `Printf`-like functions