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
Tooling for Scala3
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Rikito Taniguchi
October 23, 2021
0
430
Tooling for Scala3
#reactive_shinjuku
Rikito Taniguchi
October 23, 2021
Tweet
Share
More Decks by Rikito Taniguchi
See All by Rikito Taniguchi
GC言語のWasm化とComponent Modelサポートの実践と課題 - Scalaの場合
tanishiking
0
130
Capture Checking / Separation Checking 入門
tanishiking
0
500
Implementing and Evaluating a High-Level Language with WasmGC and the Wasm Component Model: Scala’s Case
tanishiking
0
650
Scala meets WebAssembly
tanishiking
0
910
Why Wasm+WASI for Scala
tanishiking
0
130
Scala to WebAssembly: Exploring the How and Why
tanishiking
1
1.8k
Scala to WebAssembly #scala_waiwai
tanishiking
0
1.8k
Scala Days Madrid 2023 参加レポート
tanishiking
0
100
API-Based Code Search
tanishiking
0
96
Featured
See All Featured
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
130
Are puppies a ranking factor?
jonoalderson
1
3.2k
Principles of Awesome APIs and How to Build Them.
keavy
128
17k
We Analyzed 250 Million AI Search Results: Here's What I Found
joshbly
1
1.1k
Intergalactic Javascript Robots from Outer Space
tanoku
273
27k
Between Models and Reality
mayunak
2
250
How to Think Like a Performance Engineer
csswizardry
28
2.5k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
Unsuck your backbone
ammeep
672
58k
AI: The stuff that nobody shows you
jnunemaker
PRO
4
500
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
0
230
The browser strikes back
jonoalderson
0
850
Transcript
Rikito Taniguchi (@tanishiking) (Weekend OSS contributor to Scala tooling) Tooling
for Scala 3 Reactive System Meetup#7
Scala 3 has landed 🎉
Requirements for transition to Scala 3 Requirements IMO • Stabilizing
the compiler • More learning resources • Libraries support for Scala 3 • Tooling support for Scala 3 👈 today’s topic
Tooling for Scala 3 scalameta based tools • scalafmt •
scala fi x • metals TL;DR Basic Scala 3 supports are already done. Ready to use!
Scalafmt & Scala 3 scalafmt v3 supports Scala 3 Specify
runner.dialect = scala3 .scalafmt.conf
Scalafix & Scala 3 Scala fi x v0.9.28 introduces experimental
Scala 3 support ! https://github.com/liancheng/scala fi x-organize-imports#scala-3 liancheng/scala fi x-organize-imports works with Scala 3
Write your own rule for Scala 3 sbt new scalacenter/scala
fi x.g 8 ↑ generates a rule template that runs both on Scala 2 and Scala 3 You can write both SyntacticRule and SemanticRule
Metals & Scala 3 Metals works with Scala 3 !
Code Completion Code Navigation / Hover Show inferred type (will be available with Scala 3.1.0)
Metals & Scala 3 - Missing features Some advanced features
are still missing in Scala 3 😢 Exhaustive case completion Implement abstract members
Today’s takeaway • Many tools already have basic supports for
Scala 3 ! • Some features are missing… need more e ff ort 💪 • Please try it out, and give us feedback. HAPPY CODING WITH SCALA 3 !!