Eduardo Molteni
Eduardo Molteni

Reputation: 39453

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

Upvotes: 7

Views: 1089

Answers (1)

Pleun
Pleun

Reputation: 8920

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

Upvotes: 14

Related Questions