Rename a File and its References

Change your mind on a file name, and the IDE makes all the changes for you.

Rename files with peace of mind.

Changed your name about what you named a file, and now you need to rename the test and example files too? Let the IDE handle all this work.

Invoke Rename Refactoring via ⇧F6 (macOS) / Shift+F6 (Windows/Linux), and do the work, safely and quickly.


Related Resources

Extract Type Refactoring
Extract Type Refactoring
Extract a type into its own definition and improve the reusability in your code.
Rename Go Module Refactoring
Rename Go Module Refactoring
Upgrade Go modules to newer versions with ease
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.