The ALCops extension simplifies analyzer management through an automated lifecycle:
Activation: When VS Code starts, the extension automatically activates and checks for existing ALCops analyzers in the AL Language extension's bin/Analyzers folder.
Version Management: The extension tracks the currently installed ALCops version and compares it against the available versions based on your selected version channel (stable, beta, or alpha).
Background Monitoring: Periodically checks for new updates at the interval you specify in alcops.checkUpdateInterval (default: 24 hours).
Smart Updates: Based on your updateNotification setting, the extension either:
Automatically downloads and installs updates (auto-install)
Notifies you when updates are available (notify-only)
Waits for your manual command to update (manual)
Pending Installation Check: The extension checks if there's a pending installation from a previous update. If found, it completes the installation and notifies you upon success.
User Control: You can manually check for updates or trigger installation at any time using the ALCops commands in the VS Code command palette.
Contributing
Contributions are welcome! Please feel free to submit issues or pull requests to improve the extension.
License
This extension is licensed under the MIT License. See the LICENSE file for details.