IDE Integration
Bivvy provides a JSON Schema for configuration files to enable autocomplete and validation in your IDE.
VS Code
Add to your .vscode/settings.json:
{ "yaml.schemas": { "https://bivvy.dev/schemas/config.json": ".bivvy/config.yml" }}Alternatively, add a schema comment at the top of your config file:
# yaml-language-server: $schema=https://bivvy.dev/schemas/config.jsonapp_name: my-appJetBrains IDEs
- Open Preferences > Languages & Frameworks > Schemas and DTDs > JSON Schema Mappings
- Add a new mapping:
- Schema URL:
https://bivvy.dev/schemas/config.json - File pattern:
.bivvy/config.yml
- Schema URL:
Generate Schema Locally
Generate a local schema file for offline use:
bivvy lint --schema > bivvy-schema.jsonThen reference the local file in your IDE settings:
{ "yaml.schemas": { "./bivvy-schema.json": ".bivvy/config.yml" }}Features
With IDE integration configured, you’ll get:
- Autocomplete - Suggestions for property names and values
- Validation - Errors for invalid property names or types
- Hover documentation - Descriptions for each property
- Snippets - Quick insertion of common structures