Bossmac2 TJSON Grid
Interactive table editor for JSON files with schema and rows structure.
Features
- Visual Table Editor: View and edit JSON files in an interactive table format
- Schema Support: Automatic type handling for STRING, INTEGER, BOOLEAN types
- CRUD Operations:
- Add/delete rows with context menu
- Add/delete/rename columns with context menu
- Edit cell values and column types inline
- Drag & Drop: Reorder rows and columns by dragging
- Column Resizing: Adjust column widths by dragging edges
- Column Width Persistence: Column widths are preserved during edits and cell navigation
- Copy/Paste:
- Copy entire rows with
Ctrl+C and paste with Ctrl+V
- Copy entire columns with
Ctrl+C and paste with Ctrl+V
- Select a row/column header, copy, then select target row/column and paste
- Keyboard Shortcuts:
Delete key to remove selected rows/columns
Tab key to navigate between cells with focus preservation
Ctrl+C to copy selected row/column
Ctrl+V to paste copied row/column
- Focus Preservation: Cell focus and text selection maintained when tabbing between cells
- Undo/Redo: Full support for VS Code's undo/redo
Usage
- Open any JSON file with the required schema and rows structure
- Click the table icon in the editor title bar to open in TJSON Grid Editor
- Edit cells directly by clicking and typing
- Right-click row numbers or column headers for additional options
- Drag row numbers or column headers to reorder
- Press Delete key while row/column is selected to delete it
JSON Structure
The extension expects JSON files with the following structure:
{
"version": "1.0",
"schema": {
"columnName1": "STRING",
"columnName2": "INTEGER",
"columnName3": "BOOLEAN"
},
"rows": [
{
"columnName1": "value",
"columnName2": 123,
"columnName3": true
}
]
}
Requirements
Known Limitations
- Columns
#, PK, and scenarioKey are not draggable
- Header and Type rows are not draggable
- Only works with JSON files containing
schema and rows objects
Release Notes
1.0.0
First stable release with complete feature set:
- Interactive table editor for JSON files with schema and rows structure
- Works with any JSON file (not limited to specific filename patterns)
- Full CRUD operations (add, edit, delete rows and columns)
- Drag & drop reordering for rows and columns
- Column resizing with width persistence
- Copy/paste functionality for rows and columns
- Focus preservation during cell navigation
- Keyboard shortcuts for efficient editing
0.0.1
Initial release of Bossmac2 TJSON Grid editor.
License
Private - Internal use only
| |