Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Kotlin Eclipse Plugin #jkug
Search
clomie
July 04, 2014
Programming
1
2.1k
Kotlin Eclipse Plugin #jkug
githubにあるKotlinのEclipse用プラグインをビルドして使ってみた話。
clomie
July 04, 2014
Tweet
Share
Other Decks in Programming
See All in Programming
The Efficiency Paradox and How to Save Yourself and the World
hollycummins
0
140
◯◯エンジニアになった理由
gessy0129
PRO
0
590
[PHPカンファレンス沖縄2024]「無理なくできるだけ安全に」テストもないレガシーコードをリファクタリングするテクニック
ikezoemakoto
3
110
Assembling the Future: crafting the missing pieces of the Ruby on Wasm puzzle
skryukov
0
130
DjangoNinjaで高速なAPI開発を実現する
masaya00
0
430
Subclassing, Composition, Python, and You
hynek
3
110
PHPを書く理由、PHPを書いていて良い理由 / Reasons to write PHP and why it is good to write PHP
seike460
PRO
5
270
Progressive Web Apps for Rails developers
siaw23
2
530
"型"のあるRailsアプリケーション開発 / Typed Rails application development
sinsoku
8
2.2k
Beyond the RuboCop Defaults
koic
2
480
標準ライブラリの動向とイテレータのパフォーマンス
makki_d
3
190
ACES Meet におけるリリース作業改善の取り組み
fukucheee
0
120
Featured
See All Featured
Optimising Largest Contentful Paint
csswizardry
31
2.8k
Teambox: Starting and Learning
jrom
131
8.7k
Why Our Code Smells
bkeepers
PRO
334
57k
Designing the Hi-DPI Web
ddemaree
279
34k
A better future with KSS
kneath
235
17k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
26
2k
Building Adaptive Systems
keathley
37
2.1k
Art, The Web, and Tiny UX
lynnandtonic
295
20k
How STYLIGHT went responsive
nonsquared
94
5.1k
YesSQL, Process and Tooling at Scale
rocio
167
14k
Speed Design
sergeychernyshev
22
460
Building Flexible Design Systems
yeseniaperezcruz
327
38k
Transcript
Kotlin Eclipse Plugin 2014/07/04 ୈ2ճ͔Θ͍͍Kotlinษڧձ @clomie
Tomoki Togashi • @clomie • LTॳΊͯͰ͢ • LT͢ΔͨΊʹMacBookങ͍·ͨ͠ • ͍ͭJavaͱJSॻ͍ͯ·͢
None
͔Θ͍͍ Kotlin Λ Eclipse Ͱಈ͔͍ͨ͠
Why?
ͳͥਓEclipseͰKotlinΛಈ͔͢ͷ͔ ׳ΕɺΈ
ͳͥਓEclipseͰKotlinΛಈ͔͢ͷ͔ ࣾͷ ࣏తʹର͢Δ ղܾࡦͱͯ͠
ͳͥਓEclipseͰKotlinΛಈ͔͢ͷ͔ ͳΜͱͳ͘ EclipseͰಈ͘ͱ ϫΫϫΫ͢Δ
Project Kotlin ·ͩެࣜͰఏڙ͞Ε͍ͯͳ͍
kotlin-eclipse
Kotlin Eclipse Plugin ಈ͔ͯ͠Έͨ
kotlin-eclipse ४උ͢Δͷ ! • Eclipse Kepler(4.3.x) or Luna(4.4.x) • EclipseSDKΛΠϯετʔϧ͓ͯ͘͠
Install New Software… -> The Eclipse Project Updates -> Eclipse SDK
[clomie@Mac workspaces]$ git clone https://github.com/JetBrains/kotlin-eclipse.git Cloning into 'kotlin-eclipse'... remote: Reusing
existing pack: 6176, done. remote: Counting objects: 125, done. remote: Compressing objects: 100% (97/97), done. remote: Total 6301 (delta 49), reused 0 (delta 0) Receiving objects: 100% (6301/6301), 1003.04 KiB | 416.00 KiB/s, done. Resolving deltas: 100% (2552/2552), done. Checking connectivity... done. [clomie@Mac workspaces]$ kotlin-eclipse
kotlin-eclipse
ಈ ͔ ͳ ͍
Ұॹʹىಈ͢ΔϓϥάΠϯΛՃ͢Δ kotlin-eclipse-ui -> Run As -> Run Configurations… -> Plug-ins
-> Select All kotlin-eclipse
None
ಈ ͍ ͨ ʂʂ
Kotlin Eclipse Plugin ࢼͯ͠Έͨ
Hello, Kotlin! • File -> New -> Java Project •
File -> New -> Kotlin File • Run As -> Kotlin Application
None
Kotlin Eclipse Plugin Ͱ͖Δ͜ͱ
ίʔυิ
kotlin-eclipse ͷ ίʔυิ • ඪ४ϥΠϒϥϦ • ಉ͡packageʹ͋Δͷ • ผpackageͷͷimportจॻ͘ඞཁ͋Γ
ΞτϥΠϯදࣔ
ίʔυςϯϓϨʔτ
Kotlin Eclipse Plugin ·ͩͰ͖ͳ͍͜ͱ
ϦϑΝΫλϦϯά
γϯλοΫε ΧϥʔϦϯά
ίʔυϑΥʔϚοτ
Kotlin Eclipse Plugin demo
Kotlin Eclipse Plugin ·ͱΊ
IntelliJ IDEA ͓͏
ΑͦͷڥͰ ݈ؾʹಈ͘͜ͱΓΜ ͔Θ͍͍
͝ਗ਼ௌ͋Γ͕ͱ͏͍͟͝·ͨ͠