CodeRush can custom region painting in the Code Editor. Any other extensions/addons have this feature?
Thanks
Edit: Changed title and contents for better description.
Related
When I click on an element in Visual Studio's XAML designer, VS adds a faint highlight to the corresponding XAML statement in the XAML text editor (as seen for StackPanel below). What's this highlight called in Visual Studio's Fonts and Colors customization settings? I want to change it but it's hiding itself well.
It should be Tools->Options->Fonts and Colors->Text Editor->Brace Matching (Rectangle).
So that's technically the correct answer to my question because it does indeed work when I click in the XAML editor. But unfortunately it's revealed a misunderstanding in my question. What I'm actually looking for is the color setting name for the highlight when I click on an element in the XAML designer, which then highlights the XAML statement as seen in the screenshot above.
Try Tools->Options->Fonts and Colors->Text Editor->Inactive Selected Text then.
I'm trying to edit an XAML style as suggested in this comment, following MSDN - but the MSDN tutorial says "To create a style, select the object, and then in the Object menu, choose Edit Style" and I can't find an object menu. The objects and timeline tab does not include an option for "edit style", and there is no "object" menu at the top of the screen.
This must be simple if you know this stuff. But I can't find it.
That MSDN article is a bit outdated. To edit a style (assuming you are using Visual Studio 2013/2015 or Blend for Visual Studio 2013/2015), select the object in the XAML designer, then use Format menu -> Edit style...
I am making a few quick small applications and using the Visual Studio Dialog editor to speed things up and keep it simple. I cannot see a way to add tooltips to the controls from the visual editor. Is it easily possible?
Thanks
Allan
I found the following on MSDN which allows you to easily add tooltips to resources using a single line.
https://msdn.microsoft.com/en-us/library/windows/desktop/hh298368(v=vs.85).aspx
I have the following line on my WM_INITDIALOG to add a tooltip to a checkbox control:
CreateToolTip(IDC_CHECK_GAMEMODE, hDlgWnd, TEXT("I'm a helper!"));
This is the easiest way I have found to add tooltips to dialogs created in the visual editor.
If there is no tooltip control in the visual editor, maybe you should add it from a code:
System.Windows.Forms.ToolTip ToolTip1 = new System.Windows.Forms.ToolTip();
ToolTip1.SetToolTip(this.textBox1, "Hello");
I've just downloaded Visual Studio Color Theme and a dark color scheme for Visual Studio. This is how my VS looks now:
But I don't like the tooltip. I saw this question on StackOverflow, an I would like to make the tooltip look like the one in the marked answer. (Also the font size is not chosen by me, I don't know why is it like that)
Please help me!
Visual Studio allows you to change it. You can experiment different backgrounds from Tools->Options->Environment->Fonts and Colors->Signature Help Tooltip Background.
Also before you import theme, you can edit the font from the theme file.
How do I customize, extend the text editor, or color tag parts of my code?
I would like Visual Studio to color code parts of my code. Can I use #region and give it a color?
Is there any way to make the background between two parentheses have a different color? (I want each code "block" to have its own color.)
I've looked here for some insight, but they all are implemented based "on what you select". All I want is to have the text editor "render" the text in a different way based on some rules.
I haven't seen such feature, but there is something quite close to what you are looking for in ReSharper. A setting called "Highlight matching delimiters". Looks like this in use:
I wanted tell you this because
1) You might be interested in resharper and
2) resharper is able to do the highlighting so maybe someone can make an add-in or something to add this kind of feature. Maybe you? :)
I don't know of anything exactly like what you're asking for, but the VS10x Code Map extention might help: http://www.axtools.com/products-vs2010-extensions.php
It will give you a nice overview of the code on the side, and make navigation somewhat easier.
The download button on the right lets you download a trial version from the Visual Studio Gallery at msdn.microsoft.com. I think you can also find it directly from the extentions view in VS2010.