Skip to content

TypeScript "Move to a new file" code action not working for embedded documents #92

@johnsoncodehk

Description

@johnsoncodehk

For non-ts files, getEditsForRefactor will hit the following assertion.

Error: Debug Failure. File /.../xxx.yyy has unknown extension.

This is hardcoded by TS in the internal variable extensionsToRemove, and there is currently no way to modify it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions