checkstyle / checkstyle/eclipse-cs

SuppressWithNearbyTextFilter only changes after purging cache

Open
#589 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
105
Forks
65
Avg merge
1d 10h
Merged PRs (30d)
21

Description

When using 10.10.0 from #587, the new filter generally works. However, if a file has already been analyzed once by EclipseCS, then adding or removing such a comment and saving the file will NOT lead to a change. Only after purging the cache (ctrl-3, purge) and saving again the added/removed comment will have an effect. Unclear whether that is main checkstyle or us.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue with EclipseCS 10.10.0: analyze a file, add or remove the relevant comment, save it, then compare the result before and after using the purge command. Trace whether the stale result comes from EclipseCS or main Checkstyle; done means comment changes take effect without purging the cache.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
devtools
Issue type
Bug
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.