DSPF-edit
DSPF-edit is a Visual Studio Code extension that helps IBM i developers when creating or modifying DDS source files for display files.
The extension provides a navigable schema view of the DDS source file that is automatically updated whenever the source changes.
✨ Features
Schema navigation
- Two levels are shown: File and Records.
- Click on schema elements to jump directly to their location in the source.
- Right-click for context-aware actions.
File level
- View display file attributes (e.g., display size, command keys).
- Right-click options:
- Create new records.
- Assign command keys.
Records level
- Each record shows:
- Record-level attributes.
- Constants and fields.
- Right-click options on a record:
- Add constant.
- Add field.
- Copy/Delete record.
- Add "buttons" (constants for record commands).
- Assign command keys.
- Adding/removing/changing indicators.
Constants
- Show text, position (row/column), indicators, and attributes.
- Right-click options:
- Edit constant.
- Center constant on screen.
- Change position.
- Apply colors/attributes.
- Adding/removing/changing indicators.
Fields
- Show name, length, type, position (row/column), and flags (referenced/hidden).
- Indicators and attributes are expandable.
- Right-click options:
- Edit field.
- Center field on screen.
- Change position.
- Apply colors/attributes.
- Add validity checks.
- Add editing keywords.
- Add error messages.
🚀 How to Use
- Open a DDS display file in VS Code.
- The schema view will appear automatically.
- Use left-click to navigate, or right-click to access contextual options.
⚙️ Requirements
- Visual Studio Code v1.75 or higher.
🐞 Known Issues
This extension is currently in preview.
Expect bugs — work in progress!
📝 To Do
- Bug fixes.
- Correct handling of display sizes.
- Many new features to come!
📦 Version History
0.0.1
0.1.0
- New feat: adding/removing/changing constant/fields indicators (max 3).
- New feat: adding/removing/changing constant/fields attributes indicators (max 3).
💬 Feedback is welcome! Please leave a comment, open an issue, and enjoy using DSPF-edit.
| |