Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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?

like image 419
Jason Avatar asked Mar 22 '23 09:03

Jason


1 Answers

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.

like image 141
user1843640 Avatar answered Apr 28 '23 11:04

user1843640