Skip to content

getOutliningSpans does not return multiline comment #22732

@mjbvz

Description

@mjbvz

TypeScript Version: 2.8.0-dev.20180320

From microsoft/vscode#45975

Search Terms:

  • getOutliningSpans
  • Folding

Code
For the js:

/* 
comment
*/

Invoke getOutliningSpans on TS Server

Expected behavior:
Returns span that includes the multline comment

Actual behavior:
No outlining spans returned for the document

Metadata

Metadata

Assignees

Labels

BugA bug in TypeScriptDomain: OutliningRelates to multi-line regions that editors can collapseFix AvailableA PR has been opened for this issueVS Code PriorityCritical issues that VS Code needs fixed in the current TypeScript milestone

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions