Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Runs hooks when saving #8

Open
RickyS opened this issue Jul 2, 2014 · 0 comments
Open

Runs hooks when saving #8

RickyS opened this issue Jul 2, 2014 · 0 comments

Comments

@RickyS
Copy link

RickyS commented Jul 2, 2014

This is great for text files when I'm banging out comments, essays, and such.
But I have hooks set for Go programming that runs the auto formatter for Go, so they run just all the time.

Due to other hooks on saving:
If I have the cursor at the very last byte of a file, it suddenly moves the cursor to the next line when it auto-saves. This is another of my save hooks. Similarly, pausing with a blank at the end of any line will auto-erase the blank.

Some solutions:

  1. Let me configure the auto save debounce to a longer time of my choosing.
  2. Let me turn auto-save on or off by file type.
  3. Sublime should offer an option (to you) to skip the hooks on saving the file.
  4. Auto-save should turn off the hooks and issue a message whenever I activate.

None of these are perfect.
Thanks for auto-save.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant