znck / grammarly

Grammarly for VS Code
https://marketplace.visualstudio.com/items?itemName=znck.grammarly
MIT License
1.64k stars 116 forks source link

Can not apply document dialect #362

Open ricardoavelino opened 1 year ago

ricardoavelino commented 1 year ago

I am writing a document with British English, and the settings have worked so far.

However, today I noticed that even by changing the dialect to british, it still mark errors regarding to the american dialect.

Is there something that I can try to make this work properly again? I already tried to restart the server multiple times.

rayvburn commented 1 year ago

I can confirm that this issue has appeared recently. The old configuration seems to be valid since a warning does not appear with:

"grammarly.config.documentDialect": "british",
ricardoavelino commented 1 year ago

Have you found a way around it @rayvburn ?

rayvburn commented 1 year ago

Nope. I've tried to delete the VSCode's workspace configuration and set british in the global preferences, but the text is still being checked against american dialect.

adriancaruana commented 1 year ago

I'm also having this issue, would be great for it to be fixed!

haselwarter commented 1 year ago

Same; did the dialect API change?

josehernandezvargas commented 1 year ago

I'm also having this issue despite "grammarly.config.documentDialect": "british". Is there a way to ignore all the warnings related to "Non-American variants"

rayvburn commented 1 year ago

I have a feeling that the bug appears only in .tex documents. Recently, I have been writing some markdown documentation and Grammarly did not complain about british words. Could you guys confirm?

I'm also using LaTeX Workshop to work with .tex, if that matters.

josehernandezvargas commented 1 year ago

I just copied the content of the .tex file into an .md file and it still complains about British spellings. I'm also using LaTeX workshop with .tex files by the way.

janrito commented 1 year ago

I have a feeling that the bug appears only in .tex documents. Recently, I have been writing some markdown documentation and Grammarly did not complain about british words. Could you guys confirm?

I'm also using LaTeX Workshop to work with .tex, if that matters.

I have this problem in markdown as well

Samreay commented 1 year ago

Another +1 to this issue. Id be happy to look into it, but is this extension still being maintained? I see a bunch of open PRs and I'm hesitant to dig through code if a change might sit as a PR for an indefinite amount of time.

vzaliva commented 11 months ago

I am also affected.

ImLunaHey commented 10 months ago

@znck is there a fix for this?

junglegobs commented 10 months ago

Australian seems to work and at least it stops telling me that "minimize" is wrong ("color" is marked as wrong though, see this article: https://www.grammarly.com/blog/how-to-switch-dialects/)

vzaliva commented 10 months ago

I have "British English" in Grammarly account preferences on their website. Yet when using from emacs, I am getting "organisation" highlighted, and it suggests changing to "organization". My lsp-grammarly-dialect is set to "british".

josehernandezvargas commented 10 months ago

As a workaround, I just added British spellings (colour, optimise, etc.) to my personal dictionary on the Grammarly account and it stopped highlighting them.

isaldiviagonzatti commented 7 months ago

@znck Hi! Is there a fix to this? Is this extension being maintained? Thanks

SidSidSid16 commented 6 months ago

I'm also having the same issue.