Skip to content

getOutliningSpans hangs on large, json-like file #27960

Closed
@mjbvz

Description

@mjbvz

From microsoft/vscode#60677

TypeScript Version: 3.2.0-dev.20181017

Search Terms:

  • getOutliningSpans
  • fold / folding

Code

  1. Open this file javaScript file in VS Code: dict_en.txt

  2. Notice that intellisense and other features do not work.

Bug
This is caused by the getOutliningSpans request never returning. We do try to cancel the request on the VS Code side when you switch away from that file but it seems the TS Server does not pick up the cancellation

Playground Link:

Related Issues:

Metadata

Metadata

Assignees

Labels

BugA bug in TypeScriptCrashFor flagging bugs which are compiler or service crashes or unclean exits, rather than bad outputDomain: TSServerIssues related to the TSServer

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions