-
Notifications
You must be signed in to change notification settings - Fork 30
Panel auto hide option, for when there is nothing to show #185
Conversation
The same will be useful for auto-hiding Completion Hint Panel, too. If it is empty to be hidden. |
@lierdakil great point. I think leaving the header panel intact is a great idea, living with a 20px reduction is definitely better than a permanent ~100-200px one IMO! It would also have the added benefit that you could still see when the plugin is "thinking" on file save – something of which there is no indicator with my current solution. Happy to give it a bash but unsure if my atom-foo (or js/coffee-foo for that matter) is strong enough 😬 might need some pointers. |
Turns out, this was more involved than adding a couple lines here and there, so thank you for offering, but I decided it'd be easier if I do this myself. Most notably, some arcane css-foo was required to make this play nice with panel docked to left/right (see 6a9b115 if interested -- it does some other things besides that, though) Published as v1.9.0. Please report any issues with output hiding you encounter (it might be a little bit wonky, especially in conjunction with ide-haskell-cabal or ide-haskell-repl). Also it assumes that you have |
@varosi, ac-h implements hiding completion hint panel in v0.7.0, see settings. |
@lierdakil, 10x! I'm waiting for 0.7.0 to be available for download! |
@varosi, it is already, but you need Atom 1.13. |
Thanks for the hint! I now updated it from the site, because automatic
update was not reporting this new version.
2017-01-16 12:30 GMT+02:00 Nikolay Yakimov <[email protected]>:
… @varosi <https://github.com/varosi>, it is already, but you need Atom
1.13.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#185 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AFxXhsUF09_pY7cexM3jecQoLWk7WVPnks5rS0bIgaJpZM4Lj5mI>
.
|
Just a small bug report:
1. Panel output is empty
2. Go to settings and enable auto-hiding
3. Output will not hide in this moment even it is empty. I have to click
"Build" to hide it.
2017-01-16 12:36 GMT+02:00 Vassil Ognyanov Keremidchiev <[email protected]>:
… Thanks for the hint! I now updated it from the site, because automatic
update was not reporting this new version.
2017-01-16 12:30 GMT+02:00 Nikolay Yakimov ***@***.***>:
> @varosi <https://github.com/varosi>, it is already, but you need Atom
> 1.13.
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <#185 (comment)>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AFxXhsUF09_pY7cexM3jecQoLWk7WVPnks5rS0bIgaJpZM4Lj5mI>
> .
>
|
I don't see this as a bug. You can manually open collapsed output if you click on any tab, and you can also collapse output manually by clicking on current tab again. So generally speaking, empty non-collapsed output is a perfectly valid state. Of course, I could add a hook to collapse output when setting is triggered, but I'd prefer to avoid this additional complexity. |
Whatever you decide. It's not a big deal. I have just noticed this. |
@lierdakil awesome, works well! 💯 |
Adds a config option:
Which behaves like so:
Didn't presume to make it
default: true
as I'm unsure if this is a generally desired behavior, but I prefer to have the visual space when there are no errors, perhaps someone else would too? 😄