Dart Block for Language Server 在闪烁。VsCode 在 Mac 上也变慢了。

huangapple go评论109阅读模式
英文:

Dart Block for Language Server is flashing. VsCode is also slowed on Mac

问题

这段代码块是关于在VSCode上使用Flutter/Dart代码时出现闪烁的问题。我也遇到了VSCode运行缓慢的问题,我想知道这两个问题是否相关。有人知道为什么会发生这种情况吗?在我更新Flutter之前,我的VSCode一切正常。这只在一个项目上发生,其他项目都正常。

尝试在线寻找答案,重启VSCode,重新安装,从Git重新下载项目,但都没有效果。最近已经进行了Flutter升级和VSCode升级。

英文:

Dart Block for Language Server 在闪烁。VsCode 在 Mac 上也变慢了。

This code Block section for Flutter/Dart code on VSCode keeps flashing. I have also been experiencing slow VSCode issues and I'm wondering if the two are related. Anyone have any ideas as to why this is happening? my VSCode was fine before I updated flutter. It's only happening on one project and the rest work fine.

Tried looking for answers online, restarting VSCode, reinstalling, re-downloading project from git and nothing worked. Done a flutter upgrade and VSCode upgrade recently.

答案1

得分: 0

删除并重新安装Flutter和VSCode,以及与它们相关的所有引用,包括.dart、.dartServer和.flutter文件,以及.vscode文件夹。不知道出了什么问题,但我知道这解决了我遇到的问题。不确定删除这么多文件是否安全,所以不会完全建议给别人,除非你对发生了什么事情以及哪些文件是需要的和不需要的有一些了解。同时也要更新Flutter。

英文:

Delete and reinstall flutter and VSCode as well as any references to them, including .dart, .dartServer and .flutter files as well as .vscode. Don't know what was wrong but I know that it fixed the issues I was having. Not sure how safe it is to delete so many files so wouldn't exactly recommend to someone unless you have some idea of what's happening and what files you do and don't need. Also update flutter.

huangapple
  • 本文由 发表于 2023年8月10日 15:21:58
  • 转载请务必保留本文链接:https://go.coder-hub.com/76873446.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定