Visual Studio 2022 .razor 代码块闪烁
我正在使用 Visual Studio 2022 企业版。在使用 .razor
文件时,我遇到了奇怪的闪烁。
一段时间以来,我的语法突出显示被破坏了。正如您在下图中看到的那样,突出显示不断闪烁。 有谁知道如何消除 C# 中 .razor
文件中的闪烁。此行为发生在某些文件中,而不是全部文件中。
我已经重建并清理了该项目。关闭 VS 或选项卡也不起作用。
忽略代码内容,仍在开发中:)
I am using Visual Studio 2022 Enterprise. While working with .razor
files I have a strange flickering.
Since a while my syntax highlighting is broken. As you can see in the image below it is a constant flickering of the highlighting.
Does anyone knows how to get rid of the flickering in a .razor
file in C#. This behavior is occurring in some of the file, not in all.
I have already rebuild and clean up the project. Closing VS or the tab does not work either.
Ignore the code content, that is still in development :)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
请参阅此页面。
此问题的修复程序已发布!从 https://visualstudio.microsoft.com/downloads/ 安装最新版本。
更新到17.2可以解决这个问题。
See this page.
A fix for this issue has been released! Install the most recent release from https://visualstudio.microsoft.com/downloads/.
Update to 17.2 can solve the problem.
虽然更新 17.2 让它变得更好一些,但目前的解决方法是最大化所有折叠的代码块。
While update 17.2 makes it a little better the workaround for now is to maximize all collapsed code blocks.