I'm using \newcommand for create some custom functions in my text. Some of these functions have 2 or 3 arguments and many times I confuse the input order.
The default commands of LaTeX in my TeXstudio editor shows suggestions like
But the new commands does not do it, only shows arg1 and arg2
\documentclass[12pt,a4paper]{article}
\usepackage{blindtext}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\newcommand{\test}[2]{#2 and then #1}
\begin{document}
\test{second}{first}
\test{arg1}{arg2}
\textbf{text}
\end{document}
There is a way to change the words arg1 and arg2 for second and first for example?
\test{second}{first} instead \test{arg1}{arg2}




texstudioas a tag, as well. – Steven B. Segletes Apr 11 '18 at 20:01arg1andsecondto be in place ofarg2? Alsocustomis not a good tag... Everything in TeX can be consider as custom... – koleygr Apr 11 '18 at 20:02\newcommand{\mypic}[3][]{\begin{figure}\centering\includegraphics[#1]{#2}\caption{#3}\end{figure}}and then the syntax explanationoptions,file,captioninstead ofarg1,arg2,arg3, respectively, would be useful. – Skillmon Apr 11 '18 at 20:08