When using the command \ref{ it automatically suggests several arguments, such as eqn:equation1, fig:figure1, and so on.
I have defined the command \newcommand{\fref}[1]{Fig. \ref{#1}}, which rather simply puts Fig. in front of the reference number.
Is there any way to make \fref{ automatically suggest arguments, as \ref{ does? Ideally, it would only suggest arguments that begin with fig:.
This is for TexStudio, which controls this (as far as I know).
\newcommand{\fref}[1]{Fig.~\ref{#1}}in order to avoid page breaks betweenFig.and the corresponding number. BTW: there's also packages likecleverefwhich you might want to consider http://tex.stackexchange.com/q/36295/5049 – cgnieder Apr 15 '15 at 09:14