Automattic / Automattic/harper
Correcting "language tool" to "LanguageTool" takes two steps
- Dominant language
- Rust
- Stars
- 15.4k
- Forks
- 627
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 106
Description
**Describe the bug**
A clear and concise description of what the bug is.
**To Reproduce**
Steps to reproduce the behavior:
1. Type in language tool as a plain two-word phrase.
2. See the squigglies, hover over.
3. It asks if you mean the closed compound noun "LanguageTool"
4. Go to Quick Fix and now it tells you it will change it to "languagetool" instead of "LanguageTool".
5. After it replaces "language tool" with "languagetool" the squiggly is still there.
6. Now it asks `Did you mean "LanguageTool"?`
7. Quick Fix now tells you it will change to "LanguageTool", and it does.
**Expected behavior**
Since it recognizes that it should be changed to "LanguageTool" and tells you so, that's what it should do in one step.
**Screenshots**
https://github.com/user-attachments/assets/e982c2c8-3339-4f97-94cd-b9ace5a5d7a8
**Platform**
Windsurf (VS Code fork)
Contributor guide
Research direction
No source file or test is named. Start by reproducing the two-step correction in Windsurf or a VS Code-based environment, then trace how the LanguageTool suggestion is converted into a Quick Fix. Done means the recognized “LanguageTool” correction is applied correctly in one step without leaving the warning active.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust, vscode
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100