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
Rikito Taniguchi
October 23, 2021
0
380
Tooling for Scala3
#reactive_shinjuku
Rikito Taniguchi
October 23, 2021
Tweet
Share
More Decks by Rikito Taniguchi
See All by Rikito Taniguchi
Why Wasm+WASI for Scala
tanishiking
0
57
Scala to WebAssembly: Exploring the How and Why
tanishiking
0
1.2k
Scala to WebAssembly #scala_waiwai
tanishiking
0
1.3k
Scala Days Madrid 2023 参加レポート
tanishiking
0
65
API-Based Code Search
tanishiking
0
41
Things happening before start coding with Metals ~behind the curtain of daily coding~
tanishiking
0
570
How we replaced a 10-year-old Perl product using Scala
tanishiking
14
33k
Quick introduction to scalafix
tanishiking
1
190
Format things with scalafmt
tanishiking
1
1.9k
Featured
See All Featured
Why You Should Never Use an ORM
jnunemaker
PRO
54
9.1k
Rails Girls Zürich Keynote
gr2m
94
13k
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
26
1.9k
The Power of CSS Pseudo Elements
geoffreycrofte
73
5.4k
A Tale of Four Properties
chriscoyier
157
23k
Bootstrapping a Software Product
garrettdimon
PRO
305
110k
Navigating Team Friction
lara
183
15k
Automating Front-end Workflow
addyosmani
1366
200k
GraphQLとの向き合い方2022年版
quramy
44
13k
VelocityConf: Rendering Performance Case Studies
addyosmani
326
24k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
33
1.9k
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 !!