Closed thery closed 2 months ago
I checked and indeed it is the depth used by coq. This is the kind of goal display you get in coqc by using the example in https://github.com/coq-community/vscoq/issues/809. Do you really find this reasonable ?
I think that as long as you can easily unfold it by clicking, it makes sense to have a smaller default depth.
The problem being that right now it only unfolds on one level, so it can be quickly tiresome. Maybe add an unfold all ?
It could also maybe unfold something like 10? I don't know what would be the best…
If you have the time to put the settings in the goal view, then it is easy to set it to 50 in one go
It's not great practice to create your own settings page (https://code.visualstudio.com/api/ux-guidelines/settings). So I did the next best thing: I add a button that opens the settings page for the goals display.
I'm now going through a proof with a lot of ellipses, and it's actually quite a pain to unfold them all. One thing is that [...]
will sometimes unfold to ([...])
which is a shame. So I think 10
is indeed too small, but also it would be nice to be able to unfold "faster".
Okay I've added a mechanism so that an ellipsis opens at a +10 depth factor. I still think that 50 is too big for the default setting. By playing around I like the number 17. Maybe one of you can play around and tell me what you guys think @TheoWinterhalter @thery ?
That sounds good to me. If you make a new release, I'd be happy to test it. :)
50 seems REALLY high, for example on the issue that was fixed by the ellipsis (#809) it has no effect.