How do I get rid of these bits highlighted in yellow that keep auto-appearing (like a codelens feature):
I just got a new computer so this is a fresh install of both VS and Resharper - I have been unable to determine which is responsible for this "feature", but I hate it.
Anyone know how to disable it?
This is a ReSharper 2018.3-introduced feature called Inline Parameter Hints. In Visual Studio 2017, go to (your menu choices may differ slightly, but you'll get the idea...) Tools | Options | ReSharper Ultimate | General and click Options. From there you will see a screen similar to this:
You can customize the behavior of this feature there.
I should have quite a lot of snippets available to me but when I type in "ng" I am not seeing them. All I get is what is in the below image. Is there a chance Resharper can be overriding it? If so, does anyone know how to resolve it? I have not been able to research a solution so this was my last hope.
Default key for using an non resharper snippet when resharper is installed is ctrl k x that should bring up the menu.
There are two ways to invoke Visual Studio's own code snippets when using ReSharper.
If you want to show VS's own code snippets menu, set your own shortcut for "Edit | Intellisense | Insert Snippet" item (via VS options -> Environment -> Keyboard).
If you want to have VS's code snippets in code completion, you can override code completion to come from Visual Studio instead of ReSharper. Go to ReSharper | Options | Environment | IntelliSense | General, and set code completion type to 'Visual Studio'. But please note that this disables ReSharper's own code completion.
ReSharper will include Angular 2 live templates since 2017.2, created a ticket for that: https://youtrack.jetbrains.com/issue/RSRP-464025.
In Visual Studio 2010, sometimes within the same session (not having rebooted the app) intellisense gets turned off. The checkboxes in Tools > Options > Text Editory > C# > Statement Completion, "Auto List Members" and "Parameter Information" become unchecked.
I have Resharper installed as well. But Resharper does not control that setting, as far as I know.
This can happen a couple times a day to me, all without restarting Visual Studio.
There is, apparently, a documented bug for Resharper: http://blogs.jetbrains.com/dotnet/2011/02/resharper-513-is-released/
Excerpt:
ReSharper 5.1.3 provides exactly one bug fix that prevents disabling Parameter
Information and auto-completion when you’re using native Visual Studio
IntelliSense (as opposed to ReSharper IntelliSense).
Please note that if you’re been using ReSharper IntelliSense as a workaround in
5.1.2, as soon as you switch back to Visual Studio IntelliSense, you’ll have to
initially set Auto-list members and Parameter information check boxes manually,
but that is only required once.
I've noticed this in ReSharper 7.1.1 as well, at least regarding javascript intellisense having the same problem. My workaround was to tell Reshaper to use 'Visual Studio' as its Intellisense option Resharper > Options > Intellisense > General. (you can still bring up Resharper's intellisense with Ctrl + Alt + Space)
Once I did that it kept my Visual Studio options checked for good.
My Visual Studio 2010 is too slow most of the time. So I decided to disable the vs2010 Intellisense. Can any one help me?
For C/C++: Tools -> Options -> Text Editor -> C/C++ -> Advanced -> Disable IntelliSense.
Update: This also works with VS2012.
Microsoft doesn’t provide any way to disable Intellisense. This wouldn’t be a problem, except Intellisense can and does crash.
To disable Intellisense, close Visual Studio and navigate to your vcpackages folder:
C:\Program Files\Microsoft Visual Studio 8\VC\vcpackages
Rename the file feacp.dll to something like foulup.dll. Now Visual Studio won’t be able to load Intellisense, but rather than crash it will just quietly drop its features.
or
Also have look to this solutions : how to disable intellisense...
Ctrl + J.
In case you are using ReSharper the way to disable IntelliSense is as following: ReSharper > Options... > Environment > IntelliSense > Autopopup > Enable Automatic IntelliSense Popup > Uncheck > Save > Profit.
This also works in Visual Studio 2012 for C#.
Simplest way I can think of: change the file extension association so that *.cs files open in a plaintext document window, not the C# editor. Repeat for other extensions as desired.
It's actually easy for most languages:
Select Tools/Options on the menu. On the Options dialog box, select Text Editor, then select the language you use, then select "General". Uncheck "Auto list members" and "Parameter completion".
Works on VS 2012, 2010, and others, and seems to be available for most languages including C#, Basic, and C/C++.
Change the file extension to ".txt "
Edit without intellisense.
Change file extension back to what it was.
This is driving me crazy. Ever since I installed ReSharper 4, F12 no longer seems to work. If you look at the all the ReSharper short cuts in the Goto sub menu Declaration doesn't have any assigned!
The only way I can go to declaration is by using Alt and ` and then selecting Declaration.
I have tried un-installing and re-installing ReSharper with no luck, I have also, in ReSharper option asked it to use the default Visual Studio Key Bindings but that doesn't to work either.
Interestingly, when I do use Alt and ` I actually get two entries for the Declaration option.
Has anyone come across this problem?
I am using Visual Studio 2005 SP1.
I ran into the same issue and resolved it by first resetting my Visual Studio keyboard mappings:
Tools > Options > Keyboard > Reset
Then going into the ReSharper options and applying the scheme:
Resharper > Options > Visual Studio Integration > Apply Scheme
Update:
For VS2017 onwards:
Tools > Options > Environment > Keyboard > Reset
For Resharper 2017.2:
Resharper > Options > Environment > Keyboard & Menus > Keyboard Shortcuts > Apply Scheme
I have had a few occasions where Resharper and Visual Studio keybindings got mixed up and I had problems sorting them out.
If it is only one or two bindings you care about then you can change them by going to the
Tools->Customize->Keyboard menu option.
For ReSharper 8 and Visual Studio 2012:
Tools > Options > Keyboard > Reset
Then going into the ReSharper options and applying the scheme:
Resharper > Options > Environment > Keyboard & Menus > (Select Visual Studio under Keyboard Shortcuts) > Apply Scheme > Save
I had this problem and it was resolved by following the steps described in the picture:
Open Visual Studio Tabs on the path: Tools>>Options>>Keyboard
Open Visual Studio Tabs on the path: Resharper>>Options>>Keyboard & Menus and Do the following:
And Then Reopen the path above and do the following:
Finally, close the Visual Studio and open it.
I had this issue in VS2015 using Resharper 9.1.3, I tried Ryan's answer but it still didn't work.
After doing the steps Ryan outlined, I clicked F12 where Resharper asks What do you want to do?, I select Use Visual Studio commands. Still doesn't work.
Tools > Options > Keyboard > Select ReSharper.ReSharper_GotoNextHighlight from command list box
Change Shortcuts for selected command to F12 (Text Editor), click Remove and OK.
After this it works!
Try simple way to enable it, press Fn + Esc key of the keyboard.
It is possible that you have enabled Fn mode (Blue Keys) on your keyboard which overrides default behavior of functional keys including F12.
I had the same problem with VS2013 and Resharper 9. I have a code like this:
gridList.Method1();
gridList.Method2();
I then right-click on any of gridList and click Find Usages (or just use Shift+F12) but it says "Usages not found" even though it is just one line away! Sometimes VS restart would help, sometimes it wouldn't. It looks like clearing the cache of Reshaper helps though: Resharper -> Options -> Environment -> General -> Clear Caches. This needs VS to be restarted, but then it started working as expected.
My problem was that I couldn't use the command "Alt + F12" when trying to "peek definition" in Visual Studio. I found out through another forum-thread that it was Nvidia's GeForce Experience that overrides some of the "Alt" shortcuts and uses them for their functionalities with screen recordings etc.
What solved it for me, was going into the GeForce Experience settings and switch off the use of in-game overlay:
Alternatively, if you want to use the overlay, you can just change the short cut commands.
For ReSharper Ultimate 2017.3.3 and Visual Studio 2017:
Tools > Options > Tools > External Sources > Default Visual Studio Navigation > Save
I ran into this problem after an organizational change that caused my windows profile to change. I tried the solutions listed above, but nothing seemed to work.
Here is how I fixed it (brute force worked!)
NOTE: Steps listed are for VS 2012 and ReSharper 7.1.3
Uninstalled Re-Sharper
Exit visual studio, ensure the process devenv.exe is no longer there in the running processes (was there in my case and I had to do a "End Process Tree" from Task Manager)
Fired up VS 2012, and from the menu Tools -> Options -> Environment -> Keyboard selected Visual C# 2005 (or any other setting you love) and pressed Reset
Shutdown VS again (and ensure devenv.exe has been killed in Task manager)
Re-installed re-sharper
Best of luck!
These steps solved it for me:
Uninstall keyboard in Device Manager
Re-insert your keyboard usb
"Web Essentials"
Add or update visual studio "Web Essentials" You can find it at:
Menu>>Tools>>Extensions and Updates
I hope this will save your time. It worked for me.
ReSharper added a crap 'good' new thing that they now call a feature: Smart Go To Declaration. As dumb as it may sound, it comes enabled by default: crap 'good'.
The feature is described on the link provided from here but honestly at least it should've keep it disabled, not reinvent the wheel. It also tells you how to disable that crap 'good' feature.
Sometimes it has noting to do with Visual Studio at all. Be sure your keyboard has its function key setting of the keyboard itself to send the F12 function to Visual Studio. It is an easy thing to miss.
I had just installed Pulover’s Macro Creator and F12 was set as the global hotkey to pause a macro. It was intercepting the keypress before it had a chance to get to VS.
Solution is to change that hotkey to something else. I chose Ctrl-F12. The input box is on the top right of the Pulover window.
Update 2020. I had the same problem and also tried a lot of ways, but that was still didn't working... [VS 2015, ReSharper 2019.3.1]
But, like Andrius said:
Resharper -> Options -> Environment -> General -> Clear Caches. This needs VS to be restarted, but then it started working as expected.
Summary is: (try steps above) + Resharper..-> Clear Caches + VS restart. Hope this will be useful