Hello,
my label detection and auto completion does not seem to work. Here an example:
\documentclass[acmtosn]{acmsmall} \usepackage{cleveref} \begin{document} \ref{sec:bla} \Cref{sec:bla} \section{bla} \label{sec:bla} xx \end{document}
attached is a screenshot which I captured after running the build chain a couple of times.
The acmsmall class is from http://www.acm.org/binaries/content/assets/publications/article-templates/acmsmall.zip
which version of txs ?
make sure that cleveref.cwl does not contain \label ...
TeXstudio 2.11.2 (hg 6191:c01fb289a5fe) with TexLive 2016
Please see also my other comment below. Thanks a lot.
Last edit: Herbert Meier 2016-10-24
works fine here
I can find that file:
% find ~/.config/texstudio/ -type f -iname "*cleveref*"
But I enabled the completion for cleveref in the texstudio settings.
Last edit: Herbert Meier 2016-10-24
1) you should not activate completion files manually as the autodetection usually works well
2) txs uses .config/texstudio/completion/user/*.cwl if present, even if txs provides the cwl itself. (so that you can change settings) Assuming that you did not change the file, delete it, as txs now provides cleveref.cwl
Last edit: Jan Sundermeyer 2016-10-24
The issue is regulary reappearing (without changing anything regardin the configuration or TexLive setup). I noticed it e.g. when using Texstudio for some time and rebooting then. The only solution is then again to delete the completion folder and restart texstudio.
Last edit: Herbert Meier 2016-11-02
As the file wasn't there I didn't know what to do, so I just removed ~/.config/texstudio/completion and restarted TexStudio. Now it seems to work. Thanks!