m-hall / HypnotoadSVN

Plugin for SublimeText3 that enables SVN commands.
11 stars 3 forks source link

Command Palette crashes with plugin installed #15

Open arleslie opened 8 years ago

arleslie commented 8 years ago

With package installed, when launching the command palette using Ctrl+Shift+P on Windows, Sublime will hang and you have to force close it.

Sublime Text 3, Stable channel, Build 3083.

m-hall commented 8 years ago

Most likely it is running checks on things and getting responses too slowly. You can try disabling the checks as documented here: https://github.com/m-hall/HypnotoadSVN/blob/master/docs/settings.md#disable-svn-checks

I know it's not a fix, but it might be a workable stopgap for you.

arleslie commented 8 years ago

Disabling SVN checks stopped it from hanging.

arleslie commented 8 years ago

Would it be possible to make the svn request asynchronous or not in the main thread?

m-hall commented 8 years ago

Unfortunately you can't do that. The command palette and context menus function in a synchronous way and have no support for asynchronously being modified so far as I know. It's possible I could have something that periodically evaluates the command palette version so that it wouldn't have to run at the same time, but it would be impractical to do that for context menus.