Skip to content

NAVFreak/vsc-lintercop

 
 

Repository files navigation

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

  • linterCop.autoDownload: enable/disable automatic download and updates of the linter dll. If you disable it, you can still always trigger the download manually with the command LC: Download Linter Cop.
  • linterCop.load-pre-releases: enable/disable automatic download and updates of of pre-releases. Enable this if you always want to have the latest updates, even if they may have some bugs.

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PowerShell 54.9%
  • TypeScript 45.1%