2012-03-11 16:01:04 +04:00
2012-02-28 15:52:59 +04:00
2012-03-11 16:01:04 +04:00
2012-03-12 22:53:45 +04:00
2012-03-10 02:03:16 +04:00
2011-11-08 20:48:01 +03:00
2012-03-06 19:07:46 +04:00
2012-03-12 16:49:39 +04:00
2012-01-10 12:21:37 +04:00
2012-03-02 04:19:56 +04:00

Kotlin Programming Language

Welcome to Kotlin! Some handy links:

Editing Kotlin

Building

To build this project, first time you try to build you need to run this:

ant -f update_dependencies.xml

which will setup the dependencies on

  • intellij-core: is a part of command line compiler and contains only necessary APIs.
  • idea-full: is a full blown IntelliJ IDEA Community Edition to be used in former plugin module.

Then, you need to run

ant -f build.xml

which will build the binaries of the comppiler and put them into the 'dist' directory.

Working with the project in IDEA

The root kotlin project already has an IDEA project, you can just open it in IDEA.

Note though that you need a recent IDEA build (e.g. 11 EAP) which should not contain the Kotlin plugin!

From this root project there are Run/Debug Configurations for running IDEA or the Compiler Tests for example; so if you want to try out the latest greatest IDEA plugin

  • VCS -> Git -> Pull
  • Run IDEA
  • a child IDEA with the Kotlin plugin will then startup
  • you can now open the kotlin libraries project to then work with the various kotlin libraries etc.

Using a pre-built Kotlin IDEA plugin

In a recent IDEA EAP build install the Kotlin plugin:

Preferences -> Plugins -> Browse Repositories -> Manage Repositories... -> + to add a new repository URL

You can now open any Kotlin based projects. Its advisable you don't open the root kotlin project as thats intended to be used to build the kotlin compiler and plugin itself; instead open the kotlin libraries project

S
Description
The Kotlin Programming Language.
Readme 2.1 GiB
Languages
Kotlin 79.9%
Java 10.4%
Swift 4.3%
C 2.8%
C++ 2.1%
Other 0.3%