text highlighting visual assist x - visual-studio

I am looking for a way to disable the text of similar values being highlighted when you click/edit a variable, i.e. I click enemyValue and type something next to it and it automatically highlights all the text. I have searched and cannot find anything.

Uncheck "Automatically highlight references to symbol under cursor" on the Advanced | Refactoring page of the Visual Assist X Options dialog.
Pressing ESC temporarily removes the highlights.

In your Visual Studio look for "VAssistX" menu tab it's just next with "View" then click "Visual Assist X Options" then expand if not yet expanded the "Advance" TreeView then select "Display" and uncheck the "Highlight find results".
Hope this will help.

Maybe this helps: http://www.wholetomato.com/products/features/color.asp
In particular be aware that "VAX Find Reference" colours are defined at Tools | Options | Environment | Fonts and Colors. Scroll to "VA X ..." in the list box labeled "Display items".
Also pressing Esc disables some of the colouring.

Related

uncomment and comment button in visual studio 2017

How can I show these buttons please? They are usually there in C# but not in R. I can use of course CTRL+E, U and CTRL+E, C. Thanks!
They are in the Text Editor toolbar.
View --> Toolbars --> Text Editor
Open Tools menu, select Customize. In the dialog that opens, select the Commands tab. Select Toolbar radio button and in the dropdown next to it select the toolbar you wish to add the buttons to. Or go to the Toolbars tab and create a new one, select it, then back to Commands tab and select the new toolbar.
Click on Add Command..., select the Edit category and then scroll through the long list of commands until you find "Selection Comment" and Selection Uncomment" and add them to your toolbar.
My new installs or updated versions of VS sometimes seems to not remember my personal preferences, so I've had this same question, as well. The default key commands work, but sometimes the new VS does not show the toolbars that include the comment/uncomment buttons for all the file types in which I want them to show.
To add the buttons, open a file you are not seeing the tabs for, click View => Toolbars, and make sure Text Editor is selected.
Or, right-click on some open tab space at the top of your VS screen, and click "Customize". The resulting window should show plenty of Toolbars in the Toolbars tab. Make sure the "Text Editor" is selected - that's where the comment/uncomment buttons reside.
This should be the case for Visual Studio 2015-2017
For those who are looking for comment and uncomment buttons in visual studio 2019, I am posting here...
You can do it in two ways
Right click on any free space in the Visual Studio toolbar, then select “Text Editor”. comment and uncomment buttons will appear.
Go to view -> toolsbar -> texteditor then you can see comment and uncomment buttons.

In Visual Studio Community 7, how do I stop Tab from creating spaces?

I'm using VS Community 7.4.3. Lots of answers to this question seem only to deal with full regular Visual Studio, and tell you to go to the Tools -> Options -> Text Editor. But there is no "options" menu under my Tools dropdown in VS Community. I have a menu for Text Editor in Preferences. And an option called "Backspace removes indentation." But I select and unselect this--no matter what, when I press Tab, it creates 4 individual spaces.
Help please!
Figured it out.
"Preferences" -> "Source Code" -> "Code Formatting"
Select code type you want to change formatting for,
Under "Text Style" tab, unclick "Use default settings from 'text file'",
And unclick "Convert tabs to spaces".
I guess there is a text file somewhere where the default settings are stored. I think I saw answers for editing that but not including where to find it. This works for me.

Where is the Word Wrap shortcut in Visual Studio 2010?

Where is the word-wrap icon to toggle back and forth in Visual Studio 2010? I want it in the toolbar or have a shortcut for it.
I see the option in the tools dialog box, but I switch back and forth constantly. I shouldn't have to dig through deep options to toggle this option on and off. Most editors have this option, but for some crazy reason, I can't find it in Visual Studio here...
Any help would be greatly appreciated. I can't find a solution online, and word wrap isn't even showing up in the program's help menu.
You can add the word wrap to any toolbar or menu via the Customize functionality in Visual Studio. You need to use the Edit > Toggle Word Wrap command. Here's how you can add it to a new toolbar.
Right-click the toolbar and click Customize in the menu.
In the Customize dialog click on the new button to create a new toolbar.
Give the toolbar a name and click OK.
Click on the Commands tab and click on the Toolbar radio button, then select the toolbar you just named.
Click on the Add Command button.
The Add Command dialog will appear and select the Edit selection in the Categories list box. Then select the Toggle Word Wrap command in the Commands List Box. Click OK to close the dialog.
In the default keyboard mapping scheme the Edit.ToggleWordWrap command has the shortcut Ctrl+E, Crtl+W predefined for the Text Editor.

Hot key to pop open rename options?

When Visual Studio, when you rename a variable or type the name of a class that hasn't been included, a little box appears under the text. If you hover your mouse over it, it pops open and gives you options to either rename all the variables, or include the missing reference.
I'm sure there's a hotkey to pop this open so I don't have to use the mouse. What is it?
Press Ctrl+. to open that menu.
For me it's Shift+Alt+F10. Depending on the VS version and your keyboard settings it might be different for you.
The actual shortcut is shown in the tooltip when you check the "Show shortcut key in ScreenTips" box at the bottom of the Tools\Customize\Toolbars dialog (VS2009). This is among the first things I turn on when installing VS.
Use Shift + Alt + F10 to bring up the Resolve menu when your cursor is on the unresolved item.

Visual Studio highlighting source code in bold

While editing HTML/ASPX/ASCX etc in visual studio 2005; whenever I select an html tag, visual studio highlights the entire tag in black and bold; the black I'm not so fussed about but the bold changes the length of the line and really messes up the formatting.
Is there a way to disable this?
Thanks,
Chris
In VS2010: Select menu Tools - Options, select Environment / Fonts and Colors, look for Brace Matching (Rectangle) in the Display items list. Uncheck the Bold checkbox and click on Ok to confirm.
In VS2008, go to the Tools >> Options menu, expand the Environment category in the treeview and select Fonts and Colors. Under Display Items, select HTML Attribute Name and uncheck the "Bold" checkbox.

Resources