How to disable Visual Studio "smart" way to replace IDs in markup - visual-studio-2010

From the hundreds of Visual Studio options, is there one to disable the way VS replace the IDs in markup when copy&paste from other control?
Almost always only need to change a few characters but VS thinks he is being smart replacing all the ID

Go into Tools > Options > Text Editor > HTML > Miscellaneous and uncheck "Auto ID elements on paste in Source view"
source:
How do you customize the copy/paste behavior in Visual Studio 2008?
but in 2010 it is the same

Related

how to disable word automatic highlight in visual studio 2019?

In visual studio 2019, if you click a word, it will highlight all its occurrences.
But if click some blank place, it will de-highlight all.
I only want to highlight the words when double-clicking it, and de-highlight the words if I double click it again.
It differs for each programming language. For C/C++ it's:
Tools/Text Editor/ C/C++ /Advanced/Disable Reference Highlighting (in
References section)
"MultiWordHighlight" is a great extension which can replace visual studio's internal feature.

Reassociate files types for visual studio 2012

I've had an install of 2012 for a while, but I've had to also just install VS 2010. As expected, all my file associations now point to VS2010 and the icons aren't so intuitive. Without doing each file manually through the explorer menu, how can I quickly revert/change the associations back to VS2012?
Open VisualStudio - Tools > Options.
Then go to General Page of Environment and click the Manage File Associations button.
A Window in the controlpanel will be opened(Control Panel\Programs\Default Programs\Set Default Programs\Set Program Associations)
.Select Extensions you want to associate to VisualStudio2012 and click the Save button.
The accepted answer only assignes file extensions to Visual Studio as a whole. To tell VS how to handle a file extension (like syntax highlighting), go to Tools > Options > Text Editor > File Extension and add your extension to the list.

I don't want spaces when I tab in visual studio 2010

Whenever I add a tab in VS 2010, it puts spaces instead. I know you could fix this problem by going in the VS 2008 options, but I can't figure out how to fix this in VS 2010.
Tools > Options > Text Editor > All Languages > Tabs > enable "Keep Tabs".
You can also adjust this setting on a per-language basis.
Regarding the first anwser ...
"Keep Tabs" will only work until you start using linq queries.
When visual studio formats linq queries adds some spaces for paddind.
There are no built-in support in vs2010 for strict indentation using tabs.

How can we disable VS 2010 Intellisense

My Visual Studio 2010 is too slow most of the time. So I decided to disable the vs2010 Intellisense. Can any one help me?
For C/C++: Tools -> Options -> Text Editor -> C/C++ -> Advanced -> Disable IntelliSense.
Update: This also works with VS2012.
Microsoft doesn’t provide any way to disable Intellisense. This wouldn’t be a problem, except Intellisense can and does crash.
To disable Intellisense, close Visual Studio and navigate to your vcpackages folder:
C:\Program Files\Microsoft Visual Studio 8\VC\vcpackages
Rename the file feacp.dll to something like foulup.dll. Now Visual Studio won’t be able to load Intellisense, but rather than crash it will just quietly drop its features.
or
Also have look to this solutions : how to disable intellisense...
Ctrl + J.
In case you are using ReSharper the way to disable IntelliSense is as following: ReSharper > Options... > Environment > IntelliSense > Autopopup > Enable Automatic IntelliSense Popup > Uncheck > Save > Profit.
This also works in Visual Studio 2012 for C#.
Simplest way I can think of: change the file extension association so that *.cs files open in a plaintext document window, not the C# editor. Repeat for other extensions as desired.
It's actually easy for most languages:
Select Tools/Options on the menu. On the Options dialog box, select Text Editor, then select the language you use, then select "General". Uncheck "Auto list members" and "Parameter completion".
Works on VS 2012, 2010, and others, and seems to be available for most languages including C#, Basic, and C/C++.
Change the file extension to ".txt "
Edit without intellisense.
Change file extension back to what it was.

Visual Studio addin; to highlight all words which match selected word?

While using NotePad++, and select a certain word, it automatically highlights all matched words?
Does anyone know if there is a Visual Studio addin that can do this? or are there any hidden environment setting that can do this?
Check following addins
Productivity Power Tools addin
The background colour of the highlight in Productivity Power Tools is found under Tools->Options->Productivity Power Tools->Enhanced Scroll Bar->Words Matching The Caret Location Color In The Editor.
or
Use Highlight selected word addin.
I believe Visual Assist can do that. This can be switched on in Settings -> Refactoring -> Automatically highlight references to symbol under cursor.
This is something that is automatically done by VS 2010 though if you are using an older version of VS you can get that functionality with third-party addins. For example I used to use an add-in called RockScroll that could highlight usages in a source file (By double clicking on the word) http://www.hanselman.com/blog/IntroducingRockScroll.aspx.
Also ReSharper has that functionality built into it with Cntl + Shft + F7

Resources