YDB Code is extension for YDB developers
- Open the
Local YDBview under Run and Debug to see every instance under~/local-ydb, with a running/stopped icon beside each folder. - All actions stream output to dedicated VS Code output channels so you can watch builds and startup logs without leaving the IDE.
+ Build and run new local YDB in specified folder: prompts for a folder name, buildsydbdandlocal_ydb, then deploys a new instance in~/local-ydb/<name>.Stop running local YDB: stops any runningydbdstarted by the extension.Refresh local YDB list: reloads the list of local instances and updates their running status.Open UI: opens the local YDB monitoring UI in your browser.Local YDB connection info: shows gRPC/UI URLs; choose to open the UI or copy either URL to the clipboard.
Build and restart: rebuilds binaries and restarts the selected instance.Restart without build: restarts the selected instance using existing binaries.Stop and delete: stops the instance if running, then removes its folder from~/local-ydb.Edit Config: opens the instanceconfig.yamlso you can tweak settings.Open Logs: opens the log file from the instance folder.
- Download
.vsixfile for the latest release from releases page: https://github.com/UgnineSirdis/ydb-code-ext/releases - Copy the
.vsixfile to the machine where your YDB workspace lives. - Install from the file:
- VS Code/Cursor UI:
Ctrl+Shift+P(⌘+Shift+P) → "Extensions: Install from VSIX..." and select the file. - CLI:
code --install-extension /path/to/ydbcode-<version>.vsix(orcursor --install-extension ...).
- VS Code/Cursor UI:
- One time: install Node.js from https://nodejs.org/en/download.
- One time: install the VS Code packaging tool with
make prepare(installs@vscode/vsceglobally). - Build the extension package with
makein the repo root; it producesydbcode-<version>.vsix(a prebuiltydbcode-1.0.0.vsixmay already exist). - Copy the
.vsixfile to the machine where your YDB workspace lives. - Install from the file:
- VS Code/Cursor UI:
Ctrl+Shift+P(⌘+Shift+P) → "Extensions: Install from VSIX..." and select the file. - CLI:
code --install-extension /path/to/ydbcode-<version>.vsix(orcursor --install-extension ...).
- VS Code/Cursor UI:
The very first release
Add separate button for opening UI