bicep icon indicating copy to clipboard operation
bicep copied to clipboard

auto-fix: grouped auto fixes like Remove all unused parameters

Open dciborow opened this issue 1 year ago • 3 comments

Is your feature request related to a problem? Please describe. VS Code does not offer a way to perform auto fixes in bulk. If the same problem is reported many times, the user must fix click through and fix each item.

image

Describe the solution you'd like Other static analysis tools offer different types of "fix all" options. For example, the following tooltip would have an additional autofix option, "Remove all unused parameters" just below the existing option.

image

Some autofixes that would benefit from this include:

  • Remove unused parameter
  • Remove unused variable
  • Remove unused existing resource

Here is an example of the pylint auto-fix for removing an unused import.

image

In addition to auto-fixes that fix all instances of the same issue, a super "Apply All Fixes" option would also be great.

dciborow avatar Apr 21 '23 21:04 dciborow

I like this feature too please it will help alot

kianting avatar Apr 11 '24 02:04 kianting

is this feature in this is back log for almost a year now ?

kianting avatar Apr 11 '24 02:04 kianting

The work is in our backlog, but not scheduled. The reality is we have way more open issues/feature requests then we'll ever be able to address. This means that the length of time an issue is open does not factor into how quickly the work will be done. The best way to get the feature prioritized will be to give this issue a 👍 reaction.

Otherwise, this is already marked as a "good first issue" for external contribution.

alex-frankel avatar Apr 15 '24 15:04 alex-frankel