Ballerina plugin for IntelliJ IDEA
This repository is no longer used for development. Current developments are done in following repository.
https://github.com/ballerina-lang/ballerina
Building from the source
-
Clone the repository using the following command.
git clone --recursive https://github.com/ballerinalang/plugin-intellij.git
-
Navigate into the cloned repository and run
./gradlew buildPlugin
. In the build/distributions directory, Ballerina-Plugin.zip will be created.Note: On Windows, you don’t need the leading
./
in front of thegradlew
command
Installing the plugin to IDEA
From Jetbrains plugin repository
- 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.
From a local build
- 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.
Release versions schema
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+) |
Getting started
Please refer the Getting Started section.
How to contribute
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.
License
Ballerina IDEA plugin source is available under the Apache 2.0 License.
Copyright
Copyright (c) 2017, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.