-
Notifications
You must be signed in to change notification settings - Fork 82
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
Autoclose doesnt work after moving last file #54
Comments
Unfortunately there's no mechanism in Sublime Text for a plugin to be notified when you drag & drop. I can make it happen for carry file to pane, though. |
Here to vote for the close-empty-pane-on-carry feature, it would be super nice to have 😃 That said, does anyone know of a setting deep in sublime to auto-close any empty panes? I feel like there should be an option for it by now but google and the default preferences page aren't giving me much to go on |
I think this could also be done for drag-n-drop, by watching on_activated. We get a view activation at the end of a drag-n-drop sequence. The trick then becomes figuring out whether a new view got opened or if you moved something around. |
Was |
This feature is implemented for |
Unfortunatelly that doesn't work for me. I have that setting enabled and when I Tried storing |
Shall I open a new issue with the above description @adzenith? |
It works fine for me - are you sure you have that setting correct? If I carry a file with that setting enabled, the pane closes as expected. |
I am 100% sure, maybe it is in conflict with some other plugin? I will do a fresh install of sublime3 with just Origami and see if it works, then slowly re-add all custom settings and plugins. Will keep you updated :) |
Ok, let me know! Thanks! |
I stripped my sublime3 and installed only origami, enabled the auto_close functionality and experianced the same behaviour. I started debugging your package and the This is stack trace when moving last file from the right to the left pane
This is stack trace when closing last file on the pane (mouse click):
First case doesn't close the empty pane, second does. |
I have decided to fork the package and modify it to satisfy my needs. See here if interested how I wanted the pane management to work: "patch". Non the less, great work! |
I still can't reproduce - I'm able to carry any file to any pane and have the empty pane close correctly. What version of Sublime Text do you have...? |
Latest 3, using windows or linux produces the same results.
…On Tue, Jul 9, 2019, 03:35 Nikolaus Wittenstein ***@***.***> wrote:
I still can't reproduce - I'm able to carry any file to any pane and have
the empty pane close correctly. What version of Sublime Text do you have...?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#54?email_source=notifications&email_token=AADZDXRWR5QNQJQGMGV4Q4DP6PTONA5CNFSM4ALRJNU2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZOZ6XY#issuecomment-509452127>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AADZDXTK5QUMAGJTTJ6HUCTP6PTONANCNFSM4ALRJNUQ>
.
|
i enabled the option "origami_auto_close_empty_panes" in my settings, so if i close the last file in a pane, it close, but if i move the last file to an other pane by drag&drop the pane doesn't close. And using the command carry_file_to_pane also doesn't trigger the auto close.
The text was updated successfully, but these errors were encountered: