Skip to content

Sublime asks to reload the file. #2

Open

Description

@ligoore

When formatting UNSAVED file with "beautify_rust" command, sublime pops-out the window and asks to reload the file. When formatting SAVED (unformatted) file, this behavior does not take place.

The situation can be omitted when using "run_on_save" option. However, manual command execution should work without "annoyances" too.

Activity

  1. self-assigned this
    on Mar 28, 2016
  2. shahinrostami commented on May 15, 2016

    @shahinrostami

    Same issue as @ligoore

  3. added a commit that references this issue on Oct 27, 2016
    b2ff391
  4. azriel91 commented on Oct 27, 2016

    @azriel91
    Contributor

    Opened #8 to fix this, because I got annoyed at the popup sometimes happening on save as well.

    I've tested it on windows, I haven't got my Linux computer with me right now. Formatting works without requiring the file that is being edited to be saved, but it does require it to be a file - i.e. you can't just paste rust code into an untitled editor and format that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions