ice9js / ace-jump-sublime

Jump between characters in Sublime Text 3 without using a mouse at ease
MIT License
202 stars 31 forks source link

save file after jump - fixs lint, git changes #57

Closed it6 closed 7 years ago

it6 commented 7 years ago

https://github.com/ice9js/ace-jump-sublime/issues/56

ice9js commented 7 years ago

Hi!

If this does fix the issue, don't you think we it optional? I'm not sure whether saving files after each jump should be the default behavior.

If you agree, just create a separate setting for it in AceJump.sublime-settings and I'll merge it.

it6 commented 7 years ago

So the issue I am trying to solve is while aceJump is in progress sublimeLinter does linting on the changed views, after I complete the jump linter still appear so adding a save action at the end will fix it I tested it locally and works as expected.

The ideal solution would be to disable linting, gitgutter until the jump is finished. But I don't know how easy is that, the next solution would be after jump is complete save all the changed views which causes lint/gitgutter to happen again.

Agree, this should be an optional behavior I updated my PR to create a setting.

ice9js commented 7 years ago

Awesome, thanks a lot!