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

solved the issue #58:缓解了编辑区输入未完全删除的问题: #77

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

iAaronLau
Copy link

@iAaronLau iAaronLau commented Feb 28, 2024

Solved the issue #58

缓解了编辑区输入未完全删除的问题:
#58

这个问题可能无法绝对避免:当输入过快时, vscode.workspace.onDidChangeTextDocument(),可能会被连续触发,当第一个事件未处理完时,触发了第二个事件(甚至更多),导致其中一个(或多个)事件无法被执行,清除输入的代码无法被执行。目前的解决方案在大多数人的输入速度下没有问题。

我不擅长vscode插件的开发,这只是一点个人的理解。

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

Successfully merging this pull request may close these issues.

1 participant