{"action":"created","issue":{"url":"https://api.github.com/repos/aziz/PlainTasks/issues/386","repository_url":"https://api.github.com/repos/aziz/PlainTasks","labels_url":"https://api.github.com/repos/aziz/PlainTasks/issues/386/labels{/name}","comments_url":"https://api.github.com/repos/aziz/PlainTasks/issues/386/comments","events_url":"https://api.github.com/repos/aziz/PlainTasks/issues/386/events","html_url":"https://github.com/aziz/PlainTasks/issues/386","id":335188075,"node_id":"MDU6SXNzdWUzMzUxODgwNzU=","number":386,"title":"Open file triggers searching in the whole project","user":{"login":"chaonan99","id":13306136,"node_id":"MDQ6VXNlcjEzMzA2MTM2","avatar_url":"https://avatars0.githubusercontent.com/u/13306136?v=4","gravatar_id":"","url":"https://api.github.com/users/chaonan99","html_url":"https://github.com/chaonan99","followers_url":"https://api.github.com/users/chaonan99/followers","following_url":"https://api.github.com/users/chaonan99/following{/other_user}","gists_url":"https://api.github.com/users/chaonan99/gists{/gist_id}","starred_url":"https://api.github.com/users/chaonan99/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chaonan99/subscriptions","organizations_url":"https://api.github.com/users/chaonan99/orgs","repos_url":"https://api.github.com/users/chaonan99/repos","events_url":"https://api.github.com/users/chaonan99/events{/privacy}","received_events_url":"https://api.github.com/users/chaonan99/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-06-24T15:29:27Z","updated_at":"2018-11-12T05:46:20Z","closed_at":null,"author_association":"NONE","body":"Thanks for the nice plugin! But as my project is huge (containing some dataset folder), when I try to open file link with `ctrl+o`, it starts searching the entire project tree and cause sublime to crash. How can I restrict the search just relative to the current open file?"},"comment":{"url":"https://api.github.com/repos/aziz/PlainTasks/issues/comments/437763803","html_url":"https://github.com/aziz/PlainTasks/issues/386#issuecomment-437763803","issue_url":"https://api.github.com/repos/aziz/PlainTasks/issues/386","id":437763803,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNzc2MzgwMw==","user":{"login":"vovkkk","id":1975298,"node_id":"MDQ6VXNlcjE5NzUyOTg=","avatar_url":"https://avatars0.githubusercontent.com/u/1975298?v=4","gravatar_id":"","url":"https://api.github.com/users/vovkkk","html_url":"https://github.com/vovkkk","followers_url":"https://api.github.com/users/vovkkk/followers","following_url":"https://api.github.com/users/vovkkk/following{/other_user}","gists_url":"https://api.github.com/users/vovkkk/gists{/gist_id}","starred_url":"https://api.github.com/users/vovkkk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vovkkk/subscriptions","organizations_url":"https://api.github.com/users/vovkkk/orgs","repos_url":"https://api.github.com/users/vovkkk/repos","events_url":"https://api.github.com/users/vovkkk/events{/privacy}","received_events_url":"https://api.github.com/users/vovkkk/received_events","type":"User","site_admin":false},"created_at":"2018-11-12T05:46:20Z","updated_at":"2018-11-12T05:46:20Z","author_association":"COLLABORATOR","body":"All in one directory? well, as I said stopping search have to join a thread which is blocking operation, so if it takes too long to finish one iteration (we go though one directory per an iteration) then it will block main thread until it has a chance to exit the function:\r\nhttps://github.com/aziz/PlainTasks/blob/master/PlainTasks.py#L594\r\n\r\nThe reason for joining is to make sure that sequent searches will work as expected, i.e. a new search must not be started unless a previous is finished or cancelled, so results won’t be messed up in any way.\r\nI think we can avoid joining, but since we’ll have simultaneously-running threads it will be less reliable and more complicated.\r\nI don’t know when I’ll have a chance to try implementing this.\r\n"}}
{"actor":{"display_login":"vovkkk"}}