Closed hwair closed 4 years ago
Just to clarify, the issue isn't that there is no autocomplete when typing \begin{
.
It's that there is no autocomplete when typing \beg
or some variant, then hitting tab to get the autocomplete for \begin{} and \end{}
(with 2 cursors, one in each curly bracket pair).
As a side note, why does the autocomplete show up as a command menu, as opposed to the one that appears on \
alone?
Have you tried to restart sublime text? The installation of LaTeX-cwl is only checked during startup. Otherwise please open the ST console ctrl+`
and check for the output when it should be triggered.
Multiple times. Output shows that latex_cwl
has been loaded. \b
triggers the autocomplete menu. \begin
+ {
triggers the autocomplete command panel. \b
+ tab
to autocomplete into \begin{
and \end{
does nothing still.
@xXQWERTXx Ah now I understand your issue. It is a general limitation, that we can't hook into the autocompletion. There we can't open the fill all helper, when you use the autocompletion to insert \begin{
via autocompletion.
However the fill-all completions are also inserted into the autocomplete menu, therefore you can use the environment from there (note that you need to prefix \
for that completion type).
E.g.
Otherwise you may press C-l, C-f
to manually trigger the fill-all helper.
Oh! I see Thank you very much for your help @r-stein.
LaTeX-cwl is installed and
env_auto_trigger: true
, but there is no autocomplete for autocompleting\begin{}
and\end{}
. Tried toggling withC-l,t,a,e
. Tried addingto user keybinds as suggested by #1429. Not sure what else to do.