Open mbertucci47 opened 1 year ago
I will fix this in next release. But I could not understand well why tabularray
libraries are treated in this way. In the future, there will be a keyvalue
library which also load functional
package, and maybe a verbatim
library which loads codehigh
package.
But I could not understand well why
tabularray
libraries are treated in this way.
Do you mean from the texstudio side? If so, it's so that the commands from those libraries are only added to the autocompletion and syntax checker lists if the library is loaded via \UseTblrLibrary
.
For some packages with package-specific libraries, texstudio supports special prefixes. In particular there are cwls named
<prefix><library>.cwl
for prefixestikz
,pgfplots
,tcolorbox
, andtabularray
. Querying commands from tikz and tcolorbox libraries seems to work. For exampleproduces
and
produces
But for pgfplots and tabularray libraries, it looks for .sty files with the cwl name:
produces
and builds the dependency tree from the cwl file, but of course one would also like it to recognize that you need tabularry installed for it to work. Similarly for pgfplots:
produces