Skip to content

Extract method refactoring should not show full file path  #17998

Closed
@mjbvz

Description

@mjbvz

TypeScript Version: 2.5.1

Code

function foo() {
    return 1 + 2;
}

highlight 1 + 2 and trigger code actions

Bug:
For the file extract, we show the entire file path:

screen shot 2017-08-23 at 5 39 45 pm

This path can be very long and is not necessary since extract can currently only operate within the same file (at least to my knowledge).

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugA bug in TypeScriptDomain: Refactoringse.g. extract to constant or function, rename symbolFixedA PR has been merged for this issueVS Code TrackedThere is a VS Code equivalent to this issue

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions