This repository is no longer used for development. Current developments are done in following repository.
https://github.com/ballerina-lang/ballerina
ballerina is a general purpose, concurrent and strongly typed programming language with both textual and graphical syntaxes.
for more info: http://ballerinalang.org/
- Language Server Support
- Completion support.
- Hover Provider Support.
- Signature Help Support.
- Document Symbol Support.
- Diagnostic Support.
- Syntax highlighting.
Find the plugin in the visual studio marketplace and follow the instructions.
The visual studio marketplace only contains the latest build. If you want to work with an older version of Ballerina, or need to downgrade the plugin version you can install from the .vsix
file.
Find .vsix
files listed in Releases. Download the file for the required version.
Install by
code --install-extension Ballerina-[version].vsix
Find more info here
If you plan on using ballerina libraries other than the ones in the standard ballerina distribution you should set the ballerina.sdk
setting to the path to the directory of extracted ballerina distribution.
To get to the settings in vscode use Ctrl
+ ,
in Windows and Linux and ⌘
+ ,
in macOS. More info.
See the wiki page
vscode need to be restarted for a new configuration to take effect.
- Install maven and nodejs
- Clone this repo
- Run
npm install
andmvn clean install
- Run vscode with
code --extensionDevelopmentPath=/path/to/ballerina/plugin-vscode
To connect a remote debug client to the language server process, set LSDEBUG
environment variable to "true".
LSDEBUG=true code --extensionDevelopmentPath=/home/aruna/projects/ballerina/plugin-vscode
Now connect the remote debug client to port 5005.
See the wiki page
Pull requests are highly encouraged and we recommend you to create a GitHub issue to discuss the issue or feature that you are contributing to.
Ballerina Visual Studio Code plugin source is available under the Apache 2.0 License.
Copyright (c) 2017, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.