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
OS: Windows 10 Enterprise 19042.928 Application: VS Code 10 v1.55.2
Any time that the parser attaches to a document and you type the first character regardless of whether or not the file is blank or has already been populated, vs.windows.onDidChangeTextDocument activates twice. We only expect it to be activated 1 time when you type the first character on a document that just had qljs attached.
The text was updated successfully, but these errors were encountered:
strager
changed the title
[VS Plugin] vs.windows.onDidChangeTextDocument activates twice on first input
10$: [VS Plugin] vs.windows.onDidChangeTextDocument activates twice on first input
Apr 23, 2021
strager
added
the
for hire
Get paid for working on this task: https://quick-lint-js.com/hiring.html
label
Apr 23, 2021
…st character input
[issue being addressed](#236)
Triggering the onDidChangeTextDocument twice when inputting a character for the first time is a known issue. Maintainer suggests to check whether the contentChange is empty, which is what we did here.
See [scode.workspace.onDidChangeTextDocument is called with no changes](microsoft/vscode#50344)
OS: Windows 10 Enterprise 19042.928
Application: VS Code 10 v1.55.2
Any time that the parser attaches to a document and you type the first character regardless of whether or not the file is blank or has already been populated, vs.windows.onDidChangeTextDocument activates twice. We only expect it to be activated 1 time when you type the first character on a document that just had qljs attached.
The text was updated successfully, but these errors were encountered: