-
-
Notifications
You must be signed in to change notification settings - Fork 272
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
Improve when protected_regions
are created
#1697
Comments
Good point. Does brackethighlighter respect our protected_regions? Probably not. So yeah, this should be removed. |
With the Actually, we should provide |
I would not be surprised if almost everyone keeps the default setting here, ie. enable The important thing was the icon though. We felt that our icon was more important than theirs. But I think their popup is maybe more important than ours, because we have about 5 alternatives to the popup, and GitGutter doesn't. |
This also assumes that our tooltip is more important than GitGutter’s, which I’m not sure is true (for everyone always). I think we should either leave the functionality as is (it works when it works and apparently people don’t have big problems with it), or get rid of it. I don’t think it works well enough to warrant trying to make it smarter or enhancing it in any way, and people are not demanding we do anything extra here. I personally like the idea of taking out the protected regions because it doesn’t work that well and there are other ways of getting that info if another package steals “our” region. And I like taking features away 😈 tldr; I vote doing nothing and closing this issue as “won’t fix” |
I sure fix the bug here, since we now know it, and don't set protected regions if Other than that it is an UI thing. When we draw things which look like "hoverable" then we also show the tooltip, maybe even if it is probably not that useful. I can also imagine that we first did the gutter tooltips and then the setting was added because user actually found the line report not useful and wanted rather nothing or the GitGutter thing. From my point of view, hard to see any benefit from the line tooltip. I actually use the error tooltip which comes naturally; you see an underline, and have your hand already on the mouse so you just approach it, and hover. Don't know why you should do this on the line; and if you have multiple errors on the line, hard to tell for sure which is which. On the other hand, if I hover over such an icon (from us) and then GitGutter appears... I already made a quick fix here, and it sure feels/looks strange. Probably or maybe the best experience is to show the tooltip when the icon is visible without any setting. You either have icons, or just don't draw them. But I have to try as well, if I actually like it to have no icons. Don't think I ever tried that. Or I just hide the icons on hover which would make it very clear that the tooltip does not come "from" the SublimeLinter icon. |
Sounds good, seems like some experimentation is needed here. |
Takeaways:
|
protected_regions
thing?protected_regions
are created
The sole purpose was cooperation with
GitGutter
iirc which worked 😐 at best.Since then, we have git support in Sublime which actually draws the gutter stuff for us. I actually still use
GitGutter
(for the tooltips) which cooperates with the Sublime thing 😗.tl;dr I don't think we need this anymore.
The text was updated successfully, but these errors were encountered: