I use TeXstudio, and almost all commands I use on a regular basis autocomplete, which is very helpful... except for the \SI{}{} command from the siunitx package. I use this command constantly, and I always have to actually type out both sets of brackets. This is different from the fraction command where typing \fra and pressing tab gets you \frac{num}{denom}. Is there any way to get \SI to autocomplete?
Note: the units themselves (e.g., \meter) DO autocomplete correctly.
siunitxand removed\SIfrom the autocompletion list. You ought to use\qtyinstead. – Qrrbrbirlbel Mar 01 '23 at 08:49\qtyshould produce the same output as\SI. Either something is broken or you've got maybe a very old version ofsiunitx. We will have to see a minimal example to see what's going on. Maybe the default for\qtyis different. – Qrrbrbirlbel Mar 01 '23 at 19:33siunitxto typeset\qty. I don't see any difference in typesetting and spacing between\qtyand\SI. But then again: I am using LuaLaTeX to compile. Tthe manual states on page 59 in paragraph 9.1 some remarks on font encoding especially concerning PDFLaTeX font handling. Could that give you a clou about the different spacing you encounter? – alchemist Mar 01 '23 at 19:52