Skip to content

Don't use new vscode.TextEdit.replace #5

@jrieken

Description

@jrieken

The vscode.TextEdit.replace-function is a static member of the TextEditr-class. Calling it with new was only possible because vscode used to compile its TypeScript sources to ES5, not ES6. Now calling a static class function using the new-keyword isn't possible anymore and results in an error (like Microsoft/vscode#69533).

Please update and use vscode.TextEdit.replace without the new keyword.

Thanks and HappyCoding!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions