Is there a way to stop Texmaker from auto-putting the completion tag of every command when I use autocomplete? Like \begin{document}
and I press enter in the auto-complete and it includes the \end{document}
. Is there a way to switch this off without switching off auto-complete?
[Tex/LaTex] Texmaker – autocomplete problem
auto-completiontexmaker
Best Answer
I think that is not possible without touching the source code. You can customize completions in in
User > Customize Completion
as explained in Customize auto-completion in Texmaker. However even any custom completion with\begin{...}
is ended automatically with\end{...}
and very unfortunately you cannot modify the items provided by TeXmaker.I figured that a modification of the file settings could do to the trick, but I failed completely in this sense. As explained in Backup of user-defined entries of autocompletion in Texmaker? you can save a setting file, modify the fields of
Editor\UserCompletion
orShortcuts\data
where the are defined shorcuts as\\begin{quote}\n/\n\\end{quote}/0/1
and restore it, but this has no effect on the default autocompletion, as well as modifying directly the hidden configuration file~\.config/xm1/texmaker.ini
... so this a dead end for me. :-(