phpStorm 6.03 refactor->rename is disabled.

Recently I have run into a problem where the rename shift+f6 and all the menu options are disabled.  I can't find any setups that would cause this.  I also tried to invalidate cache to clean things up with no success.  I have noticed that when I restart the program, the rename short cut in the Refactor menu item is active for a shourt while and then seems to disable itself.

UPDATE.  Looks like I have to have the file closed before I can rename it.  I don't remember having to do that in the past but maybe I just missed it.

Thanks for your help.

1 comment
Comment actions Permalink

Hi there,

Availability of "Refactor" menu items depends on focused element (what IDE (tool)window is active; where cursor is etc).

To rename a file you need to take focus away from Editor to Project View (for example) and highlight that file. When focus is in Editor, depending on what element is under cursor, the "Rename" may be either disabled or will be used to rename variable/class/method...


Please sign in to leave a comment.