How do I stop Visual Studio 2013 jumping out of quotes when I type a space in web editor?

visual-studio-2013

Solution

The behavior you describe is a function of the IntelliSense "auto list members" feature. You can work around the annoyance by disabling "Auto list members" for HTML. Note: you can also do this for other languages.

To disable "auto list members" for HTML go to:

Tools > Options > Text Editor > HTML > General:

uncheck "Auto list members"

Unchecking this option will prevent the "jumping" behavior you describe but will also prevent the IntelliSense list from automatically displaying. Probably not a big deal since you can just press CTRL+J to display it when you need it.

Problem

When I'm typing the value of an attribute and I hit space, it automatically jumps to the next attribute. I guess this makes sense when typing an id or something but it's really annoying when typing the class attribute with multiple classes. Does anyone know a way to change this behavior?

Original source