StefanMaron / vsc-lintercop

MIT License
6 stars 6 forks source link

BusinessCentral.LinterCop

License: MIT

This extensions provides auto updates for the BusinessCentral.LinterCop. This cop is basically just an dll file and needs to be placed into the folder of the AL vs code extension. If you want to do this manually, you dont need this extension ;)

By default the extension checks if the dll is still there (and did not get deleted due to updates of the AL Extension) and if a new version is released. If one case is true, the latest version of the dll will be downloaded.

In order to activate the LinterCop all you need to do is, to click the AL Cop indicator on the bottom bar which shows the active code analyzers for the current settings context:
bottom_bar

This will open a menu where you can select the BusinessCentral.LinterCop. When you confirm with OK the new config will be saved in your active settings file. CopSelection

Note: The bottom bar will always show you which AL analyzers are currently active for the file you are editing.

Extension Settings

The actual linter code is located here: https://github.com/StefanMaron/BusinessCentral.LinterCop