Bug Description
I’ve identified a regression in the latest pre-release version of the Ballerina extension. The extension fails to detect the Ballerina environment, showing "Ballerina Not Found" in the status bar, even though the bal command works perfectly in the integrated terminal.
Steps to Reproduce:
- Install Ballerina Swan Lake on Windows 10 Pro.
- Use Ballerina VS Code Extension (Pre-release version).
- Status bar shows "Ballerina Not Found" and a warning notification appears.
- Run bal -v in the terminal -> Version is displayed correctly.
Steps to Reproduce
- Open VS Code on a Windows 10 Pro machine.
- Ensure the Ballerina extension (Pre-release version) is installed.
- Open any Ballerina project or a .bal file.
- Observe the VS Code status bar and the notification area.
- Notice the "Ballerina Not Found" error/notification.
- Open the integrated terminal in VS Code and run bal -v to confirm Ballerina is actually correctly configured in the system PATH.
Expected Behavior
The extension should automatically and correctly detect the Ballerina installation on Windows 10. Since the bal command is already configured in the system's PATH and functions correctly in the integrated terminal, the extension should recognize the environment without showing any "Ballerina Not Found" errors.
Screenshots
Environment (OS, VS Code version, Extension version, Node.js version)
OS: Windows 10 Pro (Version 22H2), VS Code version: 1.115, Extension version: v5.9.426040616 (Pre-release), Node.js version: v24.14.0, Ballerina version: 2201.13.2 (Swan Lake Update 13), Java version: OpenJDK 17.0.16 (Microsoft build)
Additional Context
I am a final-year software engineering student. I have confirmed that the environment is correctly configured on my system (as shown in the screenshots), but the extension fails to detect it. I would like to fix this bug as part of my contribution. Please assign this to me.
Bug Description
I’ve identified a regression in the latest pre-release version of the Ballerina extension. The extension fails to detect the Ballerina environment, showing "Ballerina Not Found" in the status bar, even though the bal command works perfectly in the integrated terminal.
Steps to Reproduce:
Steps to Reproduce
Expected Behavior
The extension should automatically and correctly detect the Ballerina installation on Windows 10. Since the bal command is already configured in the system's PATH and functions correctly in the integrated terminal, the extension should recognize the environment without showing any "Ballerina Not Found" errors.
Screenshots
Environment (OS, VS Code version, Extension version, Node.js version)
OS: Windows 10 Pro (Version 22H2), VS Code version: 1.115, Extension version: v5.9.426040616 (Pre-release), Node.js version: v24.14.0, Ballerina version: 2201.13.2 (Swan Lake Update 13), Java version: OpenJDK 17.0.16 (Microsoft build)
Additional Context
I am a final-year software engineering student. I have confirmed that the environment is correctly configured on my system (as shown in the screenshots), but the extension fails to detect it. I would like to fix this bug as part of my contribution. Please assign this to me.