Skip to content

Some buttons in Ballerina VS Code extension do not work #622

@Adhishtanaka

Description

@Adhishtanaka

Description

Several extension buttons in the Ballerina VS Code extension do not work. When attempting to run or debug a Ballerina project via the extension buttons, the following errors appear in the terminal:

command 'ballerina.source.debug' not found
command 'ballerina.project.run' not found
command 'ballerina.open.ai.panel' not found

This prevents running,debugging or using AI chat in Ballerina projects from the VS Code interface.

Steps to Reproduce

Steps to Reproduce

  1. Open a Ballerina project in VS Code.
  2. Open a .bal file (e.g., main.bal).
  3. Click the Run, Debug or AI Chat buttons provided by the extension.

Expected Behavior

The project should run or debug without any errors.

Actual Behavior

Commands fail with “command not found” errors in the terminal.

Image

Version

5.4.0

Environment Details (with versions)

Version

  • VS Code version: 1.104.1 (user setup)
  • Ballerina extension version: 5.4.0
  • Ballerina version: 2201.12.9 (Swan Lake Update 12)
  • Update Tool version: 1.5.1

Environment Details

  • OS: Microsoft Windows Version 24H2 (OS Build 26100.4946)
  • VS Code Electron version: 37.3.1
  • Chromium version: 138.0.7204.235
  • Node.js version: 22.18.0
  • Architecture: Windows NT x64 10.0.26100

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions