Steampunk Spotter Visual Studio Code extensionSteampunk Spotter is an Ansible Playbook Platform that scans, analyzes, enhances, and provides insights for your playbooks. The Steampunk Spotter VS Code extension enables the use of the VS Code with the ability to scan Ansible content such as playbooks, roles, collections, or task files. InstallationYou can install the extension from Visual Studio Marketplace or Open VSX Registry. The extension requires a Steampunk Spotter user account and the Steampunk Spotter CLI installed in the console that you use with VS Code. You can adjust the path to the Steampunk Spotter CLI in the extension settings. When you first activate the extension action, you will be prompted to log in with your Steampunk Spotter account. UsageThe extension currently supports the following actions:
ScanningRight-click and choose "Steampunk Spotter: Initiate a new scan." A list of identified errors, warnings, and hints is provided with links to the module documentation. Automatic fixingThe rewrite function can automatically fix many errors. Right-click and choose "Steampunk Spotter: Rewrite files with fixes". This will update the document to apply Spotter's suggestions, fixing multiple errors. Scanning a directory structureRight-click on a directory in the Explorer part of the side bar and choose "Steampunk Spotter: Initiate a new scan." Automatic scanning on file saveTo enable automatic scanning of the edited files on each save, visit the extension's settings and enable the "On Did Save Text Document" event. DevelopmentUse the commands below to develop and publish the VSC extension.
Next stepsPlease refer to the Steampunk Spotter Documentation for a more comprehensive usage. AcknowledgementThis tool was created by XLAB Steampunk, IT automation specialist and leading expert in building Enterprise Ansible Collections. |