-
Clone the repository using the following command.
git clone --recursive https://github.com/ballerinalang/plugin-intellij.git
-
Install latest version of Gradle if you don't have it installed already.
-
Navigate into the cloned repository and run
gradle buildPlugin
. In the build/distributions directory, Ballerina-Intellij-Plugin.zip will be created.
- Go to Settings (Preferences in MacOS)-> Plugins.
- Select Browse Repositories button at the bottom.
- Search for Ballerina using the search box. Ballerina plugin will show up. Then you can install the plugin using the Install button.
- Restart IDEA.
Note: Refer the Getting Started section to view details about setting up Ballerina SDK.
- Go to File -> Settings (IntelliJ IDEA -> Preferences in macOS) and select Plugins.
- Click Install plugin from disc button and select the deployed plugin zip file. Please make sure to install the Zip file, not the extracted Jar files. This zip contains an additional library as well. Without this library, the plugin will not work properly.
- Restart IDEA.
Below you can see the versions of the plugin which correspond to the versions of the IntelliJ Platfom.
Plugin Version | Platform Version |
---|---|
0.8.0 - 0.8.2 | IntelliJ IDEA 2016.3+ (Does not support IntelliJ IDEA 2017+) |
0.8.3+ | IntelliJ IDEA 2016.3+ (Supports IntelliJ IDEA 2017+) |
Please refer the Getting Started section.
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 IDEA plugin source is available under the Apache 2.0 License.
Copyright (c) 2017, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.