当我在 Web 编辑器中键入空格时,如何阻止 Visual Studio 2013 跳出引号? [英] How do I stop Visual Studio 2013 jumping out of quotes when I type a space in web editor?

查看:31
本文介绍了当我在 Web 编辑器中键入空格时,如何阻止 Visual Studio 2013 跳出引号?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我输入一个属性的值并按空格时,它会自动跳转到下一个属性.我想这在输入 id 或其他东西时很有意义,但是在输入具有多个类的 class 属性时真的很烦人.有人知道改变这种行为的方法吗?

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?

推荐答案

您描述的行为是 IntelliSense自动列出成员"功能的一个功能.您可以通过禁用 HTML 的自动列表成员"来解决这个烦恼.注意:您也可以为其他语言执行此操作.

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.

要禁用 HTML 的自动列表成员",请转到:

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

工具 > 选项 > 文本编辑器 > HTML > 常规:

取消选中自动列出成员"

取消选中此选项将阻止您描述的跳跃"行为,但也会阻止智能感知列表自动显示.可能没什么大不了的,因为您可以在需要时按 CTRL+J 来显示它.

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.

这篇关于当我在 Web 编辑器中键入空格时,如何阻止 Visual Studio 2013 跳出引号?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆