Automattic / Automattic/harper

Harper Desktop flags some Swift code in Xcode and ignores some prose

Open
#3,550 2 comments 0 reactions 0 assignees View on GitHub
bug desktop linting
Dominant language
Rust
Stars
15.4k
Forks
627
Avg merge
1d 15h
Merged PRs (30d)
106

Description

Image

It looks like spellcheck is turned off and words that could be split into 2 dictionary words are left flagged. But since they're Swift code they shouldn't be.

This may not be fixable. I don't know what other grammar checkers that work via accessibility do in Xcode. If it's not fixable we can curate a list of apps Harper doesn't support

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the spellcheck and grammar-checking behavior in Harper Desktop while editing Swift code and prose in Xcode through accessibility. Compare the observed behavior with other grammar checkers that use accessibility, then determine whether Swift code can be excluded; done means fixing the behavior or documenting Xcode among unsupported apps.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust, swift
Domain
desktop, devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.