kotlin-eclipse

Kotlin Plugin for Eclipse

  • 所有者: Kotlin/kotlin-eclipse
  • 平台:
  • 許可證: Apache License 2.0
  • 分類:
  • 主題:
  • 喜歡:
    0
      比較:

Github星跟蹤圖

Kotlin for Eclipse

official JetBrains project

Welcome to Kotlin for Eclipse project! Some handy links:

Installation

To give it a try you will need a clean installation of Eclipse Neon or newer. The Kotlin plugin is available from the Eclipse Marketplace. The easiest way to install the Kotlin plugin is to drag-and-drop this button into a running Eclipse window:

Alternatively, you can use Help -> Eclipse Marketplace… menu, or the following update site:

https://dl.bintray.com/jetbrains/kotlin/eclipse-plugin/last/

Building and Development

Eclipse IDE for Eclipse Committers is the recommended way to build and develop the kotlin-eclipse project. Eclipse Oxygen 4.7 is used so far.

In order to start development in Eclipse:

  • Install the AspectJ Eclipse plug-in for Eclipse 4.7. To install AJDT 2.2.4 use the following update site:

     http://download.eclipse.org/tools/ajdt/47/dev/update
    
  • Since Kotlin plugin contains code written in Kotlin itself, you will also need a Kotlin plugin to build the project in Eclipse. To install the Kotlin Eclipse plugin use the following update site:

     https://teamcity.jetbrains.com/guestAuth/repository/download/Kotlin_EclipsePlugin/bootstrap.tcbuildtag/
    
  • Since Kotlin plugin uses weaving, you need to launch the project with weaving enabled. Installation of Equinox Weaving Launcher will add two additional launch configurations types for running plugin and for testing. To install the Equinox Weaving Launcher you can use the following update site:

     http://download.scala-ide.org/plugins/equinox-weaving-launcher/releases/site/
    
  • Import plugin projects from the cloned repository into your workspace

     File -> Import -> Existing Projects into Workspace
    
  • Using the command line, run gradle build to download the Kotlin compiler. It will be used as a bundled compiler in built plugin and as a library during development.

    cd {repository}/kotlin-bundled-compiler
    ./gradlew clean getBundled
    

    or in Windows environment:

    cd {repository}\kotlin-bundled-compiler
    gradlew.bat clean getBundled
    
  • Run another instance of Eclipse with the Kotlin plugin inside

     kotlin-eclipse-ui -> Run As -> Eclipse Weaving enabled Eclipse Application
    

Building from the command line is also available (Note that Maven 3.0.5 is required):

cd {repository}
mvn install

Eclipse update sites

Latest stable release:

https://dl.bintray.com/jetbrains/kotlin/eclipse-plugin/last/

Any previously released version (replace :version with the version number):

https://dl.bintray.com/jetbrains/kotlin/eclipse-plugin/:version/

Nightly build:

https://teamcity.jetbrains.com/guestAuth/repository/download/Kotlin_EclipsePlugin/.lastSuccessful/

Kotlin Eclipse Plugin Developer Documentation

See basic developer documentation here

主要指標

概覽
名稱與所有者Kotlin/kotlin-eclipse
主編程語言Kotlin
編程語言Java (語言數: 4)
平台
許可證Apache License 2.0
所有者活动
創建於2013-03-03 22:03:00
推送於2023-02-27 14:39:10
最后一次提交2022-10-31 19:21:31
發布數402
最新版本名稱0.8.19.1 (發布於 2019-11-12 15:40:54)
第一版名稱0.1.0.5 (發布於 2014-01-24 18:56:37)
用户参与
星數189
關注者數57
派生數67
提交數2.2k
已啟用問題?
問題數0
打開的問題數0
拉請求數69
打開的拉請求數9
關閉的拉請求數60
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?