Thanks for an awesome package, it's really useful!
One minor gripe though... Would it possible to have an option to disable the "Please wait" tab?
I got this working by destroying the WaitView object immediately after opening the file:
externalOpenUri = (uri, waitView) ->
fs ?= require 'fs'
fs.exists(uri, ((exists) ->
if exists
open ?= require 'open'
open(uri, (=> atom.workspace.paneForItem(waitView)?.destroyItem(waitView) if waitView?))
+ atom.workspace.paneForItem(waitView)?.destroyItem(waitView) if waitView?
else
setTimeout((() => atom.workspace.paneForItem(waitView)?.destroyItem(waitView) if waitView?), 2000)
console.error "#{uri} is not a file!"
)
)
That's probably not the cleanest way to do it, but it seems to work. It would probably be better to skip creating it instead.
Could an option be added to not create the "Please wait" tab?
Thanks for an awesome package, it's really useful!
One minor gripe though... Would it possible to have an option to disable the "Please wait" tab?
I got this working by destroying the
WaitViewobject immediately after opening the file:That's probably not the cleanest way to do it, but it seems to work. It would probably be better to skip creating it instead.
Could an option be added to not create the "Please wait" tab?