GeneralToo dumb for auto-completion?

General information and discussion about TeXnicCenter
Post Reply
wermut
Posts: 1
Joined: Tue May 12, 2009 11:44 pm

Too dumb for auto-completion?

Post by wermut »

I type \begin{ite <Ctrl>-<Space> and get the following:

\begin{\begin{itemize}
\item

Too dumb for completion?
Bug?

Thank you for your time

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
Stefan Kottwitz
Site Admin
Posts: 10321
Joined: Mon Mar 10, 2008 9:44 pm

Too dumb for auto-completion?

Post by Stefan Kottwitz »

Hi wermut,

welcome to the board!
The auto-completion behaves different than you're expecting. Type item and auto-complete... I'm used to the other way too because of other editors, the handling could be smarter.

Stefan
LaTeX.org admin
tfs1
Posts: 3
Joined: Wed Jul 01, 2009 4:59 pm

Too dumb for auto-completion?

Post by tfs1 »

Hi,
sorry this is a slightly different question, but you might know:
Is there any way I could add a new command to TexNic Centre's autocomplete function? - I want to add the commands from the "todonotes" package (http://www.tex.ac.uk/tex-archive/help/C ... notes.html).

Any ideas would be much appreciated.

Thanks!
Montag
Posts: 340
Joined: Wed Jul 15, 2009 9:25 am

Too dumb for auto-completion?

Post by Montag »

tfs1 wrote:Is there any way I could add a new command to TexNic Centre's autocomplete function?
If you haven't looked it up on bing or google already...? :)

Let's say you installed TC in F:\programs.

Go to

Code: Select all

F:\Programs\TeXnicCenter\packages
and check the file

Code: Select all

TeX.xml
for the shortcuts on commands.
If you can not figure it out by yourself, please reply. :)
If you can figure it out by yourself, please reply. :)
OS: Win 7 64-bit LaTeX: MikTeX 2.9 64-bit Editor: TXC 1 RC1
tfs1
Posts: 3
Joined: Wed Jul 01, 2009 4:59 pm

Re: Too dumb for auto-completion?

Post by tfs1 »

Thanks a lot for the help, google didn't quite help as I didn't know what to look for :-)

I have modifided the Tex.xml, added command.
Question: Do you know how I can make the cursor jump into the curly brackets when using autocomplete.
E.g. I added "\stodo[inline]" what happens when I use autocomplete the cursor goes into the "[inline]" but not into the "{}" brackets. Any ideas?

Thanks again!
Post Reply