Generalautocomplete angst.

General information and discussion about TeXnicCenter
Post Reply
marty0801
Posts: 1
Joined: Fri Jan 30, 2009 7:27 pm

autocomplete angst.

Post by marty0801 »

Dear Community,

When I type ctrl+space to engage autocomplete in defining an environment, it just prints the environment commands AFTER what I've already typed, instead of replacing it. For example, I'm typing

Code: Select all

\begin{enu
when autocomplete prompts me. ctrl + space gives

Code: Select all

\begin{\begin{enumerate}
  \item
\end{enumerate}
It's getting really annoying. Any suggestions?

One more thing: Does anyone know how to disable autocomplete entirely? Thanks for the help.
Last edited by Stefan Kottwitz on Sun Feb 05, 2012 6:08 pm, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
Lucia
Posts: 36
Joined: Wed Dec 31, 2008 9:03 pm

autocomplete angst.

Post by Lucia »

Hi, marty0801.

You don't type "\begin" to get the autocomplete function working properly. Just type the name of the environment you want and then press ctrl + space. Using your example, by typing "enu" and then pressing ctrl + space, you get:

Code: Select all

\begin{enumerate}
\item
\end{enumerate}
Regarding your second question, I don't know how to disable the autocomplete function. Actually, I like this function, so maybe someone else can be more hepfull than me...

Lucia
Last edited by Stefan Kottwitz on Sun Feb 05, 2012 6:07 pm, edited 1 time in total.
athangali
Posts: 1
Joined: Thu Feb 02, 2012 12:38 am

autocomplete angst.

Post by athangali »

Based on the hint here,

http://tex.stackexchange.com/questions/ ... xniccenter

To disable autocompletion you would need to comment out all sections

'<lxEnvironment name=".... />'

in the XML files contained in "TeXnicCenter\Packages\" (base.xml, Tex.xml, etc.).

You can use '<!-- .... --> ' to comment out each of these sections.

Here are the modified XMLs,

http://cs-people.bu.edu/tvashwin/tech_l ... es_xml.zip

When you restart TeXnicCenter an error message about incorrect Microsoft XML parser, seems to me, can be safely ignored.
Post Reply