What does the scalpel-shaped icon in the gutter in Visual Studio 2008 mean? - visual-studio

What does this icon mean?
It doesn’t seem to have a tooltip, it doesn’t respond on right-click, and it doesn’t seem to want to disappear either.

It shows Find All results. (Possibly other things too!)
Edit to clarify: when you double-click an entry in a Find Results panel, the "scalpel" shows up next to the relevant line of code. Helps you pick it out by eye, I guess, as the cursor may not be very noticeable.
Further edit: this page says To jump to a match, double-click any line in the results list. The source file is displayed in the Code Editor with the insertion point placed where the matched text begins. A symbol appears in the indicator margin of the Editor to mark the line that includes the match, and the status bar displays its full text. - as they don't name it I doubt the symbol is used elsewhere.

Related

How to hide three dots underlining macro names in Visual Studio 2019 C++

Every use of any macro names in my projects gets underlined with 3 dots:
When I hover mouse over it , I get a light bulb and small msg box saying that browsing around this identifier may be incorrect and suggest to add this macro to a hint file, which doesn't seem to do anything:
Anyone knows how to get rid of the dots ?
Finally after multiple attempts of "staring at the screen" problem solving method I found a way to turn the dots off. In "Tools->Options" menu navigate to "Text Editor->C/C++->View" and in the drop-down box "Macros in skipped browsing regions" select "none".

What do the green underscores in the Script section of my cshtml indicate, and how can I ungreenify them?

In Visual Studio (2013, if it's significant) I see this in the "Scripts" section of a .cshtml file:
The green undersscores may actually be being rendered by Resharper (version 2016.1, if it's significant).
I suspect this is some sort of warning, but how can I see what the warning is, and how to resolve whatever is causing the warning? Hovering does nothing; 2-clicking does invoke a "Format Selection" icon (doubtless from Resharper), but selecting it does nothing.
This is a ReSharper hint - it's saying that it can make a change here that is likely to improve your code, but isn't necessarily important (if it were more important it would be displayed as a full squiggly underline, green for suggestion, blue for warning, red for error).
You can find out what ReSharper wants to do by hovering over the green dots. If you like the hint, put the text cursor inside the green dots, hit Alt+Enter and select the option that will update the code. If you don't like the hint at all, and never want to see it again, you can also do that from the Alt+Enter menu - select inspection options, and change the severity of the inspection from "Hint" to "Do not show".

Strange marker in Visual Studio 2012

I tried searching here, in Microsoft's help pages and in Google, but couldn't find what the symbol in the picture means!
The symbol is a bold black line, positioned in the column where the break-point is marked usually.
It's on a generic subroutine (coding in Fortran), nothing special about it...
OK, I got this one figured out:
If one does a search in the entire file (where the search results are shown in a list), this marker appears on the currently selected item from that list, whether the list is shown or not - so if one does search and does not empty the search results, this line will remain near the most recent selection from the list.
Emptying the list cleared the line as well.

What is the black flag icon in gutter of VS2013

Visual studios 2013 is showing a black flag looking icon in the left gutter of my code. It doesn't seem to have any meaning and there is nothing particularly special about that line of code. The code works fine, I just want to know why this icon is displayed and what it means.
It may be bookmark or it may be the line at which searched text is found. In this screenshot, the black mark at line 55 shows the line in which search text is found(when we search using Ctrl+Shift+F keys) and one at line 58 is bookmark.
Bookmark can be removed by holding holding Ctrl and pressing K twice. There is also option to remove it in VS menu, same icon as on the line.
Bookmarks are put on the code where we want to navigate more frequently. There is icon in VS menu shown with the arrow and bookmark icon to move forward and backward.
It could be a bookmark. See main Visual Studio menu Edit - Bookmarks.
If you are using dark theme this is a white flag. Ctrl+K, Ctrl+K removes the flag.
To elaborate on the answer given by #Imad. The icon at line 55 can be the result of a search (Ctrl+Shift+F, or Ctrl+F). You remove it by either clearing or closing the Find Results pane.
Or it might be an error indicator from the most recent compilation. These appear in the Error List pane. Fix and recompile to remove it.
Line 58 shows a bookmark. Remove it with Ctrl+K, Ctrl+K on the line in question.
When you do a Search in VS using Ctrl+shift+F -> Find all -> click on a result from the find results tab -> you can see the black pin pointing the matching line in the code.
The answer is here - Black dash / line on visual studio 2012 left margin

visual studio highlighting space / horizontal line between parentheses

I would like to show a vertical line, next to the linenumbers, in my visual studio 2010 between parentheses when my courser is between those 2 parantheses.
I alread had that option enabled, but somehow its gone.
edit: is nobody using that feature? one of the very nice things when you are debugging
Is no one using that feature??
Edit: so last push!! there must be a way to see where the space between parentheses starts and ends.
edit: here is an image
EDIT: I still haven't found what i'm looking for. VS is so powerful there must somewhere an option or a plugin. It is really useful when you can see where your { begins and ends }.
Anyone a clue?
I haven't seen the horizontal line feature since 2008. I hated it so I haven't been looking for it either.
You should however be able to see the braces being highlighted when your cursor is on them. If not, perhaps you've changed your theme or possibly some colors in your Options menu.
Here's what you should try:
Tools ->
Options(down at the bottom of the drop-down) ->
Environment ->
Fonts and Colors
Make sure the Show settings for: selector is showing Text Editor.
The one(s) you're looking for are Brace Matching (Highlight/Rectangle).
Attempt to change it to your choosing and see if the changes take place. If not, reset to the defaults and re-check it's enabled.
Also...
Another suggestion that can be handy to get a temporary look at the extents of the body you can hover your mouse just along the margin it will highlight the most nested body. You may have to do some tweaking of your colors to make it vibrant. I use a darker color and have my code block highlighting white. I know it's not what you're looking for but it might be somewhat of a band aid.

Resources