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
Scala plugin for IntelliJ IDEA
Search
Pavel Fatin
July 16, 2011
Programming
160
0
Share
Scala plugin for IntelliJ IDEA
Scalathon 2011,
http://scalathon.org/2011/
http://vimeo.com/28692913
Pavel Fatin
July 16, 2011
More Decks by Pavel Fatin
See All by Pavel Fatin
Inside the IntelliJ Scala Plugin
pavelfatin
1
160
Design Patterns in Scala
pavelfatin
6
1.6k
Практичность Scala
pavelfatin
0
140
Новый подход к компиляции Scala в IntelliJ IDEA
pavelfatin
0
160
Scala Plugin для IntelliJ IDEA
pavelfatin
0
74
Other Decks in Programming
See All in Programming
開発体験を左右するライブラリの API 設計 - GraphQL スキーマ構築ライブラリから考える #tskaigi
izumin5210
2
1.4k
AIチームを指揮するOSS「TAKT」活用術 / How to Use “TAKT,” an OSS Tool for Orchestrating AI Teams
nrslib
6
760
ReactとSvelteのその先、Ripple-TS / Beyond React and Svelte: Ripple-TS
ssssota
3
1.8k
TSKaigi 2026 TypeScriptバックエンドのオブザーバビリティ戦略 — Datadog × NestJSの実践
taiseiyamamotoan
1
210
脅威をエンジニアリングの糧にして――現場編 / Turning Threats into Engineering Fuel — Field Edition
nrslib
0
220
さぁV100、メモリをお食べ・・・
nilpe
0
120
Java × distroless で 軽量なコンテナイメージを / Java on Distroless
contour_gara
0
430
Zod v4 Codec でスキーマに型変換を埋め込む REST API 設計 #TSKaigi2026
ryutaro_yako
0
180
AIとRubyの静的型付け
ukin0k0
0
480
AIエージェントの隔離技術の徹底比較
kawayu
0
450
1人1案件のプロダクトエンジニア時代に、"プロセス監督"としてチャレンジしたこと
non0113
0
360
Inside Stream API
skrb
1
440
Featured
See All Featured
Navigating Team Friction
lara
192
16k
Building a Scalable Design System with Sketch
lauravandoore
463
34k
Building AI with AI
inesmontani
PRO
1
1k
Facilitating Awesome Meetings
lara
57
6.9k
Navigating Weather and Climate Data
rabernat
0
200
We Have a Design System, Now What?
morganepeng
55
8.2k
Believing is Seeing
oripsolob
1
140
Organizational Design Perspectives: An Ontology of Organizational Design Elements
kimpetersen
PRO
1
710
Everyday Curiosity
cassininazir
0
220
BBQ
matthewcrist
89
10k
It's Worth the Effort
3n
188
29k
Building Adaptive Systems
keathley
44
3k
Transcript
Pavel Fatin Alexander Podkhalyuzin Scalathon, 2011 Scala plugin for IntelliJ
IDEA
Thank you!
IntelliJ Scala Plugin Agenda Why do we need it
What's inside How it's made How to contribute
Do we need an IDE for Scala?
Can't we just use Notepad? Rationale
Is it always the right tool? Rationale ?
What makes us more productive? Highlighting Inspections
Code formatting Auto-completion Information look-up Refactoring Integration Rationale
What's already available?
Syntax highlighting Injected language By-name argument Implicit conversion Deprecated method
Features
Error highlighting Ordinary: Type-aware: Quick-fixes: Features
Inspections Unused symbol Variable could be value
Redundant return Syntactic sugar Method signature inspections Features
Language injection Pattern-based: Via parameter annotation: Via
value annotation: Features
Dark color schemes Features
Language-aware editor Brace balancing: Entities selection: Code
folding: Features
Formatting Features
Code completion Features
Information look-up Type info Parameter info Documentation
look-up Definition look-up Features
Type Info Features
Parameter info Features
Documentation look-up Features
Definition look-up Features
Imports management Import entity on completion Auto-import unresolved
symbol Highlight unused imports Optimize imports Paste imports Features
Refactoring Rename Introduce variable Inline variable
Extract method Introduce parameter Features
Rename Features
Introduce variable Features
Inline variable Features
Extract method Features
Introduce parameter Features
Integrations Java JUnit / Specs / ScalaTest
Maven Spring Lift SBT Features
How it's made (It's not rocket science theoretical physics)
Building the project Get the latest IDEA EAP build
Download IDEA sources Enable DevKit plugin Configure a Plugin SDK Clone Scala plugin repository Open the project in IDEA Architecture
Plugging the plugin Plugin.xml OpenAPI Architecture
Code processing Document Lexer Parser Wrapper PSI Architecture Text Tokens
AST
Processing example Literal Literal ReferenceExpression ReferenceExpression WhiteSpace WhiteSpace Architecture STRING
WS IDENTIFIER TRUE "that's" + WhiteSpace WhiteSpace Literal Literal true WS InfixExpression InfixExpression
PSI viewer Architecture
PSI foundation Architecture PsiElement textRange parent children prevSibling nextSibling add(element)
addBefore(element, anchor) addAfter(element, anchor) delete() replace(newElement)
PSI elements hierarchy Scala Architecture PsiFile ScTypeDefinition ScalaFile PsiComment ScGenerator
PsiClass PsiElement
Scala Language Specification Architecture
Scala domain elements Architecture ScClass name constructor superTypes members extendsblock
add(member, anchor) remove(member) isInheritor(psiClass)
TODO
Tasks Bug fixes Inspections Refactorings Intentions
Frameworks support Type system improvement [Your most wanted feature here] TODO
Everyone is Welcome!