VS Code integration for pwrforge workflows (setup, build/test/check/fix, project generation, docker/flash/monitor helpers) with a shared Python virtual environment.
What This Extension Does
Adds a dedicated Pwrforge activity-bar view with:
Environment section
Actions section
Adds Pwrforge commands to the Command Palette.
Runs all commands using a shared .venv one level above the selected project folder.
Keeps one reusable terminal (Pwrforge) for command execution.
Project Model
This extension is designed for a workspace where the workspace root contains multiple project subfolders.
Example:
workspace-root/
.venv/ <- shared environment created here
project-a/ <- selected active project
project-b/
Behavior:
Active project is selected via Pwrforge: Select Active Project.
Command execution directory is the selected project folder.
Shared Python environment is created/used at dirname(projectRoot)/.venv.
Requirements
VS Code >= 1.109.0
python3.12 available in PATH
Docker installed for docker-related workflows
Workspace opened at a folder that contains project subfolders
Quick Start
Open your workspace root.
Run Pwrforge: Select Active Project.
Run Pwrforge: Setup Environment.
Use Pwrforge: Build / Test / Check / Fix or the tree view actions.
Command Reference
Core commands
Pwrforge: Select Active Project
Choose which project subfolder is active.
Pwrforge: Setup Environment
Ensures shared .venv exists.
Installs pwrforge into shared .venv if missing.
Checks Docker and can trigger install command guidance.
Pwrforge: Refresh View
Refreshes the tree view and status bar.
Pwrforge: Docker doctor
Runs Docker availability diagnostics.
Build and quality commands
Pwrforge: Build
Pwrforge: Test
Pwrforge: Check
Pwrforge: Fix
Pwrforge: Clean
Pwrforge: Run
Pwrforge: Debug
Pwrforge: Doc
Pwrforge: Update
Pwrforge: Publish
Pwrforge: License Check
Pwrforge: Version
Note: Commands that require initialized project state verify pwrforge.lock. If missing, extension offers pwrforge update.