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

Spell check not working #206

Closed halfmanli closed 3 weeks ago

halfmanli commented 3 weeks ago

Describe the bug

With incocrret words as input, the VSCode editor does not perform spell check. image Usually, blue wave underlines as such below image are shown, but they suddenly disappear hours ago. image

Expected behavior

At the Overleaf web editor, we can see error tips. image

Environment

iamhyc commented 3 weeks ago

Actually, I was working on an Overleaf project now, with the spell check on. It does work, though not perfectly.

Please firstly check if you enable the spell check on the status bar.

图片

halfmanli commented 3 weeks ago

Actually, I was working on an Overleaf project now, with the spell check on. It does work, though not perfectly.

Please firstly check if you enable the spell check on the status bar.

图片

Sure, I've checked this multiple times by turning it off and on. Here's my status bar: image But this still not works. The spell check works very well until hours ago.

iamhyc commented 3 weeks ago

Actually, I was working on an Overleaf project now, with the spell check on. It does work, though not perfectly. Please firstly check if you enable the spell check on the status bar.

Of course, I've checked this multiple times by turning off and on. Here's my status bar:

Ok, then please try to attach the developer logs and see if there is any error/warning messages.

Please find the logs via: Title bar "Help" > "Toggle Developer Tools" > "Console".

halfmanli commented 3 weeks ago

Here are my operations:

  1. In my tex file, I input a random word, and the console shows: image
iamhyc commented 3 weeks ago

Here are my operations:

1. In my tex file, I input a random word, and the console shows:

I see. So the problem is trying to read a non-existing diagnostic. I will try to reproduce your situation later today.

If possible, please also provide a minimum tex file example to reproduce the situation. Thank you!

halfmanli commented 3 weeks ago

It seems every project is influenced by this bug. For example, I build a new project with the template from: https://www.overleaf.com/latex/templates/ieee-conference-template/grfzhhncsfqn . The same error arises: image I really appreciate for your help!

iamhyc commented 3 weeks ago

image

It turns out the Official Overleaf Website has offloaded the spell check function to the front-end (i.e., the web browser now do spell check alone without the help from the server), and does not provide spell check function any more.

Please try to use local replica following the guidance here, and refer to local spell check extensions. We have no plan to provide another spell check module.


Update: This change may affect the later community editions. If anyone is interested, please help update the affected versions in the README.

hzphzp commented 1 week ago

Is there any other way to do spell checking in this online overleaf workspace?