Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [auto-completion]

Auto-completion is a feature in (La)TeX source code editors that predicts the (La)TeX commands close to the command being typed to eliminate the need for typing frequently used commands. If your question concerns the functionality of specific editors (e.g., {texstudio}, {emacs}), include them as ...

0
votes
1answer
15 views

How to disable autocorrection/autocompletion but not the spellcheck/errorcheck in TeXstudio?

I want to disable autocorrection/autocompletion, like the automatic insertion of ] when I type [ and also other autocorrection/autocompletion options in TeXstudio. But I want to keep allspellcheck/...
0
votes
0answers
36 views

Why TeXStudio can't do auto-completion for Beamer?

I'm using TeXStudio with Beamer. According to https://tex.stackexchange.com/a/115708/163911, there's this command \secname to refer to current section name. I tried and it worked. What bothers me is ...
1
vote
0answers
90 views

LaTeX editor with seamless auto-complete

When working on a LaTeX project I like to create an .sty file (say mymacros.sty) where all my custom macros are defined. I then simply call \usepackage{mymacros} in the main .tex file preamble. I also ...
1
vote
0answers
69 views

Is there any way to make \right) appear right after I type \left(?

Similar to how when you type \begin{document}, \end{document} automatically appears. This is for TexMaker.
1
vote
1answer
36 views

Autocompletion of citation with BibDesk but without TeXShop

I have the inverse question of this one, Autocompletion of citation in TeXShop without BibDesk, but instead of "without BibDesk," I am looking for a way to have autocompletion of citekeys from my bib-...
0
votes
0answers
18 views

Autocompletion Texstudio

My texstudio programm was updated last week. Since the update was installed, the autocompletion mode does not work. I do not know what is happening, because I have checked the options that you can see ...
1
vote
1answer
26 views

Auto-completion of \ref doesn't work for my counter

I defined a counter and a command that defines examples and labels them. Unfortunately, when I use these definitions the \ref is not autocompleted by the texmaker or sharelatex. What should I add in ...
0
votes
0answers
32 views

texstudio cref completion for labels in macros

Is there a way to have completion for cref references for labels defined in a command macro? \newcommand{\midpict}[4]{ \begin{center} \begin{figure}[H] \begin{center} ...
1
vote
0answers
43 views

TeXstudio auto-completes normal words suddenly. How to disable? [closed]

I'm using the newest version of TeXstudio and I like it. However, suddenly it started to auto-complete normal words (not LaTeX commands). I can only type the first letter and then a popup shows some ...
0
votes
0answers
38 views

Getting predictive mode to suggest all possible environments

I'm trying auctex+predictive mode as my new latex editor. One feature that tempted me to add predictive mode to the equation, was the feature advertised in the image below: source This is ...
0
votes
0answers
43 views

Which LaTeX editor have autocompletion with a hotkey (like in commanline `tab`)

I use TeXstudio, it is pretty good and it autocompletion is great, but I was wondering if there is any editor I has autocompletion hotkey (like Tab in commandline)? Thanks in advance
0
votes
1answer
40 views

Bibliography Autocompletion doesn't work in TexStudio 2.12.6

I installed the last version of TexStudio (2.12.6) and Everything was fine since couple of days ago but suddenly bibliography autocompletion has stopped working. My OS is Ubuntu 18.04 and I think I ...
0
votes
1answer
31 views

Autocompletion of new command with zero arguments with LaTeXTools

I use Sublime 3 with the LaTeXTools plugin. Everything is updated. Here is a minimal example showing what happens when I use autocompletion for commands I defined locally: As you can see, it ...
0
votes
0answers
32 views

Texstudio autocomplete cite key by full text search?

I am using Texstudio 2.12.6 on Mac. When typing \cite{somewords, autocomplete shows a list of cite keys that start with 'somewords'. But I want it to show cite keys that contain 'somewords' inside, ...
0
votes
0answers
23 views

Reference auto-complete

I defined a new environment example. I have a good reason for defining a label inside the environment and I want to keep the \label command in the definition of \example. When I want to refer to the ...
2
votes
1answer
126 views

Auto Completion in TeXworks

I am new to Texworks. I would like to have this behaviour: If I type in \begin{something} then the phrase \end{something} will be added automatically. Is this feature available? How can I activate it?...
7
votes
2answers
438 views

Configuring auto-completion with TeXstudio

TeXstudio does a pretty good job with autocompletion. For example, when I type \eqref{, it already comes with suggestions, see the example below. However, suppose that I don't want to use \eqref but ...
0
votes
1answer
164 views

Autocomplete curly brackets after LaTeX command in TeXStudio

I'm using TeXStudio with MikTeX distribution. Is there a way to automatically add the curly brackets at the end of a command? Let me explain using an example. Suppose I'm typing in math-mode \Gamma ...
2
votes
1answer
191 views

How to properly set up AUCTeX to parse macros from my own *.sty files?

I am on Windows. Here is the code I have in my .emacs file to enable AUCTeX to recognize macros I have defined in my own style files: (setq TeX-parse-self t) ; Enable parse on load. (setq TeX-auto-...
0
votes
0answers
60 views

Autocompletion in Texmaker for \citeA command [duplicate]

Texmaker suggest a list of all bibtex-keys when typing the beginning of \citep{•}. I use APACite and therefore often need \citeA{•} though. First: Is it possible to make texmaker suggests for \citeA{•...
0
votes
0answers
47 views

Change autocompletion key in Kile

I am using Kile and I am very happy with it. However, I really find annoying that the autocompletion key is enter. Is it possible to change it to tab? I have autocompleted a word when I tried to ...
1
vote
0answers
165 views

Word prediction when typing LaTeX

Some time ago I while preparing my Bachelor's thesis I came across a word prediction macro for Microsoft Word - the preDict: http://www.beingbrunel.com/predictive-text-in-word/ https://github.com/...
0
votes
0answers
32 views

natbib \citet/p fields not 'active'

This is not a big issue but I wander why it happens. When I open my tex file in TeXstudio, in which I have a lot of references (using natbib), the fields in {} are not active immediately, and the ...
2
votes
1answer
262 views

Autocompletion on TeXShop does not work properly

I have just discovered that TeXShop should have this function, as described in section 1.16 Auto Completion of this manual. Now, by default I should have the autocompletion for ", which should be ...
0
votes
1answer
84 views

completion with the second argument of a command in texstudio

From Texsudio manual on autocompletion files: "The classifiers specifying the meaning of arguments (like c or i) always apply to the first non-optional parameter. This is a current limitation of the ...
1
vote
1answer
122 views

autocomplete with labels defined by user commands

I use a command that automatically generates labels to include pictures: \newcommand{\plot}[3]{ \begin{figure}[htp] \centering \includegraphics[#2]{Fig/#1} \caption{#3} ...
1
vote
1answer
238 views

TeXStudio Autocomplete or suggest image path

I am writing a report in TexStudio. I recently exported the report from sharelatex. In sharelatex, it autocompletes or suggests the image file location. But I can't make TeXstudio do the same thing. ...
0
votes
2answers
390 views

Editors for Windows with automatic completion, environments etc

My "home" environment is GNU Emacs under Linux with AucTeX and RefTeX; as far as I'm concerned this is the perfect environment for LaTeX editing. And I've written books, papers, notes for students, ...
3
votes
0answers
126 views

Disabling autocompletion of `\(\)` in TeXstudio

I am using TeXstudio 2.12.6 QT 5.9.1, and have the Auto Complete Parentheses in Special options turned on. In general, it automatically 'closes' the brackets / braces for the following combinations: (...
1
vote
1answer
175 views

TeXstudio: Can I put multiple packages in a separate file and still have the autocompleter recognize their commands?

This is a follow-up question to Place preamble packages in a different tex file, Methods for autocompletion in TexStudio don't work. The Problem Over the years, I have collected quite the number ...
2
votes
1answer
296 views

Autocompletion of citations and references in TeXShop

I used to use Esc to complete citations and references when typing in LaTeX using TeXShop but it doesn't work any more. It stopped working on my new laptop probably because I had to install TeXShop ...
1
vote
1answer
42 views

Is there a way in Bibdesk to erase wrong completion suggestions due to typing mistakes?

For example, if I type once Shakespere instead of Shakespeare Bigdesk keep suggesting it when I type Sha in the Author field. Is it a way of cleaning up the list of such suggestions
2
votes
1answer
149 views

Is there a shortcut in TeXstudio for autocompletion?

Is there a shortcut in TeXstudio for autocompletion? For example when I started to write \ref and then went to find out the name and got back, now the suggestions won't appear without deleting and ...
0
votes
0answers
25 views

Can you get rid of the “content” box for the autocompletion, without getting rid of the \end{} autofill?

I really like the autofill function where you start typing \begin{*environment-name*}and it automatically starts filling in the \end{} as well, but it always shows up with thiscontent...box that you ...
3
votes
2answers
359 views

Automatically Delete Corresponding Bracket in TeXstudio

Let me start off by saying that I'm not looking for how to disable bracket completion. In fact, when I tried searching for what I'm about to ask, that kind of information was the only thing that kept ...
1
vote
0answers
186 views

Command completion disabled in TeXShop

The command completion does not seem to be enabled on my version of TeXShop (3.84). But, when I read the documentation, it is supposed to be installed with TeXShop. When I start a command like \begin....
1
vote
1answer
158 views

Texstudio change shortcuts for autocomplete dialogue

In the autocomplete dialogue that appears in texstudio when you begin to type a command it is possible to navigate through the autocomplete options using the up & down arrow keys. Is it possible ...
1
vote
2answers
186 views

TeXstudio: “Recursive” autocomplete for custom commands

I added this command to reference sections (figures, chapters, etc.): \newcommand{\secref}[1]{Section~\ref{#1}} Now TeXstudio autocomplete shows me but I am missing the autocompletion for the ...
2
votes
0answers
27 views

Modify default behavior in drag and drop of files in TeXShop [closed]

In TeXShop, when you drag and drop a file from Finder into your document, TeXShop recognizes the type of file and wraps around relevant LaTeX syntax to help make sure it compiles. Example 1: The ...
1
vote
0answers
359 views

Texstudio + custom cwl: #include command ignored

Goal I am trying to derive my own class from memoir and would like to include all the auto-completiong from the original memoir class. Problem I wrote a customg .cwl file using #include:class-memoir....
1
vote
1answer
81 views

BibDesk completion suggestions do not show if more than four initial characters are given

This question concerns TeXshop 3.77 on OSX 10.10.5. Suppose you have already placed two labels: \label{eq:abstract} and \label{eq:abstain} If you type \eqref{eq:ab then press Esc, BibDesk ...
2
votes
0answers
123 views

Texshop autocomplete option

Is it possible in Texshop to have an autocomplete option like in Texmaker, so that I don't need to press Esc everytime? What I mean is that So instead of clicking Esc, it automatically shows you ...
2
votes
1answer
877 views

Methods for autocompletion in TexStudio don't work

I've made a mymacros.sty file which I would like my LaTeX files to be able to access with commands that I've defined. I've managed to get it to work by putting \usepackage{mymacros} in my preamble. ...
1
vote
2answers
316 views

cleveref command auto-completion in TeXShop

I want to start creating clickable links for my equation reference etc. How can I let TeXShop know to auto-complete commands like \cref and friends defined by the cleveref package? I have loaded the ...
0
votes
0answers
75 views

Exam class auto complete in TexStudio

I am using TexStudio and exam class. It runs fine and produces the output I want but I cannot get TexStudio to recognise the commands from the exam class and hence auto complete.
1
vote
1answer
573 views

Sublime Text: Reference completion across multiple files using LaTeXTools and import

Consider the following project structure project | -- part | | -- fileWithLabels.tex | | -- fileWithRefs.tex | -- main.tex Is it possible using Sublime Text 3 and LaTeXTools to achieve auto ...
1
vote
1answer
380 views

TeXstudio autocomplete label local definition

I have a document with a local (not from package) defined commands \newcommand{\mylabel}[1]{\label{#1}} \newcommand{\myref}[1]{\ref{#1}} I know that I can use the TeXstudio autocomplete with a ...
1
vote
1answer
210 views

Texshop Autocomplete file

This thread explains how to edit Texshop's autocomplete file. I have two problems with this file: It contains Gibrish letters, even after changing the encoding to utf8 (screenshots below). I can see ...
0
votes
1answer
59 views

Autocomplete of a citation based on the Title not the Key in TeXstudio with Bibtex

I am Using BibTex and \cite in TeXstudio, is it possible to get the filtered pop up suggestion menu based on the title? I'm seeing \cite generates the popup menu and suggests and filters citations as ...
3
votes
1answer
2k views

Mac OS Sierra: Auto Complete Not Working In TeXShop

After upgrading my Mac to macOS Sierra, I have an issue relating to BibDesk (v. 1.6.7) completions in TeXShop (v. 3.73); they don't work. Previously, if I typed "\ref{" or "\cite{" and (while BibDesk ...