checkstyle / checkstyle/patch-filters

FUTURE: Gather ideas for column strategy

Open
#336 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
4
Forks
11
Avg merge
5h 55m
Merged PRs (30d)
2

Description

Column strategy should be able to distinguish between existing and new violations on the changed code lines and show new violations only. Current `patchedline` strategy can't understand what exactly was changed in the line (e.g. a whitespace was added between words), so it may show old violations as well.

Investigate ways to implement a column strategy. One of them can be usage of https://github.com/google/diff-match-patch to compare an old and a new line and get the columns within those lines with a new text.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.