Update file references when changing a filename


#1

I was watching a colleague use webstorm and noticed he changed a filename and did not need to change any import references to that file (in a javascript project), as webstorm did it automatically. This is great as it can save a lot of time and prevent bugs.


#2

These are the refactoring features, you can use them by right clicking in the editor and using the refactoring menu.

That said we do not have one that renames symbols based on file names. It would have to make quite a few error-prone assumptions as to my knowledge there is no language that explicitly ties file names to symbol names (libraries, autoloaders, etc. yes… but not the language itself).