SublimeText / LaTeXTools

LaTeX plugin for Sublime Text
https://latextools.readthedocs.io/
2k stars 364 forks source link

Autocompletion for environments and stuff? #1486

Closed quantumgolem closed 4 years ago

quantumgolem commented 4 years ago

In Overleaf, when you start a new environment, such as \begin{figure}, you'll get a dropdown allowing you to choose from many different environments. This also happens in latex tools when including an image with include graphics or use package.

Question: Is this possible with latex tools when creating environments?

Also, in overleaf when you finish writing the \begin{my_env} text, after you press enter an \end{my_env} automatically pops up.

Question: Is this behavior also supported by latextools?

quantumgolem commented 4 years ago

Apparently I needed to install the LaTeX-cwl package

r-stein commented 4 years ago

Yes you need the LaTeX-cwl package. The completions are taken from there.