This is an attempt at adding (awesome) support for the Ceylon programming language in IntelliJ IDEA.
This plugin is being written using IntelliJ 14. It will work on both Community and Ultimate editions. We do not guarantee that this plugin will work with previous versions of IntelliJ (13 and below), as we may use APIs that were introduced in version 14.
We embed most of the raw Ceylon installation in the plugin, so you won't necessarily have to download Ceylon separately. You may need a local repository though.
While we are working very hard at making this a great plugin, only a few features are working at the moment:
This makes of it a useful tool for browsing existing Ceylon projects, and experimenting with writing and running simple Ceylon programs. To be used for more serious development, many more features are needed, notably:
For the moment, we do not provide an official release package in the Jetbrains plugins repository, since it is still under early development. However, installable zips of the current development version are generated and will be made availabe in an alternate plugin repository, on a regular basis. You can either install the CeylonIDEA from there, or build it from sources.
This is the simplest way to install the Ceyon IDEA IntelliJ plugin.
Inside the Intellij IDEA environment, follow the instructions there in order to add the following URL :
to the list of custom plugin repositories.
Then, from this new repository, you should be able to install those 2 plugins at the same time :
After installing both plugins and restarting IntelliJ IDEA, you should have the ability to create Ceylon IntelliJ modules in which you can develop and run Ceylon code.
If you want to use the current version, or debug/hack this plugin, you will need to build it from sources :
Make sure you are using IntelliJ 14 (it won't work with the current stable version 12.x, and might not work with version 13.x)
A clone of https://github.com/JetBrains/intellij-community is highly recommended for hacking since you will likely have to debug code from the IntelliJ platform
Ensure that the following IntelliJ plugins are installed and enabled in your IDEA instance:
Setup a clone of https://github.com/ceylon/ceylon-ide-intellij (the main plugin project)
Make sure that the following GitHub repositories have all been cloned locally into the same parent directory :
Setup all the Ceylon distribution sibling projects by running the
ant setup command in direcrory
../ceylon-dist. This will create sibling projects such as :
../ceylon-compiler, etc ...
Build a full Ceylon distribution locally (see here for more details) :
../ceylon-distdirectory run :
ant clean publish-all ide-quick
../ceylon-dist, with the built Ceylon distribution.
Open the project
ceylon-ide-intellij in IDEA. You might be requested to enter the value of 2 path variables (see next point).
Settings > Build, Execution, Deployment > Path Variable, you should add 2 path variables :
̀CEYLON_DIST_LIBshould point to
̀CEYLON_DIST_REPOshould point to
In the IDE's
Preferences > File Types, under
Recognized File Types, register
File > Project Structure > SDKs
Click on the
+ icon and add a new
JDK pointing to a Java SDK 1.7
Click on the '+' icon and add a new
IntelliJ Platform Plugin SDK pointing to where IntelliJ is installed (the correct folder should be preselected)
Project part, set the
Project SDK to the previously created IntelliJ plugin SDK
Project language level to 7.0
Project compiler output to the
Apply changes and close the settings dialog
Run > Edit configurations, create a new run configuration with type
Plugin and leave the default options
Run this configuration and enjoy writing Ceylon in IntelliJ!