I am currently using Visual Studio Code with Pretext tools (thanks Oscar, for the great work) for editing Pretext files.
According to the changelog this new feature
Set default value for xml.references so that <xref ref="foo"/> is linked to @xml:id="foo".
has been introduced in version 0.90
The editor now yields an error message if you use an undefined reference
Undefined reference 'foo': nothing that matches the expression '@xml:id' defines 'foo'.
However, if your source is modular you get an error message like that even if the reference is defined but it is in a different file of the project. Is there a way to tell Pretext-tools for search in all the files of the project? Maybe I am missing some obvious option.
All the best,
Valerio