https://github.com/itain/FreeCAD/tree/h ... onstraints
Asking for both technical and usability comments.
Items in the sketcher constraint list are marked, based on selected geometric object in the sketch.
If a single item is selected mark all the constraints that are directly referencing this item.
If two or more items are selected, mark those constraints that directly reference at least two selected items (select two items to see how they are related!).
This version ignores main axes, external edges and the root point when they are selected. Should be easy to add them.
I'm managing own selection lists. This is done also in ViewProviderSketch.cpp (and possibly other places). I do not know if there is a way (and is it at all advisable) to share objects between TaskSketcherConstrains and ViewProviderSketch.