Windsweeper VS Code Extension provides seamless integration between your Windsweeper projects and Visual Studio Code, offering powerful tools for managing rules and workflows directly in your development environment.
Features
Rules Management
View and organize rules in the dedicated Rules Explorer panel
Create new rules with customizable templates for different languages
Apply rules to your codebase for automatic analysis and validation
Real-time diagnostics for rule violations in your code
Workflows Integration
Browse workflows in the Workflows Explorer panel
Create new workflows with language-specific templates
Apply workflows to your current file or selection
Validate workflows for consistency and best practices
MCP Server Integration
Start and manage the Windsweeper MCP server directly from VS Code
Real-time feedback from the MCP server for rule application and workflow validation
Status bar indicators for server connection status
Language Features
Smart autocompletion for rules and workflows
Hover information for rules, workflows, and code examples
Document links for easy navigation between related rules and workflows
Getting Started
Installation: Install the extension from the VS Code Marketplace
Initialize Project: If you don't have a Windsweeper project yet, use the "Initialize Windsweeper Project" command or run the CLI command:
windsweeper init
View Rules & Workflows: Open the Windsweeper Explorer panel to view your rules and workflows
Create Rules: Use the "Create New Rule" command to create standardized rule definitions