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
Related
I remember once while using Microsoft Visual Studio, opening a source file (by accident I think) and having it render in either subdued colors or with a different background and showing a watermark indicating that this file was not a normal editable source file. I was under severe time pressure then and unfortunately can't recall the file or the wording of the watermark (or I would be able to investigate unaided).
Does this ring a bell with anybody? Is there a way to cause MVS to display auto-generated files in a different manner so that the developer does not waste time editing something that should not be edited? I open plenty of auto-generated files all the time (usually as a result of some global search) and it would be helpful to have all such files render in the editor this way.
The MVS version in question is Microsoft Visual Studio Professional 2015. I have Resharper and OzCode as well.
I was having this same problem. For the files I work with (web stuff, js, css, etc.) the watermark is applied by Web Compiler: "Shows a watermark when opening a generated file" (see features list in https://github.com/madskristensen/WebCompiler).
It turns out the "Generated" mark is toggled by clicking the bottom right corner of the editor window. In fact, it is always there, however if you accidentally click it, that will cause it to be hidden UNLESS you mouse over the bottom right corner of the editor window of the generated file.
So, to re-enable the watermark:
Open a file you know for sure is generated, like one of the output files in your compilerconfig.json file.
In the editor window, mouse over the bottom right corner of the window. You should see the "Generated" text re-appear, with a tooltip that says "Click to toggle visibility".
Click the text. From now on the "Generated" watermark will show up in your generated files. Just be sure not to accidentally click and hide it again.
-Michael
Suppose I create a region in Visual Studio.
When this region gets longer and the top of the region is no longer visible in the top of the screen, Visual Studio provides a link next to the end of the region to take you back to the start of the region.
I don't like this link. I sometimes accidentally click on it and get lost, and it is extra words I don't want. Is there a setting to turn this off? Where is it?
This is caused by the extension, VSCommands. You can turn off this setting by going into the VSCommands settings, IDE Enhancements, Text Editor, and uncheck "Enable Code Block End Tagger".
Microsoft in their infinite wisdom have seen fit to remove the useful "Draw Grid" and "Snap to Grid" checkboxes in the report properties dialog that were in VS 2005 but are not in VS 2008. I'm assuming they put that functionality elsewhere but I can't find it after going through what seems like every menu option available. Does anybody know how to turn on the gridlines?
right click menu
h ttp://i37.tinypic.com/2vijfck.jpg
report properties dialog
h ttp://i33.tinypic.com/2yvnhus.jpg
You absolutely sure you're using VS 2008? - looks like the 2005 dialog to me
There´s no how to do it, microsoft just took it off, because now the objects align with other objects, and you have 3 options to move the objects now, with mouse, by selecting the object and moving with your arrows in keyboard, which moves around 0,30 cm, and by holding ctrl and pressing arrows, which is more precisely.
There´s a lot of people complaining about that, maybe they will put this functionality back, I don´t know....
alt text http://img16.imageshack.us/img16/7299/vs2008snaptogrid.png
If you right click off to the right of your report and select properties you will find Draw grid and Snap to Grid
Consider the Visual Studio's highly-customizable configuration of the text editor.
The value I'd like to tweak is the highlighting of the found search string. See circled below.
Question: in Visual Studio 2010 Beta 2, or Visual Studio 2008 which setting in the Fonts and Colors dialog box will allow the highlight/surround color to be changed?
Try changing Colors->Selected Text and Colors->Inactive Selected Text (in Tools->Options->Environment->Fonts)
There's a bug in Beta 2 that the results of a Find operation are highlighted with the inactive selection color instead of the active selection color (as Orcas did). Post Beta 2, it should show up in the much more obvious blue (or whatever the active selection color is set to).
Other than that, it isn't separately configurable, as the highlight is the actual text selection and not a marker of some sort.
In Visual Studio 2008, it seems that Window -> Split only gives me a horizontal split, and Window -> New horizontal tab group does not allow me to edit the same file in both panes.
Note that I am talking about C# code windows, not HTML editing mode.
I want to edit the same file in two horizontally arranged panes.
Is this possible? Free add-ons are fine.
Edit: I have CodeRush Express installed, and it seems to have done something to my code window borders.
Edit #2: It's not CodeRush. I tried on VM with no CodeRush, and I have exactly the same issue.
Ok, I found the solution here.
The answer is:
Window -> New Window
Window -> New Vertical Tab Group
This duplicates the current tab so you'll get [Form1.cs:1] and [Form1.cs:2] tabs; and then you can use a vertical tab group to view them side by side.
I believe that it's not CodeRush's fault. A vanilla 2008 install only lets you do the split view with one file on the top and one file on the bottom. The only side-by side option is the horizontal tab-group feature (with the problem of only having a file open in one of them, as you mentioned.)
The obvious workarounds would be to either make a read-only copy of the file elsewhere and use that in one tab-group, or open up a second instance of VS. It does have decent handling of files that get changed in other apps, so having the same file open in two instances isn't a problem.
In VS2010 I couldn't find the Vertical Tab group button. The workaround is:
1. Open Fullscreen mode
2. Click and drag the window to the far right (or left) and it should give
you an option to view both windows side by side.
3. Exit full screen mode and you should now have the ability to click and
drag windows between vertical tab groups, and it even now allows you to
drag to a new vertical tab group.
No idea why you have to jump into fullscreen first, and i seem to remember not having to do that before.
As a one-time developer on CodeRush, I doubt that this would be caused by CodeRush Xpress. I'm currently running the latest beta of CodeRush 9.1.0 on Visual Studio 2008, and splits are working fine. However, you could certainly try uninstalling CodeRush Xpress to see if that clears up the problem. If it does, I would recommend posting in DevExpress' peer-to-peer forums.
alt text http://diditwith.net/content_images/CRXSplits.png
I like the vertical tab group option. The only thing that bothers me about it is that I cannot put the solution explorer on both windows (Or properties for that matter). I have to navigate all on one side and move screens around.
I found this nifty add on tool for VS 2012 that allows you to compare two files at the same time and make changes.
Check this out: