Autocompleting references

In DoenetML version 0.7.13, we’ve added the ability to autocomplete references.

For example, with this DoenetML

<p name="myPar">Here is <math name="theMath">x</math></p>

typing $ will show a list of the two possible references $myPar and $theMath.

Typing $myPar. will show a list of properties for <p> as well as the descendant theMath.

I’d be curious how well this feature works for people. Because it is based on heuristics, it does not suggest every possible reference; that will take more work. I’ve tried to keep it from suggesting invalid references.

Do you find this feature helpful? If you find it is giving you invalid references or not suggesting key references, let me know.