Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to disable Visual Studio "smart" way to replace IDs in markup

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

like image 781
Eduardo Molteni Avatar asked Aug 26 '11 19:08

Eduardo Molteni


1 Answers

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

like image 198
Pleun Avatar answered Oct 31 '22 18:10

Pleun