Closed
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