I have a class for which I've written a custom environment. I'm trying to add this environment to the .cwl
file, so that it would properly autocomplete.
Right now I have:
%.cwl
\begin{myenv}{command%text}
\end{myenv}
Which autocompletes as:
%.tex
\begin{myenv}{command}
content...
\end{myenv}
What I want is:
%.tex
\begin{myenv}{command}
\item
\end{myenv}
How can I achieve that?
Also, any pointers on where to find material on how to write cwl files (and how to distribute them with your class) would be appreciated. I'm finding TeXstudio documentation on them somewhat lacking.