I have Resharper installed and somehow CtrlW no longer "extends the selection". I tried assigning it to Global / Resharper.ExtendSelection in Tools -> Options -> Keyboard but it still only selects one word.
I have found the resolutions. Go to ReSharper -> Options -> Visual Studio Integration -> Keybord Shortcuts --> ReSharper or IntelliJ IDEA.Next time when you press CtrlW, Visual studio will ask you about shortcuts. You will choice ReSharper shortcuts and that is it.
A solution i found was to reconfigure keys at the Text Editor level (they are defined at Global level and for some (annoying) reason Resharper overrides this.
So: (Tools->Options->Environment->Keyboard), set Use new shortcut to Text Editor and redefine your shortcuts.
Tip: Look for your CtrlW favorites by writing view. at Show commands containing.
I needed View.ErrorList (CtrlW, CtrlE), View.Output (CtrlW, CtrlO) & View.SolutionExplorer (CtrlW, CtrlS)
HTH
p.s.
I even disabled Resharper and it still won't work...
A question and a suggestion:
Does Resharper | Edit | Extend Selection work?
Reapply VS integration via Resharper | Options | Visual Studio Integration | Apply Scheme
For me the reason was a silly one:
My C# file was removed from the project accidentally, so resharper no longer regarded it as C# code and so there were no syntactical elements to extend the selection to. In other files it worked ok.
In my case (Visual 2019)
go to Tools\Options\Environment\Keyboard
set Apply the following additional keyboard mapping scheme to Resharper (Visual Studio)
I had the silliest reason.
after the resharper installation I didn't apply my license or started the evaluation.
Related
In Resharper for Visual Studio, often I want to use a refactoring suggestion and I'm not sure whether it is part of Resharper or VS. Sometimes I have to push Ctrl+. to open Resharper's refactorings and then hit escape and then push Alt+Enter to open VS's wrench or light bulb.
Is there a way to combine these into one menu or otherwise see both, of course without losing the VS refactorings?
ReSharper used to be able to merge VS actions into the Alt+Enter menu, but right now as of 2022.3 this functionality is broken (see RSRP-486822).
I suggest you disable "Hide Visual Studio Quick Action icons in the left editor margin" setting in R# options. This was you will be able to see VS actions using Ctrl+., and R# actions using Alt+Enter.
Yesterday, resharper randomly uninstalled after I had VS crash, after re-installing, nothing works correctly. I have reset VS's default key bindings and then enabled resharper's. When I first use a resharper shortcut, a menu pops up as expected asking me to select whether or not to use the resharper versions of shortcuts. I say yes and select apply to all resharper shortcuts. This is where the strangeness begins. Here at work we use code cleanup a lot (ctrl+e, ctrl+f), but ever since the crash and reinstall, I cannot use this shortcut. It recognizes the ctrl+e and opens up recent files and doesn't wait for the ctrl+f part of the shortcut. Thoughts?
Seems like you applied "IDEA/ReSharper 2.x" keymap scheme. Please reset keymaps once again and then apply "Visual Studio" keymap scheme here ReSharper | Options | Environment | Keyboard & Menus.
By the way, a default Code Cleanup shortcut in "Visual Studio" scheme is "Ctrl+E, Ctrl+C", not "ctrl+e, ctrl+f" you mentioned
Does anyone know how to fix this, besides pressing esc then typing the variable name again?
JetBrains ReSharper 6.1 C# Edition
Build 6.1.37.86 on 2011-12-21T04:15:24
Plugins: none
Visual Studio 10.0.30319.1.
You may want to try changing the IntelliSense option:
Whether you're using IntelliSense ReSharper or Visual Studio, try changing it, then changing it back. I've sometimes had similar issues and toggling the option can help.
Usually restart of Visual Studio tends to re-enable intellisense, I'd much rather a proper fix from JetBrains.
For me, R# intellisense stopped working after installing (and then uninstalling) certain R# extensions. Adding the extensions back fixed the problem.
Edit 1:
Also, try playing with the R# IntelliSense options and see what happens.
In particular switch "Options | Environment | IntelliSense | Completion Appearance | Display completion items in:" from "Visual Studio IntelliSense font" to "Text Editor font" and back.
In the end I tried many things (including upgrading and downgrading R#) over and over again until R# IntelliSense was back.
I had this issue, and I hadn't realized I had opened a project in Folder view mode. Resharper Intellisense won't show unless you switch to a solution view.
Make sure you select a solution instead of a Folder view:
I have been evaluating Resharper and have heard how great it is. I agree that its code inspection is great, but I have to seriously disagree with the greatness of most other features.
All of the warts it adds to Visual Studio are killing my productivity. It has eaten Visual Studio's shortcut keys even though I told it not to, and even when I remap "Find All References" to Visual Studio, Resharper still coopts it.
We would like to be able to use the Code Inspection functionality and absolutely nothing else. Is this possible through documented or undocumented methods?
If problem only in keyboard shortcuts, you can change Keyboard scheme to Visual Studio. Go to menu Resharper -> Options -> Keyboard and Menus. Check Visual Studio Keyboard scheme at right part of window and apply it.
For some reason VS2010 seems to intercept it and want to create a new project.
How do I get round this problem?
Sounds like you may need to reapply the ReSharper keyboard scheme.
(Note that Ctrl+Shift+N is the R# keystroke for Go to File only in the (older) 'IntelliJ IDEA' keyboard scheme)
In ReSharper | Options | Environment | Visual Studio Integration, select the 'ReSharper 2.x or IntelliJ IDEAradio button, then clickApply Scheme`.
If you don't want Ctrl-Shift-N to launch the new project dialog then you can remove that keyboard shortcut by going Tools->Options->Environment->Keyboard