Autocomplete, validation, and inline diagnostics for ObjectStack Protocol files.
- Snippets — Quickly scaffold objects, fields, views, flows, agents, and full
defineStackconfigs withos-prefixed snippets. - Hover Documentation — Hover over
defineStack,defineView, field types (text,lookup,select, etc.) to see inline descriptions. - Diagnostics — Real-time warnings for common mistakes:
- Missing
manifestindefineStack() - camelCase names that should be
snake_case
- Missing
- Config File Watching — Automatically re-validates when
objectstack.config.tschanges. - JSON Schema Validation — Validates
objectstack.jsonfiles against the bundled schema. - Quick Fix Stubs — Code action provider for quick fixes (add missing label, convert to snake_case).
| Prefix | Description |
|---|---|
os-object |
Define a new business object |
os-field-text |
Add a text field |
os-field-select |
Add a select (picklist) field |
os-field-lookup |
Add a lookup (reference) field |
os-view-grid |
Define a grid list view |
os-flow |
Define an automation flow |
os-stack |
Full defineStack boilerplate |
os-agent |
Define an AI agent |
cd packages/vscode-objectstack
npm install
npm run build
npm run package
# Install the generated .vsix file in VSCodeSearch for "ObjectStack" in the VSCode Extensions marketplace.
- Open a project containing
objectstack.config.ts - The extension activates automatically for
.object.ts,.view.ts, andobjectstack.config.tsfiles - Start typing
os-to see available snippets - Hover over ObjectStack keywords for inline documentation
| Pattern | Description |
|---|---|
*.object.ts |
Business object definitions |
*.view.ts |
View configurations (list, form, kanban) |
objectstack.config.ts |
Stack configuration file |
objectstack.json |
JSON configuration (with schema validation) |
# Build the extension
npm run build
# Watch for changes
npm run watch
# Package as .vsix
npm run package- VSCode 1.85.0 or later
- TypeScript project using
@objectstack/spec
Apache-2.0 — see LICENSE for details.