Lock in $30 Savings on PRO—Offer Ends Soon! ⏳
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
0
160
Scala plugin for IntelliJ IDEA
Scalathon 2011,
http://scalathon.org/2011/
http://vimeo.com/28692913
Pavel Fatin
July 16, 2011
Tweet
Share
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
130
Новый подход к компиляции Scala в IntelliJ IDEA
pavelfatin
0
150
Scala Plugin для IntelliJ IDEA
pavelfatin
0
65
Other Decks in Programming
See All in Programming
LLM Çağında Backend Olmak: 10 Milyon Prompt'u Milisaniyede Sorgulamak
selcukusta
0
130
AIコーディングエージェント(Manus)
kondai24
0
200
Python札幌 LT資料
t3tra
4
830
大規模Cloud Native環境におけるFalcoの運用
owlinux1000
0
130
Developing static sites with Ruby
okuramasafumi
0
310
ViewファーストなRailsアプリ開発のたのしさ
sugiwe
0
500
DevFest Android in Korea 2025 - 개발자 커뮤니티를 통해 얻는 가치
wisemuji
0
160
ローカルLLMを⽤いてコード補完を⾏う VSCode拡張機能を作ってみた
nearme_tech
PRO
0
110
脳の「省エネモード」をデバッグする ~System 1(直感)と System 2(論理)の切り替え~
panda728
PRO
0
100
組み合わせ爆発にのまれない - 責務分割 x テスト
halhorn
1
150
dotfiles 式年遷宮 令和最新版
masawada
1
790
AIエンジニアリングのご紹介 / Introduction to AI Engineering
rkaga
8
3.1k
Featured
See All Featured
Beyond borders and beyond the search box: How to win the global "messy middle" with AI-driven SEO
davidcarrasco
0
21
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
1
75
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
33
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
0
93
How Software Deployment tools have changed in the past 20 years
geshan
0
29k
How STYLIGHT went responsive
nonsquared
100
6k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.3k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
The Invisible Side of Design
smashingmag
302
51k
[SF Ruby Conf 2025] Rails X
palkan
0
540
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
0
110
How to train your dragon (web standard)
notwaldorf
97
6.4k
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!