# Autocomplete current environment

Is there a keyboard shortcut in TeXnicCenter to complete the current environment? In other words, it should add the appropriate \end{....}.

• Press Ctrl + Space. – Gonzalo Medina Jun 15 '11 at 18:07
• Have a look at Tips on code completion on TeXnicCenter. – Stefan Kottwitz Jun 15 '11 at 18:35
• @doncherry: in that case, I'll recommend to always type \begin{<env>} \end{<env>} at once (and in this circumstances auto completion can be handy), and fill the contents afterwards; this helps to prevent forgetting to end an environment. – Gonzalo Medina Jun 15 '11 at 19:29
• Obligatory emacs answer: C-c ] closes the current environment. – Seamus Jul 1 '11 at 10:24
• Sadly, it does seem that the correct answer is "there isn't". Oh well. It's the main feature I miss from Emacs. – Jeremy Hurwitz Jul 6 '11 at 22:48

\begin{pumpkinpie}

\end{pumpkinpie}