• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

JetBrains/kotlin-eclipse: Kotlin Plugin for Eclipse

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

JetBrains/kotlin-eclipse

开源软件地址(OpenSource Url):

https://github.com/JetBrains/kotlin-eclipse

开源编程语言(OpenSource Language):

Kotlin 51.6%

开源软件介绍(OpenSource Introduction):

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:

Drag to your running Eclipse workspace to install Kotlin Plugin for Eclipse

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




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap