CDBVS is a desktop VS Code extension for editing CastleDB .cdb files in a spreadsheet-style interface.
Features
Switch between CastleDB sheets with persistent sheet tabs.
Edit text, numbers, booleans, enums, references, lists, and JSON-backed values.
Add, edit, move, and delete rows and columns.
Add sheets and edit sheet and column metadata.
Search, filter, and sort rows.
Use keyboard shortcuts to select, copy, cut, paste, and move rows.
Edit raw JSON when a value is not represented by a specialized control.
Validate and format the current CastleDB file.
Usage
Open a .cdb file in desktop VS Code.
CDBVS Editor should open automatically. If it does not, right-click the file and choose Open With > CDBVS Editor.
Use the sheet tabs and table controls to edit the database.
The extension is for desktop VS Code only; web and mobile VS Code are not supported.
Development
Install dependencies with npm install, then run npm run build to type-check the TypeScript host/domain code and bundle the extension and webview. npm test builds first and runs the parser, protocol, extension-host, and webview tests. npm run package creates the production bundles used by VSIX packaging.
Install from a VSIX
Open the Extensions view in VS Code.
Select the ... menu.
Choose Install from VSIX... and select the downloaded .vsix file.