A VSCode extension to view QuickMock (.qm) wireframe files.
- Opens .qm files directly in VSCode
- Renders wireframes using React Konva
- Page navigation
- Basic zoom controls
Extension will be available on VSCode Marketplace (not yet published).
- Open any
.qmfile in VSCode - Extension activates automatically
For development:
git clone <repository-url>
cd quickmock-vscode-extension
npm install
npm run compile
# F5 to launch extension in new VSCode window- Page Selection: Dropdown menu in toolbar
- Zoom Controls:
+/-buttons orFitto screen - Document Info: Version, page count, and canvas size display
Components support dynamic data through text and otherProps:
{
"type": "buttonBar",
"text": "Save, Cancel, Apply",
"otherProps": {
"activeElement": 0,
"backgroundColor": "#f0f0f0"
}
}QuickMock files use JSON structure:
{
"version": "0.2",
"pages": [
{
"id": "page-1",
"name": "Home Screen",
"shapes": [
{
"id": "uuid",
"type": "buttonBar",
"x": 100, "y": 200,
"width": 300, "height": 50,
"text": "Save, Cancel, Apply",
"otherProps": {
"activeElement": 0,
"backgroundColor": "#ffffff",
"textColor": "#333333"
}
}
]
}
],
"customColors": [...],
"size": {"width": 3000, "height": 3000}
}Take a look at the changelog of the extension.
- Fork the repository
- Create feature branch (
git checkout -b feature/amazing-feature) - Commit changes (
git commit -m 'Add amazing feature') - Push to branch (
git push origin feature/amazing-feature) - Open Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- Thanks to QuickMock for the wireframing tool
