Consider the following:
\NewDocumentCommand{\foo}{s m}{%
\IfBooleanTF{#1}{\textbf{#2}}{#2}%
}
\foo{bar}
\foo{barr}
\foo*{barrr}
"Go to definition" works properly only for the non-starred calls, similarly "Go to references".
I think it would be appropriate to include also starred variants.
Consider the following:
"Go to definition" works properly only for the non-starred calls, similarly "Go to references".
I think it would be appropriate to include also starred variants.