Skip to content

Sort extract constant refactoring before extract function #29589

Closed
@mjbvz

Description

@mjbvz

Search terms

  • Refactor, refactorings
  • extract

Feature request
When both extract const and extract function refactorings are available for a piece of code, show the extract const before extract function

VS Code shows the refactorings in the order that TS returns them to us in.

Related to #29587

Metadata

Metadata

Assignees

Labels

Domain: Refactoringse.g. extract to constant or function, rename symbolDomain: TSServerIssues related to the TSServerFixedA PR has been merged for this issueIn DiscussionNot yet reached consensusSuggestionAn idea for TypeScript

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions