How to solve the problem c closing tag in IntelliSense in Visual Studio 2015?

Moving to layout in Visual Studio 2015 IntelliSense has encountered a problem. The problem:

There is a tag. Any, for example <p></p>. I need to add the class. I put the cursor <p|><p></p><p|> press ctrl+v, get <ppasted></ppasted>, put the cursor <p|pasted></p|pasted>, press the spacebar and get is <p pasted></p> closing tag like this

.

I understand how it works, but I always inconvenient to edit the code so that you always have to check for any changes in the end closing tag. To check spent too much time, and if not checked, it is possible to prevent such errors in the code.

How can I solve this problem how you solve it during the layout process?

July 8th 19 at 16:25
1 answer
July 8th 19 at 16:27
Put the cursor right a space, then Ctrl+V.

Find more questions by tags HTMLLayoutVisual Studio