Have installed latest (as of 28/2/21) versions of ballerina (swan lake alpha2) and VSCode plugin (1.2.13). When I look at a .bal src file the 'language intelligence' seems to work correctly but the 'show file overview reports errors. The errors I get are:
Ballerina extension did not start properly. Please check extension logs for more info.
And logs:
Ballerina home is configured in settings. Configured Ballerina home is not valid. Failed to activate Ballerina extension. Configured Ballerina home is not valid.
I must be missing something with the setting but cannot identify what. Two obvious settings I have tried are:
c:\program files\ballerina\bin & c:\program files\ballerina
Thanks for any guidance
The VSCode plugin version
1.2.13
is incompatible withswan lake alpha2
. You have to download and install the compatible VSCode extention version available at Swan Lake Alpha2 section in download page. You can find that at the bottom of that section.Direct Link: https://github.com/ballerina-platform/plugin-vscode/releases/download/vswan-lake-alpha2/ballerina-swan-lake-alpha2.vsix
Once downloaded, you have to install that extension using the
Install from VSIX
option (In the hamburger menu of the extensions tab).Update
Ballerina VSCode plugin compatible with Swan Lake is now available in visual studio marketplace