I'm trying to get Visual Studio to Rename a file when I'm in the solution explorer with a file or directory selected and I hit the F2 key. However, I also want Visual Studio to do Refactoring Renaming when I hit F2 and I am in the editor window with my cursor on a variable. I know it is something to do with setting the context of each (Global, TextEditor, etc). However, I can't seem to find the right combination. There is no "Solution Explorer" Context