-
Notifications
You must be signed in to change notification settings - Fork 29.8k
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
[WIP] Inline all decorations #20042
[WIP] Inline all decorations #20042
Conversation
@Krzysztof-Cieslak, thanks for your PR! By analyzing the history of the files in this pull request, we identified @egamma and @jrieken to be potential reviewers. |
Hi @Krzysztof-Cieslak, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution! The agreement was validated by Microsoft and real humans are currently evaluating your PR. TTYL, MSBOT; |
Yeah, this how I said not to do it ;-) There is basically two issue with it and one makes not being able to reuse the goto error controller/widget. So problem 1 is that the widget reveals the line, therefore always scrolling to the last error which is unwanted and problem 2 is that errors that are on the same line are not sharing the widget. |
That just the version I have done earlier, just created this PR to discuss it here ;) I'll try to fix it soon. |
OK, I think I've fixed 1 - I've added optional parameter to To the 2 - I actually like that each error is in its own widget, not sure if we should change it. But your call in the end. |
Sorry for delay and for me making this more complicated now. I am prepending I didn't see the Let me explain two concepts the editor supports and how the ZoneWidget fits into this:
The ZoneWidget is a combination of the two above. There is a view zone in it that "makes space" and then there a widget which is "manually" positioned on top of that view zone. Because for the editor it's two different things the widget itself needs to self-manage it, like manually setting The good news is that for showing all diagnostics, it's enough to just use view zones. The bad news is that it makes this PR a little more involving. The abstract of this feature would then be
I hope I didn't scare you with this - I know it's a little work but it will result an implementation which is better then what we have today and that's what we want. I also happily assist you with getting this done. Happy Coding. |
Thanks for all explanations, I'll come back to this PR on the weekend / next week. |
#19749
CC: @jrieken