MonoDevelop 匹配大括号奇怪的行为
使用 MonoDevelop 的“匹配大括号”选项会导致奇怪的行为和延迟。
我将点击“{”并获得 {|}(| = 我的光标) - 到目前为止,符合预期。
我将按 ENTER 键并期望得到:
{
|
}
但我得到:
{}
|
很烦人。问题是,如果我等待一秒钟,然后按 ENTER 键,
我会得到正确的结果:
{
|
}
有人知道如何解决这个问题吗???
Using MonoDevelop's "match braces" option, causes a weird behavior and delay.
I'll click "{" and get {|} (| = my cursor) - so far, expected.
I'll Hit ENTER and expect to get:
{
|
}
but instead i get:
{}
|
very annoying. Thing is, if I wait for a second, and then hit ENTER,
I'll get the right result:
{
|
}
anyone knows how to fix this???
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
对我来说听起来像是 MD 错误(不会是第一个)。
我最好的建议是关闭匹配的大括号并手动输入。这确实不是一项大工作,但如果它打破了你的日常生活,我可以理解你的烦恼。
Sounds like a MD bug to me (wouldn't be the first).
My best suggestion would be to turn off matching braces and type it manually. Not a big job really, but I can understand the annoyance if it breaks your routine.