zai-org / CodeGeeX

CodeGeeX: An Open Multilingual Code Generation Model (KDD 2023)

Home Page:https://codegeex.cn

Repository from Github https://github.comzai-org/CodeGeeXRepository from Github https://github.comzai-org/CodeGeeX

【反馈】特定情形下造成 vscode 左侧栏 “源代码管理” 状态更新极其缓慢,同时阻塞其它插件的工作

brianler opened this issue · comments

复现方法:

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

在 vscode 中打开 a, b 文件时正常,但是一旦打开 data.json 大文件 后,然后在 a, b, data 文件标签页切换时,就会造成 vscode 左侧栏 “源代码管理” 状态更新极其缓慢,这个过程至少需要 10 秒以上甚至 60s ,同时会阻塞其它插件的正常工作,直至侧栏 “源代码管理” 中的状态更新完成。即使没有对相关文件进行内容修改,仅切换不同文件的标签,也会触发上述问题。

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