DavidFeldhoff / al-codeactions

MIT License
17 stars 8 forks source link

Fix warnings from BusinessCentral.LinterCop #130

Open jwikman opened 2 years ago

jwikman commented 2 years ago

The auto-fixing of some CodeCop rules are a great idea!

I just enabled the useful initiative BusinessCentral.LinterCop and of course a lot of new warnings appeared! :)

Some of the warnings have a very distinct solution, that could be a perfect fit for your Fix Cop Warnings feature. Candidates at a first glance:

A list of all available rules are found at https://github.com/StefanMaron/BusinessCentral.LinterCop#rules

jwikman commented 2 years ago

Also LC0011 could be auto-fixed by adding Access = Public; to the object.

DavidFeldhoff commented 2 years ago

Hi Johannes, very good idea. I already thought of it as well. I'm currently quite busy, so it might take up to 3 weeks. But I'll try to get my hands down on it earlier.

jwikman commented 2 years ago

No worries, I'm in the same situation where other stuff (work and a life with family😁) needs to have higher priority than the VSCode Extensions.

Anyway, glad to hear that you agree!