# How to use the autocompletion of enumerate in latexing (sublime text)

When I write

\begin{enumerate}


sublime text does not auto complete it to

\begin{enumerate} \item \end{enumerate}


like I would expect. Is there a way to achieve this?

If you type enum and press Tab you will get this:

Similarly type item and press Tab to get

To put a new \item press Shift + Enter at the end of line

For a quick view of these short cuts Press Tools and then Snippets (Cntrl+L, Cntrl+S) to get

• Your answer is much better than mine... I had no idea about that shortcut! Thank you! :-) – darthbith Jan 13 '15 at 12:57
• Are you not using WinEdt as your editor anymore? – karlkoeller Jan 13 '15 at 13:25
• @karlkoeller I do but reduced the usage as I started learning other editors (mainly emacs). But winedt always when on windoze!. :) – user11232 Jan 13 '15 at 13:27

Type begin (without the \), then push TAB. This will complete the environment so you will see

\begin{env}

\end{env}


and the cursor will be highlighting both envs. You can then type enumerate, which will fill enumerate into both env spots, and add an item in the middle:

\begin{enumerate}
item
\end{enumerate}


Unfortunately, it seems there is a bug that the \ before item is not added automatically. The same works for itemize.