Open muzimuzhi opened 4 years ago
Well, I requested that feature more than 3 years ago: https://sourceforge.net/p/texstudio/feature-requests/1104/
@mrpiggi
Well, I requested that feature more than 3 years ago: https://sourceforge.net/p/texstudio/feature-requests/1104/
Your request is the same as #688 and is supported since 2.12.18. Current issue requires another extension to syntax of cwl files.
Thanks for that hint
Some latex commands accept 1) every option that another command (defined by another package) accepts and 2) some additional options. For example,
\arrow
fromtikz-cd
package accepts every option that command\path
fromtikz
package accepts and some additionaltikz-cd
options.\setCJKmainfont
fromxeCJK
package accepts every option that command\setmainfont
fromfontspec
package accetps and some additionalxeCJK
options.Currently there seems no way to specify this inheritance relationship in cwl files.
Syntax suggestion: Current
Extended (
#inherit
is valid between#keyvals ... #endkeyvals
only)