Visual Studio 2010 + ReSharper 5.1 Class Highlighting Problem - visual-studio

I have recently started using Visual Studio 2010 and ReSharper 5.1. It's working pretty well for me so far except for this one issue which I'm hoping someone has the answer for. Basically, like many others, I tend to use a dark colour scheme to improve readability over the default VS colour scheme. Having installed ReSharper I have noticed that when I navigate to a class name, the class name and any references to it get highlighted. That in itself is fine but with the colour scheme I've chosen, I'm getting a light-on-light combination which is unreadable.
I've gone through the Tools->Options->Fonts and Colors menu a few times but there doesn't seem to be an appropriate ReSharper item.
Here is a screenshot illustrating the highlighting problem

Set Highlighted Reference background color. It is not resharper one.

Related

Syntax coloring on unity visual studio?

For some reason nearly everything is simply white, I'd prefer the more varying colors based on like, what kind of thing you are typing. I just recently started so I don't know the terminology. I see a lot of Unity tutorials that have coloring like that. Thanks!
I'm using a cs file
I think what may work for u is this
Inside Visual Studio - go to Tools and scroll to Options
Text Editor
C# and then Advanced
and choose Visual Study 2019 under Editor Color Scheme
You may need to reload the project. In Solution Explorer it may state:
Assembly-CSharp (unloaded)
Right click this text and select Reload Project from the resulting context menu

Code color code and highlighting for unity

I have just starting learning how to make games in Unity, using Visual Studio as the Script Editor, I see other people have their Code colour coded and it also has auto completion.
I've followed some tutorials online but nothing has worked for me.
what do I have to install to get it working?
To add auto-completion you have to add the unity visual studio package. To add this package please type in your windows search field: "Visual Studio Installer" and then click at the visual studio version the button "change". After that, a new window opens in this window click the field with the unity package and then install this package. Now you have auto-completion in Visual Studio.
To add colors look this video: https://www.youtube.com/watch?v=_g1TyAGk6Lk& I really recommend this color theme.
The Color Coding of Code can be found on the Tools>Options>Environment>Fonts and Colors. For example, you want to change the color for the Operators (+, -, /, *, etc.), you would need to find it in the Display items List and edit (found on the Right Side of the Display Items) the color of the foreground (the text itself), it's background or whether it is displayed in bold or not.
I believe that auto completion or IntelliSense is on by default as for what I have Experienced in switching from MonoDevelop to Visual Studio 2017.
Actually, i think you're looking at a popular visual studio plugin called Resharper;
https://www.jetbrains.com/resharper/
It also has a Unity3D plugin (for resharper) which adds full support. That's were the coloring and extra intellisense comes from.
You can see some sample pictures here; https://github.com/JetBrains/resharper-unity

How can I correct this in the visual studio 2010 theme?

I have recently moved to a dark color theme for all my code editors. It is much easier on the eyes. But I recently came across an issue that I can’t figure out how to correct and was hoping that someone will have an answer.
When the method info box pops up this is what it looks like this:
Notice the method info is unreadable because the colors in the theme are meant for a dark background. How can I change the background of this popup?
The theme is a modified version of Coding Instinct available on StudioStyles. Here is my modified version. It sets the background for the linenumbers/marker margin plus some other minor tweaks.
It's Visual Studio 2010 Pro Power Tools extension causing the issue. Someone on the Q&A discussion thread for Visual Studio 2010 Pro Power Tools said:
it seems that the Fonts and Colors selection for "Signature Help Tooltip Background" is the Text Editor color definition that effects this.

Highlight all occurrences of a selected object with ReSharper

I was used to use RockScroll (or MetalScroll), but when I started to use ReSharper my RockScroll start to show some bugs. Well, this is scope to another discussion https://stackoverflow.com/questions/1089493/is-rockscroll-compatible-with-resharper.
But my problem is related, because now without MetalScroll I can't highlight all occurrences, what I consider very useful in many situations.
Someone have another plugin for VS2010 or for ReSharper that do the same or better?
I think you are looking for "Highlight usages in file" This can be access via Shift+Alt+F11 or Ctrl+Shift+F7 depending if you are using VS key bindings or InteliJ bindings. Use either Ctrl+Alt+Up/Down or Ctrl+Alt+PageUp/PageDown to go to next and previous highlights.
You can also use the Ctrl+Alt+G combo to bring up a menu of what to jump to. This can be used to move the cursor to the next occurrence.
You should try Productivity Power Tools for Visual Studio 2010. There are other versions, at least one for Visual Studio 2013 and another one for Visual Studio 2015.
It plays nicely with ReSharper and has this selected text matches highlighting both in the editor and the scrollbars among many other features.
Try the visual studio extension RockMargin which highlight the occurrences on double click (like most IDEs). Works fine with VS 2015 and ReSharper.

Keyword highlighting on selection in Visual Studio 2008

A little while ago I managed to get Visual Studio 2008 (C++) into a state where, if I would select a keyword (or any symbol for that matter), by either double clicking on it or highlighting it, all other instances of that symbol within the current file would become highlighted too.
This was a really useful feature.
Since then it's gone away, and I don't know how to get it back.
Please help.
#Sander - that'll be it. Thanks!
I think you've installed RockScroll. It also lights them up in the graphical scrollbar (its main feature)
I use MetalScroll, it's like RockScroll only better; it doesn't interfere with Resharper (a VS must-have) and you can set it up to only highlight if you hold down 'alt' when you double-click.
There is something called "WordLight" by Mikhail Nasyrov.
An add-in for Visual Studio 2008 that highlights all occurrences of a selected text.
It searches and highlights substrings that are currently selected in a text editor.
Can be found at below link
WordLight
https://marketplace.visualstudio.com/items?itemName=MikhailNasyrov.WordLight

Resources