sublimelsp / LSP-TexLab

LaTeX support for Sublime's LSP plugin provided through latex-lsp/texlab.
https://packagecontrol.io/packages/LSP-TexLab
MIT License
16 stars 2 forks source link

Is auto-completion supported ? #7

Closed JPenuchot closed 3 years ago

JPenuchot commented 3 years ago

Hello,

Is auto-completion supposed to work? I'm running LSP-TexLab on Sublime 4113, I get documentation popups when hovering things like bibtex citations, build on save also works, but auto-completion doesn't work as it does in the Texlab demo:

Tried my best reading LSP-Texlab and Texlab's documentations, hopefully I didn't miss anything too obvious.

Regards, Jules

rwols commented 3 years ago

What’s different about it? Do you see any relevant completions or no relevant completions?

jfcherng commented 3 years ago

it used to work for me, but i had to manually trigger autocompletion.

JPenuchot commented 3 years ago

I see no completion at all despite TexLab being enabled

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ On Thursday, August 26th, 2021 at 12:02 PM, Raoul Wols @.***> wrote:

What’s different about it? Do you see any relevant completions or no relevant completions?

You are receiving this because you authored the thread.

Reply to this email directly, view it on GitHub, or unsubscribe.

Triage notifications on the go with GitHub Mobile for iOS or Android.

JPenuchot commented 3 years ago

My bad, it works by pressing tab but only if I already wrote the first letter of a macro. I'm used to clangd which is automatically triggered after 300ms without typing.

Thanks for your answer, and sorry for bothering!

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ On Thursday, August 26th, 2021 at 12:04 PM, Jack Cherng @.***> wrote:

it used to work for me, but i had to manually trigger autocompletion.

You are receiving this because you authored the thread.

Reply to this email directly, view it on GitHub, or unsubscribe.

Triage notifications on the go with GitHub Mobile for iOS or Android.

rwols commented 3 years ago

Not a problem, and good luck with your PhD :)

jfcherng commented 3 years ago

FYI, in the latest LSP-TexLab 0.4.4, the autocompletion should be auto working more like VSCode. Thanks to @rwols