Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

【反馈】打开大文件触发 vscode 左侧栏 “源代码管理” 状态更新且极其缓慢,同时阻塞其它插件的正常工作 #91

Open
brianler opened this issue Jan 22, 2025 · 0 comments

Comments

@brianler
Copy link

复现方法:

python-project/
├── a.py   (12 bytes)
├── b.py    (128 bytes)
└── data.json  (7 MB,大文件)

在 vscode 中打开 a, b 文件时正常,但是一旦打开 data.json 大文件(7MB+) 后,然后在 a, b, data 文件标签页切换时,就会造成 vscode 左侧栏 “源代码管理” 状态更新极其缓慢,这个过程至少需要 10 ~ 60s ,同时会阻塞其它插件的正常工作(如:对某个变量右键点击“查找所有引用”按钮),直至侧栏 “源代码管理” 中的状态更新完成。即使没有对相关文件进行内容修改,仅切换不同文件的标签,也会触发上述问题。

尝试过配置 .gitignore.codegeexignore 来忽略相关文件,也尝试过在 codegeex 设置中忽略 json 语言的补全,但均没有效果。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant