TeXstudio's autocomplete suggested \microfarad as a command so I attempted to use it but received an "undefined control sequence" error. There are easy workarounds (\micro\farad and \micro\F), but why does autocomplete think \microfarad exists if it apparently doesn't? I had never used \microfarad before because I didn't know it "existed" until I started typing in \micro\F and noticed the suggestion.
This appears to be the case for other commands like \microampere, \microgram, etc. I noticed the problem with \microfarad because there are shorter commands for the other units (\uA, \ug, etc.) but \uF doesn't exist either.
Why does TeXstudio's autocomplete suggest these non-existent commands?
I've found this problem on two separate Windows 7 machines, and strangely I cannot find an siunitx.cwl file on either machine.
MWE:
\documentclass{article}
\usepackage{siunitx}
\begin{document}
\SI{1}{\microfarad}\\ % undefined control sequence
\SI{1}{\micro\farad}\\ % works
\SI{1}{\micro\F} % works
\end{document}
\microfarad, perhaps TeXstudio completion table isn't up-to-date. – giordano May 07 '15 at 19:47\newcommand{\microfarad}{\micro\farad}in the preamble and save the document once, Texstudio should be able to auto-complete\microf(or even with less characters) after that. – henry May 08 '15 at 20:44locate siunitx.cwlto identify the autocompletion file forsiunitx. – giordano May 09 '15 at 09:42