-
Notifications
You must be signed in to change notification settings - Fork 13k
Closed
Labels
CommittedThe team has roadmapped this issueThe team has roadmapped this issueFix AvailableA PR has been opened for this issueA PR has been opened for this issueSuggestionAn idea for TypeScriptAn idea for TypeScript
Milestone
Description
see API proposal here: microsoft/vscode#199608
vs code tracking: microsoft/vscode#204040
The API was made since often times in refactorings such as with extract
or move too...
it's not always clear what part of code or what part of the file the actions will apply to. By allowing contributed Code Actions to provide one or more ranges (Range[]
), the range will be highlighted to show the user what will be changed.
All we need to provide is a Range[]
of affected code. For refactorings, this range would be the code in the current file that will be effected by the refactoring.
Metadata
Metadata
Assignees
Labels
CommittedThe team has roadmapped this issueThe team has roadmapped this issueFix AvailableA PR has been opened for this issueA PR has been opened for this issueSuggestionAn idea for TypeScriptAn idea for TypeScript