Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Bloc Creator (Mock)New to Visual Studio Code? Get it now.
Bloc Creator (Mock)

Bloc Creator (Mock)

Mock

|
1 install
| (0) | Free
VS Code side panel entry point for the Bloc Creator project.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Bloc Creator

Visual Studio Code extension for the Mock Bloc Creator project. This extension provides a side panel interface for browsing, creating, and managing Java blocs for the Mock platform.

Features

  • 🔐 Authentication: Secure login to your Mock account
  • 📚 Bloc Explorer: Browse available blocs organized by extension and categories
  • 👁️ Visual Preview: Interactive canvas view of bloc parameters and flow
  • 📝 Quick Creation: Double-click a bloc to create/open the corresponding Java file
  • 🎨 Parameter Visualization: Color-coded parameter types with visual connectors
  • 🔄 Multi-Extension Support: Switch between different extension versions
  • 📂 Workspace Integration: Automatically generates proper package structure

Requirements

  • VS Code 1.85.0 or higher
  • Active Mock platform account
  • Java development workspace

Getting Started

  1. Install the extension
  2. Open your Java workspace/project
  3. Click the Bloc Creator icon in the Activity Bar (left sidebar)
  4. Sign in with your Mock credentials
  5. Select your extension from the dropdown
  6. Browse and double-click blocs to create Java files

Usage

Authentication

On first use, you'll be prompted to enter your Mock platform credentials. Check "Remember credentials" to save your session token securely.

Browsing Blocs

  • Extensions are listed in the dropdown at the top
  • Blocs are organized in a tree structure by category
  • Click on a bloc to preview it in the canvas
  • Missing blocs (not yet created) are marked with a red indicator

Creating Blocs

  1. Double-click any bloc in the explorer
  2. The extension will:
    • Create the directory structure based on the bloc's path
    • Generate a Java file with the proper package and template
    • Open the file in the editor

Source Folder Selection

Use the "Browse..." button to select a custom source folder if your Java files are not in the workspace root.

Commands

  • Bloc Creator: Clear Saved Token - Sign out and clear stored credentials

Configuration

The extension reads the API URL from a .env file in the extension directory:

API_URL=https://api.mock-project.com

Development

This extension uses webpack to bundle all dependencies, including the core bloc-view and bloc-explorer modules.

Building

npm install
npm run build

Packaging

vsce package --allow-package-env-file

Support

For issues or questions, contact the Mock platform support team.

License

Proprietary - Mock Platform


Enjoy creating blocs! 🚀

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft