CSV Jumper for PLM Model Files
A powerful VS Code extension designed for PLM (Product Lifecycle Management) developers working with CSV-based model configurations.
✨ Features
Smart Navigation
- Ctrl+Click Jump: Navigate between related CSV files just like code navigation
- Bidirectional Links: Jump from table → tablefield and back, form ↔ form_field
- Cross-File References: Navigate page → command/panel, command → table/form/page/toolbar
- Find References: Reverse lookup - find which pages/commands reference a specific table or command
GB2312 Encoding Management 🇨🇳
- Auto-Convert on Save: Automatically converts UTF-8 CSV files to GB2312 encoding
- Status Bar Indicator: Shows current encoding status in the bottom-right corner
- ✅
GB2312 — encoding is correct
- ⚠️
UTF-8 — needs conversion (click to convert)
- Manual Conversion Commands: Convert current file or batch convert entire workspace
- Encoding Detection: Smart detection to prevent Chinese character corruption
🎯 Supported File Types
| Source File |
Click Column |
Jump To |
table.csv |
Table Name |
→ tablefield.csv, Commands using this table |
tablefield.csv |
Table Name |
→ table.csv |
form.csv |
Form Name |
→ form_field.csv, Commands using this form |
form_field.csv |
Form Name |
→ form.csv |
page.csv |
Children column |
→ command.csv, panel.csv |
panel.csv |
Children column |
→ command.csv, panel.csv |
toolbar.csv |
Children column |
→ command.csv |
command.csv |
Action column |
→ table.csv, form.csv, page.csv, toolbar.csv |
🚀 Usage
- Open any CSV file in your
model/ directory
- Hold Ctrl and Click on a name (Table Name, Command Name, etc.)
- VS Code will jump to the definition or show a peek view for multiple targets
⌨️ Commands
| Command |
Description |
CSV: Go to Definition |
Jump to definition at cursor position |
CSV: Convert current file to GB2312 |
Manually convert active file to GB2312 encoding |
CSV: Convert current file to UTF-8 |
Manually convert active file to UTF-8 encoding |
CSV: Batch convert all model CSVs to GB2312 |
Convert all model CSV files in workspace |
⚙️ Configuration
| Setting |
Default |
Description |
csv-jumper.enableCrossReference |
true |
Enable cross-file reference jumps (page→command, command→table, etc). When disabled, only table↔tablefield and form↔form_field jumps work. |
📋 Requirements
- VS Code 1.80.0 or higher
- CSV files located in
**/model/** directory structure
📝 License
MIT
| |