Skip to content

Formatter undoes any changes in script if they have not been saved #243

Description

@juhanikat

The formatter seems to simply undo any changes made to a script if those changes are not saved, making it unusable to me. Tested on 0.20.1, but I remember having this problem on an earlier version too.

To test:

  1. Create a new script
  2. Write any text without saving the script
  3. Run the formatter (either with Format -> Format Current Script or through a shortcut)
  4. The text is deleted.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions