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
489 stars 11 forks source link

Main tex file name like "0.main.tex" will lead to some errors #197

Open wjfu99 opened 1 week ago

wjfu99 commented 1 week ago

Describe the bug

Recently, i found that if i use 0.main.tex as the main tex file with overleaf-workshop (open locally, collaborate with latex-workshop), several bugs will appear:

Expected behavior

How To Reproduce

rename the main tex file to "0.main.tex" will reproduce it, I can fix this problem via renaming the main tex file to a regular name like "main.tex". Although this problem can be fixed easily, I open this issue to report this abnormal phenomenon.

Environment

[Optional] Developer Logs

If applicable, please paste the logs inside the details section below. Please find the logs via: Title bar "Help" > "Toggle Developer Tools" > "Console".

iamhyc commented 1 week ago

By default, only "/main.pdf" and "/output.pdf" are ignored at the root folder, so the generated "0.main.pdf" will be pushed to the server.

I do see some errors generated after renaming the main tex file. I will check it later.

iamhyc commented 1 week ago

Well, after some check, I find the printed errors could be ignored, and there is no "trigger the full amount synchronization" found in any case. I will mark this issue as cannot-reproduce until you could provide more details.