In VS2008, it used to be that whenever I was typing an html attribute in an .aspx page when I hit '=' a pair of double quotes was automatically inserted and the cursor placed inside them. I guess I've changed a setting, but I don't know what to change to get that functionality back.
在VS2008中,曾经是当我在.aspx页面中键入html属性时,当我点击'='时,会自动插入一对双引号并将光标放在其中。我想我已经改变了设置,但我不知道要改变什么来恢复功能。
I am using Resharper if it makes a difference.
如果它有所作为,我正在使用Resharper。
1 个解决方案
#1
16
In VS2008. Tools -> Options -> Text Editor -> HTML -> Format -> Click "Insert attribute value quotes when typing".
在VS2008中。工具 - >选项 - >文本编辑器 - > HTML - >格式 - >单击“键入时插入属性值引号”。
Not sure how this is impacted with Resharper.
不确定这对Resharper有何影响。
#1
16
In VS2008. Tools -> Options -> Text Editor -> HTML -> Format -> Click "Insert attribute value quotes when typing".
在VS2008中。工具 - >选项 - >文本编辑器 - > HTML - >格式 - >单击“键入时插入属性值引号”。
Not sure how this is impacted with Resharper.
不确定这对Resharper有何影响。