Automattic / Automattic/harper

Add a "fix all" button for repeated errors in a document.

Open
#998 7 comments 1 reaction 0 assignees View on GitHub
enhancement harper-ls visual-studio-code-plugin
Dominant language
Rust
Stars
15.4k
Forks
627
Avg merge
1d 15h
Merged PRs (30d)
106

Description

## Description

Sometimes one mistake that a linter picks up is repeated over and over throughout a document. Perhaps throughout a codebase:

Image

It would be nice to have a button to fix all occurrences of the same error.

## Component

Definitely applies to the VS Code extension, but I'm pretty sure that's due to how things like code actions and such work at a lower level. I haven't really looked into this area of the code.

Contributor guide

Open the contributing guide

Research direction

No file or test is named. Start by tracing the VS Code extension's code-action handling, then determine how repeated instances of one linter error are identified. Done means the extension offers a fix-all action that applies the same correction to every occurrence in the document.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust, vscode
Domain
developer-experience, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.