- ReSharper Full Edition v6.0.2202.688
- Visual Studio 2010 Professional SP1
例如,当我键入 并按 space
或关闭开始标记时,ReSharper 会插入结束 < code>
标签。我不希望它这样做。我知道有一个相应的 Visual Studio 设置可以执行相同的操作,我已经禁用了该设置,但没有什么区别,因为 ReSharper 似乎以自己的方式执行此操作。
VS设置:
工具>选项>文本编辑器> HTML>格式化> “自动插入关闭标签”
我在网上寻找答案,我能找到的最接近的东西是 ReSharper 的某些版本中可能存在导致此问题的错误,但我有无法正确确认这一点。
- ReSharper Full Edition v6.0.2202.688
- Visual Studio 2010 Professional SP1
As an example, when I type <div
and hit space
or close the start tag ReSharper inserts the closing </div>
tag. I don't want it to do this. I know there is a corresponding Visual Studio setting which does the same thing, which I have already disabled but makes no difference as ReSharper seems to do it in its own way.
VS setting:
Tools > Options > Text Editor > HTML > Formatting > "Auto insert close tag"
I have scoured the web for answers and the closest thing I can find is that there may be a bug in some versions of ReSharper which causes this, but I have been unable to properly confirm that.
发布评论
评论(1)
这是为了尊重 6.1 中的 VS 选项而修复的。请升级。
This was fixed to respect VS option in 6.1. Please upgrade.