[Tex/LaTex] Customize auto-completion in Texmaker

auto-completiontexmaker

How can I work with customize completion?
I want to add some new auto-completion but I don't know How the wizard works.
It's here: User>Customize Completion
I don't know what should be writen in the box.

Best Answer

Here are a few examples of what I put in the field:

When you start typing one of these commands, Texmaker will offer you matching options for autocompletion, which you can choose between with the arrow keys and select with Tab.

If the command you entered had an @ placeholder in it (Note: That's Texmaker syntax and has nothing to do with the @ used in package internal macros), it'll be turned into a , to which you can jump with Tab:

The same idea applies for #bib# (bibliography items, i.e. items in a .bib file you specified in your document) and #label# (created through \label{labelname}). Unfortunately, the implementation of the latter seems to be flawed(note to self: file bug report):

To answer your question succinctly: You can enter whatever macros you're planning on using frequently, using one of the three placeholders Texmaker offers, if necessary.

Related Question