At Visual Studio 2010, there will be a red dot(s) on scroll bar indicated where your code has errors. Also a other color dots for other message etc.
But after installed Visual Studio 2012, I cannot see this feature anywhere, tried toolbar-options, nowhere to found.
Am I miss something? Or Microsoft just removed this feature.
{EDIT}
Sample of Visual Studio 2010
And Visual Studio 2012, where these nice little dot candy go?
The dots you see on the scrollbar are definitely a feature of the "Productivity Power Tools" Extensions "Enhanced Scrollbar".
Link
There are 3 Modes to enhance the Scrollbar, your Screenshot displays the first (default) one.
Unfortunately, there seems to be no equivalent for VS2012. Or does anyone know of an extension that improves the scrollbar like that?
Is it possible you were using the jetbrains resharper tool? That provides the feature you describe, but I don't recall ever seeing it in visual studio
Have you got code errors? :P
Check the editor settings out, I am pretty sure it is there it might just be off by default.
As you add code and build your solution, you may see different-colored wavy underlines (known as squiggles) appearing in your code. These marks notify you of problems Visual Studio has detected in your code. For example, red squiggles denote syntax errors, blue squiggles denote compiler errors, green squiggles denote warnings, and purple squiggles denote other types of error. For example, they are used for "rude" edits in Visual Basic, which are changes that are made during Edit and Continue and that will result in compiler errors.
You can see the default color for each error and warning squiggle in the Tools/Options/Environment/Fonts and Colors dialog box. Look for Syntax Error, Compiler Error, Warning, and Other Error.
From here: http://msdn.microsoft.com/en-us/library/efc4xwkb%28v=vs.110%29.aspx
Related
Sometimes my Visual Studio IDE tries to "help" me with this strange behavior:
(look at the red border and gray tooltip about Tab suggestion)
but in reality it's very annoying and I make more mistakes if I suddenly press the Tab button.
How can I turn off this sugestion / help of Visual studio?
It seems the problem is global. Vote here if you want Microsoft to fix it soon:
The red AI highlighting with the arrow and tab to replace is not working correctly
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
Is there a way in Visual Studio (2012, C++) to allow the IDE to highlight compiler errors and TODO comments (like how Eclipse shows them- as a colored line near the current file's scrollbar)?
I know there is a window called Task List, but I don't want another window- just the lines "highlighted" near the scrollbar.
Enhanced Scrollbar from Productivity Power Tools 2012 shows compiler errors, changes, bookmarks and breakpoints near the scrollbar, but not tasks.
Whenever I use CSS3 style commands (like Box-shadow, Box-Sizing, background gradient,etc ) in my Visual Studio 2010 projects and compiles it, VS shows one or more errors regarding CSS3 styles. How can I overcome this behavior of Visual Studio?
You can turn off CSS validation errors in Visual Studio from Tools menu. Select Tools > Options and perform the action shown in the following image.
Up the top there is drop down text box (next to comments in toolbar). Open that and see if you have HTML5/CSS3 in there. If not, you have to download it from MSDN.
I have a better answer for you than the currently accepted answer. It's actually just a small change to said answer and here it is. Just check the "as warnings" box. So it doesn't show up as an error (which is good because it ain't one), but it does show up in your pleasantly-ignorable warnings list still.
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