-
Notifications
You must be signed in to change notification settings - Fork 13k
Closed
Labels
BugA bug in TypeScriptA bug in TypeScriptFixedA PR has been merged for this issueA PR has been merged for this issueVS Code TrackedThere is a VS Code equivalent to this issueThere is a VS Code equivalent to this issue
Milestone
Description
TypeScript Version: 2.4.2
While working in the VSCode codebase, @kieferrm noticed some major slow downs while working in a TS file. It seem the references
requests against TSServer are taking up to a second.
Here are his repo steps:
- open a VS Code workspace on
master
, no open editors - search for
from 'electron'
in all*.ts
files - click on the first search result and wait until TS is properly initialized
- click on the second search result and select
ipcMain
in the editor
-> caret stops blinking, it takes several seconds until the underlying word is highlighted and occurrences are shown in the scrollbar (only happens after the reference code lenses are shown)
And the TSServer log:
https://github.com/Microsoft/vscode/files/1171339/tsserver-log.txt
Metadata
Metadata
Assignees
Labels
BugA bug in TypeScriptA bug in TypeScriptFixedA PR has been merged for this issueA PR has been merged for this issueVS Code TrackedThere is a VS Code equivalent to this issueThere is a VS Code equivalent to this issue