<p>How do you customize the Copy/Paste behavior in Visual Studio 2008?</p>

<p>For example I create a new <code>&lt;div id="MyDiv"&gt;&lt;/div&gt;</code> and then copy and paste it in the same file.</p>

<p>VisualStudio pastes <code>&lt;div id="Div1"&gt;&lt;/div&gt;</code> instead of the original text I copied.</p>

<p>It is even more frustrating when I'm trying to copy a group of related div's that I would like to copy/paste several times and only change one part of the id.</p>

<p>Is there a setting I can tweak to change the copy/paste behavior?</p>

[{'answer_id': 67353, 'author': 'DamienG', 'author_id': 5720, 'author_profile': 'https://Stackoverflow.com/users/5720', 'pm_score': 6, 'selected': True, 'text': '<p>Go into Tools > Options > Text Editor > HTML > Miscellaneous and uncheck "Auto ID elements on paste in Source view"</p>\n'}, {'answer_id': 65760519, 'author': 'Geospatial', 'author_id': 10039873, 'author_profile': 'https://Stackoverflow.com/users/10039873', 'pm_score': 1, 'selected': False, 'text': '<p>In Visual Studio 2019\nthe new location is<br />\n<code>Tools &gt; Text Editor &gt; ASP.NET Web Forms</code><br />\nand Check <code>Format HTML on paste</code>.<br />\nSo now it is possible to efficiently duplicate sequential ID codes.</p>\n'}]
['https://Stackoverflow.com/questions/67209', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/3747/']