Skip to content

Report InspectCode issues at exact locations - #16

Open
BrightLight wants to merge 1 commit into
masterfrom
codex/exact-issue-locations
Open

BrightLight wants to merge 1 commit into
masterfrom
codex/exact-issue-locations

Conversation

@BrightLight

@BrightLight BrightLight commented Jul 16, 2026

Copy link
Copy Markdown
Member

Fixes #2.

Converts InspectCode's absolute UTF-16 offsets into SonarQube line/column ranges, so issues are reported at their exact location. Invalid or stale offsets fall back to reporting the complete line.

Verified with mvn -DskipTests compile against the configured SonarQube 7.9 API.

@BrightLight

Copy link
Copy Markdown
Member Author

Can confirm that the fix works. Tested on SonarQube playground instance.

Examples:
image

image image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Report on exact position within the line

2 participants