forked from ballerina-platform/ballerina-lang
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from Shan1024/file-action
Initial plugin implementation
- Loading branch information
Showing
213 changed files
with
15,342 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,35 @@ | ||
# plugin-intellij | ||
# Ballerina plugin for IntelliJ IDEA | ||
|
||
## Building from the source | ||
|
||
1. Clone the repository. | ||
2. Make sure that the bundled Plugin DevKit plugin is enabled in IDEA. | ||
3. Open the project in IDEA. | ||
4. Configure a common JDK and an IntelliJ Platform SDK. | ||
|
||
This can be done in **File -> Project Structure -> SDKs**. | ||
|
||
For the IntelliJ Platform SDK, you may need to specify the directory containing the installed version of IntelliJ IDEA. By default it should offer the directory of the currently running version of IntelliJ IDEA. | ||
5. Build the project using **Build -> Build Project**. | ||
6. Run **Build -> Prepare Plugin Module 'ballerina-idea-plugin' For Deployment**. | ||
7. In the project root directory, **ballerina-idea-plugin.jar** will be created. | ||
|
||
## Installing the plugin to IDEA | ||
1. Go to **File -> Settings** and select **Plugins**. | ||
2. Click **Install plugin from disc** button and select the deployed plugin jar file. | ||
3. Restart IDEA. | ||
|
||
## Running the plugin without building | ||
1. Follow the first 4 steps in the [Building from the source](#building-from-the-source) section. | ||
2. Go to **Run -> Edit Configurations**. | ||
3. Add a new **plugin** configuration. | ||
4. Now you can run or debug the plugin directly from the IDEA. | ||
|
||
## 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 is available under the Apache 2.0 License. | ||
|
||
## Copyright | ||
Copyright (c) 2017, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<module type="PLUGIN_MODULE" version="4"> | ||
<component name="DevKit.ModuleBuildProperties" url="file://$MODULE_DIR$/resources/META-INF/plugin.xml" /> | ||
<component name="NewModuleRootManager" inherit-compiler-output="true"> | ||
<exclude-output /> | ||
<content url="file://$MODULE_DIR$"> | ||
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" /> | ||
<sourceFolder url="file://$MODULE_DIR$/resources" type="java-resource" /> | ||
<sourceFolder url="file://$MODULE_DIR$/gen" isTestSource="false" generated="true" /> | ||
</content> | ||
<orderEntry type="inheritedJdk" /> | ||
<orderEntry type="sourceFolder" forTests="false" /> | ||
</component> | ||
</module> |
Oops, something went wrong.