I have set a breakpoint on a line of code in my Visual Studio 2013 IDE, and in doing so I see that the red circle that usually appears on the left is missing. The line is still highlighted with the red background - that's working fine, but the red circle image is not shown.
Does anyone know if this is a setting in VS, or does it sound like something is broken?
EDIT:
Here is how a breakpoint looks in the IDE (non-running):
As you can see, the red circle that usually appears on the left is nowhere to be seen.
My issue was caused by a setting.
I had "Indicator Margin" disabled in the Text Editor -> General settings. Ticking that box fixed the problem.
Related
I would like to change the background color in Visual Studio when there are no code window. Basically the default background of the window. Here is a picture...
The arrow is pointing to the area I would like to color. Any thoughts?
If you want to stay in dark mode and try to change only some areas of color. You should try to this extension. Have a nice day.
Hamit Enes pointed me in the right direction. There is an extension that let's you create themes that have a much wider and clearer set of color selections. While I could not find what I needed in the VS tools, the theme editor led me right to it. Turns out what I need was in the "Main Window, Active Background".
Somehow, after a vscode update my debug line-highlighting line is gone. Debugging works normal, but I never see the correct debugging line. The grey highliting in the screen below is just the cursor-line highlighting.
In the picture below, current debug position is line 147 - but no yellow debug line.
When i press F5, the next line gets highlighted grey, because the cursor switches there. But still no yellow highlight for my currently debuged line. When i click on on another line in the code the grey line switches to that position, leaving the current debug line without any highlighting.
I have a skin installed, "Solarized Express Soda", but deactivation does not fix this.
Is it possible to switch vscode versions back to test this further? Or to deactivate all extentions at once to have a vanilla vscode to approach the problem via elimination process?
VScode Version 1.46.1,
Node Version 10.21.0
Actually, i solved the problem now.
I installed a previous version of vscode, january 1.42.1 - Now it works again properly. I think i will report this issue on the vscode forums. Pherhaps an issue in correlation with my many extentions & old node version 10.21.0(which is still in need - thats another topic)
But perhaps, someone can tell me what I've done wrong, actually, i cant see anything wrong on my side here...
I am using VS17 to edit client side Javascript files.
The built-in intellisense and linter are great, but when the linter finds an error I get only a green scribble line under the error (using dark theme).
This is way too easy to miss. I end up going back to the browser etc. only to find out a syntax error way too often.
How can I get more visual cues on linter errors. I want something on the left side, something marking the whole line from end to right (as in sublime-linter), or something else that makes it super visible that something is wrong.
To visualize errors list to left side of your VS window more highlight follow these steps:
Go to left bottom side of VS and drag Error List. And Drop it in center pane icon
After this you can easily view all errors and warnings to left pane.
Edit:
Move Error List to left side of you window and then a new prediction will show up like: and drop it to center .
Not drop to middle center of your editor!
EDIT 2: For highlighting the error code lines in your editor, you need two add-in to be enabled:
Enable Productivity Power Tools will highlight errors code-files (tab).
Enable ReSharper will highlight error lines in a code-file.
EDIT 3:
After installing Productivity Power Tools then go in VS solution explorer and select errors from dropdown:
And follow this reference.
Have you tried changing the "Compiler Error / Other Error / Syntax Error / Warning" colors?
As a slight aside from the obvious requirements to see the actual error messages, Visual Studio (certainly from 2013 onward) has an excellent feature that highlights markers in the code on the scroll bar to the right; I use it all the time as a fast navigation method - it's called the 'Enhanced Scrollbar' (a simple and effective naming convention!).
This link shows the latest version, but, being a lowly public sector developer, I use VS2013, which looks like this...
It's a little difficult to see, but notice at the bottom of the section that I'm working on there's a simple error in the code, where I've put a space in a property name (d'oh!). The bar to the right looks like a miniature version of the code, showing different coloured blocks beside what you've written. Notice that there are yellow and green blocks, showing changes to the code, magenta blocks, showing questionable spelling, and, just where you can see the white bar across the width of the miniature view, there's a red box, indicating the error in your code. This arcticle goes a little more into it.
To activate this in 2017, use the link above. For 2013, go into Tools > Options. In the search box at the top of the dialog type 'scroll bar' and make sure the highlighted areas in the screenshot below are checked or unchecked as required.
Fantastic feature - I recommend it!
I want to change my theme from light to dark in VS 2012. Problem, the serpentine line is by default blue and you cannot see it in front of a dark background.
Since I wanna see my spelling (and other) errors imediately I am looking for the option to change this color but cannot find it anywhere. Anyone who knows where to change this?
Go to TOOLS - Options - Environment - Fonts and Colors - (Settings for Text Editor) - Compiler Error - select Item foreground for a more visible color.
I have pressed some key and blue color arrow is appearing on left hand side of visual studio 2010 and i am not able to see how to remove it or disable it.
Please see the attached image.
It is a task list icon. You may have added it, or it may have been automatically added by the editor (for example to mark lines with 'TODO' comments).
Similar to a bookmark, it allows you to jump through items marked by it.
http://msdn.microsoft.com/en-us/library/k4efffwe%28v=vs.80%29.aspx