mapstruct / mapstruct/mapstruct-idea

Inspection to highlight incorrect @Mapping values

Open
#11 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
168
Forks
41
PR merge metrics
No merged PRs in 30d

Description

It would be great if the plugin could highlight incorrect mappings with an error directly in the editor.

An inspection would be a good way to implement that I think. (For example the user can then enable/disable it, configure the severity and supress it at specific occurrences if needed.)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating how the plugin currently validates @Mapping values and integrates editor inspections. Determine which incorrect mappings should produce errors and how severity, disabling, and suppression should work. Done means incorrect mappings are highlighted in the editor with the requested inspection controls.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
devtools
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.