You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For some packages with package-specific libraries, texstudio supports special prefixes. In particular there are cwls named <prefix><library>.cwl for prefixes tikz, pgfplots, tcolorbox, and tabularray. Querying commands from tikz and tcolorbox libraries seems to work. For example
texfindpkg query -c calendar
produces
found package file tikzlibrarycalendar.code.tex with command \calendar
and
texfindpkg query -c tcbvignette
produces
found package file tcbvignette.code.tex with command \tcbvignette
But for pgfplots and tabularray libraries, it looks for .sty files with the cwl name:
texfindpkg query -c cellGetText
produces
found package file tabularraylibraryfunctional.sty with command \cellGetText
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:
texfindpkg query -e groupplot
produces
found package file pgfplotslibrarygroupplots.sty with environment {groupplot}
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: