Annoying Visual Studio IDE Highlighting Question - visual-studio

In Visual Studio 2010 I have applied a different color scheme and installed a productivity tool (Teleriks JustCode)... now where every my cursor is the background color of the entire line is light gray. It's really annoying and I'm not sure what is causing it. Has anyone seen this? If so do you know how to turn it off?

I guess it's the Highlight current line option of Resharper or Productivity Power Tools
Deactivate in Resharper
Resharper > Options > Editor > Untick "Highlight current line"
Deactivate in Productivity Power Tools
Tools > Options > Productivity Power Tools > "Highlight current line" to Off

Tools: Options: Environment: Fonts and Colors: Current Line (x2).
Yes, I have seen this, and yes, I have turned it off :-)

Related

Visual Studio 2015 colors of tabs changed

I have trivial problem. I reinstalled my VS2015 and now when I open up my old solution I get other colors than few days ago( theme is the same ).
go to Tools > Options > Productivity Power Tools > Custom Document Well > General
and uncheck color tabs by project
in French : tools means outils
You probably installed Productivity Power Tools, which does change the tabs to another color groups.
https://visualstudiogallery.msdn.microsoft.com/34ebc6a2-2777-421d-8914-e29c1dfa7f5d

Active tab in Visual Studio moves left?

In Visual Studio 2015 Pro, all of a sudden whichever editor window I have active, its tab moves to the leftmost position.
It must have been some key combination I hit and I can't figure out how to turn it off. I have power tools installed but haven't seen this as an option before. I just mention it because I know it has options for coloring/sorting tabs.
Any help is greatly appreciated.
The behavior you're seeing is a result of the new "Sort by Most Recently Used" option added to Productivity Power Tools in July 2016.
This feature is enabled by default, but can be disabled in Tools > Options > Productivity Power Tools > Custom Document Well > Sorting: Most recently used.

Visual Studio 2010 - Productivity Power Tools - Highlight Current Line's colour resets on VS reload

I have Visual Studio 2010 Pro installed with "Productivity Power Tools" being the only extention and "Highlight Current Line" the only option enbled on that extention.
I then change the colour of the "Current Line (Extention)" to a darker colour (as my background is black not white and the light grey is to harsh)
BUT every time I open/restart Visual Stuio 2010 the current line is highlighted with the default light grey colour again. I can correct this by opening up "Tools", "Options...", "Enviroment", "Fonts and Colors" and clicking "OK" but I need to do this EVERY TIME I load VS2010.
Does anyone know a work around or solution to this?
Thanks in Advance.
EDIT:
Just to be clear the settings are NOT lost they are just not applied after I start VS2010 until I enter the "Fonts and Colors" option section and just click OK.
I don't even need to change or reapply the settings as they are already there! I suspect a fault in the power tools extension but from what I have read on the site MS aren't updating them now as they are working on the next version of VS.
I know of no real reason this is happening to you. I suggest you get the latest updates of Visual Studio 2010 and Power Tools if you haven't already.
As a work around you might save your settings through the Tools|Import and Export Settings menu. Export only Options>Environment>Fonts and Colors
Disable the powertools option for current line highlight and enable the Resharper current line highlight.
Works like a charm

Visual Studio's Intellisense Broken With Productivity Power Tools

In Visual Studio 2010, the general format of Intellisense/Tooltips is radically altered after installing the Productivity Power Tools. In my opinion, the change severely harms productivity. The below images show the before and after:
With Productivity Power Tools Uninstalled/Disabled:
With Productivity Power Tools Installed/Enabled:
What is the option that I need to disable within Productivity Power Tools to turn this off? I like some of the tools but definitely dislike this particular one. I've tried toggling all of the obvious ones but can't seem to find the correct one.
Note: this question is asking about a similar issue but the accepted answer seems totally irrelevant.
The option you are looking for is called Solution Navigator.
You can get to this option by clicking the "Tools" menu in Visual Studio and selecting "Options...". Scroll down the left pane until you see "Productivity Power Tools". Select it. You will see a bunch of On/Off switches. Scroll down the right pane until you see "Solution Navigator". Turn it off and restart Visual Studio. It took me forever to identify the culprit and I hope this answer will save others some precious time.
Solution Navigator seems like it wouldn't be the culprit but the documentation states:
Solution Navigator also provides interactive tooltips in C# and VB
code (replacing the default “quick info” tooltips) that give you the
same kind of data, but right at your fingertips.
It's a shame that you can't disable just the tooltips, it's all or nothing. The solution navigator itself is actually kind of nifty.
If you go into the settings for the Productivity Power Tools (Tools > Options > Productivity Power Tools) there is a node called Solution Navigator. In that node there is an "Enable interactive tooltips" option. Make sure that is unchecked to disable the Power Tools tool tips and get the normal Visual Studio tool tips back.
colithium's answer is what led me to find this setting. I'm using version 10.0.20626.18, I'm not sure if that is the case in earlier versions.

F12 no longer works in Visual Studio

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

Resources