Automattic / Automattic/harper

Move file of ignored errors

Open
#1,455 5 comments 0 reactions 0 assignees View on GitHub
bug visual-studio-code-plugin
Dominant language
Rust
Stars
15.4k
Forks
627
Avg merge
1d 15h
Merged PRs (30d)
102

Description

When I **ignore an error** inside a file (e.g `"./docs/intro.md"`), in VS Code, a file named `"%Users%Name%ProjectRoot%docs%intro.md%"` gets created. And this file contains the following JSON (I suppose) content:
```json
{
"context_hashes": [
27422253122545818
]
}
```

I find these files invasive 😕. They pollute the project dir, and I don't know if a `.gitignore` can reliably exclude them. Can these files be moved to a temp directory, or anywhere but the project dir.

Ty for the amazing software BTW! ^_____^

Contributor guide

Open the contributing guide

Research direction

The issue identifies VS Code's ignored-error persistence and the generated project-relative filename, but no repository file or test. Start by locating the ignored-error storage entry point and its tests, then verify that the generated JSON no longer pollutes the project directory and that ignored errors still work.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust, vscode
Domain
tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
58/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.