I have a document with a local (not from package) defined commands
\newcommand{\mylabel}[1]{\label{#1}}
\newcommand{\myref}[1]{\ref{#1}}
I know that I can use the TeXstudio autocomplete with a suggestion list by writing
\mylabel{label}#l
\myref{label}#r
in to a packagename.cwl file. But is there an option to write it local into the document?
\myref{arg1}
suggestion but the suggestions for all already existing labels like\myref{label1}
,\myref{label2}
.