mapstruct / mapstruct/mapstruct-idea

Quick fixes - Fix all '...' problems in file

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

Nobody has claimed this yet.

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

Description

With the quick fix there comes the "Fix all '**Unmapped target properties**' problems in file" option. But this only fixes the selected target property and not all as it should. Also it is not clear if fix all means add all or ignore all properties.

1. the fix all should go through the list of all similar problems
2. all similar should make a difference between add and ignore, depending on what menu entry was selected

I recognized that there is an "Ignore all unmapped target properties". That helps on the first level in the menu but the "Fix all..." in the submenu is also a common usage in IntelliJ IDEA. At least having the same for add would be a quick win while completing the implentation to Fix all later on.

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 tracing the IntelliJ quick-fix handling for “Fix all” and the related “Ignore all unmapped target properties” menu entry. Verify how the selected action is applied across similar problems, then confirm that add and ignore remain distinct and that the file-level action processes every matching problem.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
tooling
Issue type
Feature
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.