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&pas开发者_开发问答te 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
精彩评论