-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Slow in finding quick fixes #562
Comments
@ScriptJayT - Thanks for opening this issue. It's concerning, to say the least. I'll do my best to recreate the problem. Can you tell me how you went about installing LanguageTool? Was it their Editor App, scoop, or something else? |
Hey @davidlday These are the extensions I used in VS Code and their settings to get it working:
Hope this helps. |
Definitely helps. Unfortunately, it's going to be about a week before I can get back to this, but I will get back to it. |
@ScriptJayT - I sat down to try and recreate the issue this morning. Do you have all three of those extensions installed? If so, they're likely competing with each other. LanguageTool for VS Code and English Support for LanguageTool were the original LanguageTool extension created by Adam Voss, who passed away in 2018. They're no longer maintained. Can you uninstall both of those extensions and try again, please? Side note - I've tried working with Microsoft to have those extensions removed or archived, but I haven't had any luck, so I just gave up. |
That would explain a lot. I did disable the other two extensions and it seems to have improved a bit. Now the quick fix, once loaded, does not take nearly as long to appear. Great! This is a lot more useable. The settings are the same, except I used the Thank you for the follow up! @davidlday |
That still seems like an unreasonably long time even for the initial run. Maybe the service was still starting at the time. Are you still experiencing this behavior? |
It seems so, I'll include the output messages from this instance I run. It's similar to last time.
|
Describe the bug
The quick fix on hover, takes more than 5 seconds to load in most of the time.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I believe it should not take this long to fetch corrections for a file with less than 120 lines.
Am I missing a setting or something in my setup?
Screenshots
´´´terminal output
GMT+02:00 INFO org.languagetool.server.TextChecker Check done: 3794 chars, en-GB (mother tongue: nl), requestId: null, #1, null, 0/5 matches, 16029ms, agent:-, sent, q:0, h:2, dH:1, r:2, m:all, premium: false
2023-03-30 15:39:37.226 GMT+02:00 INFO org.languagetool.server.TextChecker Check done: 3794 chars, en-GB (mother tongue: nl), requestId: null, #1, null, 0/5 matches, 14246ms, agent:-, sent, q:0, h:2, dH:1, r:2, m:all, premium: false
2023-03-30 15:39:37.227 GMT+02:00 INFO org.languagetool.server.LanguageToolHttpHandler Handled request in 14298ms; sending code 200
2023-03-30 15:39:37.227 GMT+02:
´´´
Environment & Configuration (please complete the following information):
The text was updated successfully, but these errors were encountered: