Eg. I want it to, when I type \begin{figure} and press enter, autocomplete the following:
\begin{figure}[!htb]
\centering
\includegraphics[width=\textwidth]{}
\caption{}
\label{}
\end{figure}
I am using TexStudio and \usepackage{graphicx}
I know that when I type for example \begin{itemize}, it autocompletes the following:
\begin{itemize}
\item
\end{itemize}
So my question is: Is there a way to customize what autocompletes when entering certain commands?
Thank you.

\centeringall the time, you can look at https://tex.stackexchange.com/a/53383/56823. – Archange Oct 22 '21 at 11:26