Guide 06

Getting started

These guides are written in English. · Building with an AI assistant?

Point your LLM at the docs so it understands them faster — it can also explain or translate the guides for you. Load the full documentation as a single file, or add any page's Markdown by appending .md to its URL. Works with Cursor (Add Docs), Claude, ChatGPT, Copilot and other LLMs.

1. Prerequisites

  • KB Editor (kbbridge.genexus-visual-editor) installed in VS Code / VSCodium.
  • Node.js 18+ and npm.

2. Get a project

The SDK (@kbbridge/genexus-sdk) is already vendored in both, so there is nothing extra to install for it.

3. Build

npm install        # tooling + links the vendored SDK
npm run compile    # tsc → out/
npm run bundle     # vendored SDK → node_modules + out/node_modules

4. Implement (starter only)

Open src/extension.tsregisterProviders() and implement the mechanisms you need (ai/START-HERE.md walks you through each). Then rebuild.

5. Package & install

npm run package    # → <name>-<version>.vsix

Install the .vsix where KB Editor lives, Reload Window, and open a .gxPattern instance of your pattern type.

6. Verify

  • A custom(<Id>) property shows a populated dropdown.
  • Your customized node captions appear.
  • Your context commands appear on right-click and run.

Check your extension's OutputChannel for logs.

Where to go next