-
Notifications
You must be signed in to change notification settings - Fork 13.4k
[API] Add type to 'OutliningSpan' class #22419
Copy link
Copy link
Closed
Labels
Domain: APIRelates to the public API for TypeScriptRelates to the public API for TypeScriptDomain: LS: OutliningRelates to multi-line regions that editors can collapseRelates to multi-line regions that editors can collapseFixedA PR has been merged for this issueA PR has been merged for this issueSuggestionAn idea for TypeScriptAn idea for TypeScript
Milestone
Metadata
Metadata
Assignees
Labels
Domain: APIRelates to the public API for TypeScriptRelates to the public API for TypeScriptDomain: LS: OutliningRelates to multi-line regions that editors can collapseRelates to multi-line regions that editors can collapseFixedA PR has been merged for this issueA PR has been merged for this issueSuggestionAn idea for TypeScriptAn idea for TypeScript
From microsoft/vscode#20802
Search Terms:
Problem
Allow users to fold / hide blocks of imports such as :
Proposal
Add import blocks to the outliningSpans introduced in #22400.
We should also consider marking import block spans in some way. This could be something like:
Here's the vscode proposed folding API: https://github.com/Microsoft/vscode/blob/0c8e31f14a2c1d4c0c7ea75573caab39b171384b/src/vs/vscode.proposed.d.ts#L10
/cc @aeschli