Closed Zheoni closed 2 years ago
Ok, my bad. I'm sorry, I didn't see the wiki. I managed to create a cwl file for the package myself. Thanks for your answer! I'm really enjoying writing my documents in texstudio, thanks for your work.
you could hand in your cwl if you like.
I have put together all the commands and options, however I have not tested it as I don't use all of them. Also, I think this package does something unsupported by the cwl description here: https://htmlpreview.github.io/?https://github.com/texstudio-org/texstudio/blob/master/utilities/manual/usermanual_en.html#CWLDESCRIPTION
The "problem" is that this package behaves differently when used as a document class or with \usepackage. The same command has different keyvalues in these 2 situations. Now it shows all the key values no matter how it is used.
Should I make a pull request o just paste the file here?
If possible, a pull-request is preferable.
Environment
Expected behavior
When I use the
\includestandalone
macro it should autocomplete and mark it as correct latex syntax.Actual behavior
Usage of the
\includestandalone
macro is marked as an unrecognised command. When compiled, all works fine, but it's annoying seeing it marked as if it is wrong. I have tried deleting the autogeneratedstandalone.cwl
but the result is the same.How to reproduce
2 files: