VS Code extension
Connect a local codebase to a Specra project and sync artifacts into your workspace.
The VS Code extension is designed for teams that want to keep generated artifacts close to the code they are implementing.
Core commands
Specra: LoginSpecra: Configure ProjectSpecra: GenerateSpecra: Pull Reference ImagesSpecra: Push Reference ImagesSpecra: Run ExtractionSpecra: Push and Run ExtractionSpecra: Open Project Online
Project config
The extension uses .specra.json at the workspace root.
Typical fields include:
{
"projectId": "your-project-id",
"outputsDir": "src/generated",
"referencesDir": ".specra/references"
}Recommended workflow
- Log in from VS Code.
- Link the workspace to a Specra project.
- Pull references if you want the local workspace to mirror the project.
- Push new references from
referencesDir. - Run extraction.
- Generate to sync the latest artifacts into your app.
Notes
Generatedoes not create a new run. It fetches the latest successful revision.Push Reference Imagessyncs the configured references directory and skips duplicates.Push and Run Extractionis the fastest way to update a project from local changes.