iamhyc / Overleaf-Workshop

Open Overleaf/ShareLaTex projects in vscode, with full collaboration support.
https://marketplace.visualstudio.com/items?itemName=iamhyc.overleaf-workshop
GNU Affero General Public License v3.0
562 stars 13 forks source link

Colision with hsnips and LaTeX Workshop extension - no suggestion list when use Overleaf Workshop #202

Closed vladan995 closed 1 month ago

vladan995 commented 1 month ago

I use hsnips extension from https://github.com/Oskar-Idland/hsnips which allows me to write Latex commands very fast. When I use Overleaf Workshop to work on documents on Overleaf servers my snippets don't work. There is no suggestions for any of snippets defined in hsnip extension. Only snippets that work are those which are "autoexpand," i.e. which does not request suggestion list. When I work on documents which are not on Overleaf server it works perfectly.

Environment

vladan995 commented 1 month ago

It also blocks suggestions from Latex Workshop extension. There no suggestions at all.

iamhyc commented 1 month ago

@QianrenLi Please help have a look at it.

iamhyc commented 1 month ago

@vladan995 It may be related to the virtual workspace mechanism in vscode. You can try "open project locally" instead, following the guidance here: https://github.com/iamhyc/Overleaf-Workshop/blob/master/docs/wiki.md#open-project-locally

vladan995 commented 1 month ago

That solves the problem. Thanks.