Skip to content
This repository was archived by the owner on Jul 15, 2023. It is now read-only.
This repository was archived by the owner on Jul 15, 2023. It is now read-only.

Adopt formatOnSave changes #540

@jrieken

Description

@jrieken

Since VS Code now has the editor.formatOnSave-setting and the onWillSaveTextDocument-event, this code should be revisited. I'd recommend to remove it and to rely on the built-in formatOnSave feature or to use the new event. Both will prevent unnecessary fs-operations and reduce the risk for endless write-event-write loops.

See https://code.visualstudio.com/updates#_format-on-save, microsoft/vscode#12449, and microsoft/vscode#239 for more details

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions