Skip to content

Group multi-file suggestions to be automatically batched

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Situation

Sometimes you want to

  • make the same change in multiple files
  • or a change affects multiple different locations

it would be nice to indicate that certain changes are related

Possible solution

This could be indicated via a new code fence info string attribute

```suggestion:+0-0 group=use-this-class-and-import-it
import MyClass from 'src/MyClass'
```

```suggestion:+0-0 group=use-this-class-and-import-it
myClass = new MyClass
```

The UI needs to indicate that the suggestion is part of a group and offer to apply them all together

Furthermore, the UI could offer a view to show all the suggestions of one group together (maybe the new right-hand drawer? 🤔)

Edited by 🤖 GitLab Bot 🤖