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
320
Tooling for Scala3
#reactive_shinjuku
Rikito Taniguchi
October 23, 2021
Tweet
Share
More Decks by Rikito Taniguchi
See All by Rikito Taniguchi
Scala to WebAssembly #scala_waiwai
tanishiking
0
760
Scala Days Madrid 2023 参加レポート
tanishiking
0
33
API-Based Code Search
tanishiking
0
34
Things happening before start coding with Metals ~behind the curtain of daily coding~
tanishiking
0
510
How we replaced a 10-year-old Perl product using Scala
tanishiking
14
32k
Quick introduction to scalafix
tanishiking
1
140
Format things with scalafmt
tanishiking
1
1.7k
トランザクション技術入門
tanishiking
0
120
Scala製インタプリタをブラウザで動かす3分クッキング
tanishiking
1
180
Featured
See All Featured
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
21
1.6k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
14
1.6k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
17
1.4k
How GitHub Uses GitHub to Build GitHub
holman
468
290k
Teambox: Starting and Learning
jrom
128
8.4k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
226
51k
Designing for humans not robots
tammielis
248
25k
Writing Fast Ruby
sferik
621
60k
The Illustrated Children's Guide to Kubernetes
chrisshort
31
46k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
30
6k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
121
39k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
322
20k
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 !!