Skip to content

Undo of header file creation from Extract to function or Create Declaration / Definition gives an error #11462

@sean-mcmanus

Description

@sean-mcmanus
  1. Use Extract to function or Create Declaration / Definition on a source file in a case where it creates a header file.
  2. Attempt to undo the edits and the file creation.

Bug: Undo of the file creation fails with `Unable to create file 'test.h' that already exists when overwrite flag is not set. I'm not sure if this is a VS Code bug or if there's a way for our extension to handle this correctly.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions