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
0
150
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
150
Design Patterns in Scala
pavelfatin
6
1.5k
Практичность Scala
pavelfatin
0
130
Новый подход к компиляции Scala в IntelliJ IDEA
pavelfatin
0
140
Scala Plugin для IntelliJ IDEA
pavelfatin
0
61
Other Decks in Programming
See All in Programming
チームのテスト力を総合的に鍛えて品質、スピード、レジリエンスを共立させる/Testing approach that improves quality, speed, and resilience
goyoki
5
870
猫と暮らす Google Nest Cam生活🐈 / WebRTC with Google Nest Cam
yutailang0119
0
120
Rails Frontend Evolution: It Was a Setup All Along
skryukov
0
140
テストから始めるAgentic Coding 〜Claude Codeと共に行うTDD〜 / Agentic Coding starts with testing
rkaga
12
4.4k
AIと”コードの評価関数”を共有する / Share the "code evaluation function" with AI
euglena1215
1
160
PHPで始める振る舞い駆動開発(Behaviour-Driven Development)
ohmori_yusuke
2
390
初学者でも今すぐできる、Claude Codeの生産性を10倍上げるTips
s4yuba
16
11k
Result型で“失敗”を型にするPHPコードの書き方
kajitack
5
650
XP, Testing and ninja testing
m_seki
3
240
MDN Web Docs に日本語翻訳でコントリビュートしたくなる
ohmori_yusuke
1
120
AI時代の『改訂新版 良いコード/悪いコードで学ぶ設計入門』 / ai-good-code-bad-code
minodriven
12
3.2k
チームで開発し事業を加速するための"良い"設計の考え方 @ サポーターズCoLab 2025-07-08
agatan
1
410
Featured
See All Featured
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
331
22k
Automating Front-end Workflow
addyosmani
1370
200k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
50
5.5k
Building Adaptive Systems
keathley
43
2.7k
The Cult of Friendly URLs
andyhume
79
6.5k
Fashionably flexible responsive web design (full day workshop)
malarkey
407
66k
YesSQL, Process and Tooling at Scale
rocio
173
14k
The Art of Programming - Codeland 2020
erikaheidi
54
13k
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
6
300
It's Worth the Effort
3n
185
28k
How to Ace a Technical Interview
jacobian
278
23k
Statistics for Hackers
jakevdp
799
220k
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!