You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A decoration is applied to every line in the file. The decoration is what adds the coloured visual indicator to the beginning of the line. With 100,000 lines, this is going to become an issue!
I spent a little bit of time thinking about different options:
Grouping decorations by revision and applying them all at once. This is fine until you click a line and the log message is appended to every line for the same revision
Replacing the PNGs with base64 encoded SVGs. This didn't work because VS Code expects a physical file path
Removing the PNGs and replacing with SVGs generated during the build step. I haven't tried this yet, but I will look into it soon. It's also a good first task if someone would like to have a go themselves.
Looking into a way to prevent the decoration application from blocking the editor. I'm not sure if this is possible but I will take a further look sometime this week.
I'm not 100% sure what the best way to approach this issue is. If you have any thoughts please let me know!
【问题描述】
对于单文件超10000行代码执行Clear blame,vscode浏览当前文件会卡死,大概30s恢复正常。
The text was updated successfully, but these errors were encountered: