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
Coding in Color
Search
K Yamaguchi
June 29, 2025
0
2
Coding in Color
Introduction to ...
Coding in Color
Semantic Code Highlighting
Semantic Colors
K Yamaguchi
June 29, 2025
Tweet
Share
More Decks by K Yamaguchi
See All by K Yamaguchi
Python 実行環境の話 2024
quintia
0
19
Python 実行環境の話
quintia
0
30
裏切られる直感と、確率と精度のはなし
quintia
0
67
Python Type Annotation
quintia
0
34
Apache Spark Tutorial
quintia
0
14
No Error Conversion of Floating Points
quintia
0
19
Featured
See All Featured
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
140
34k
The Cost Of JavaScript in 2023
addyosmani
55
9.1k
Gamification - CAS2011
davidbonilla
81
5.5k
Product Roadmaps are Hard
iamctodd
PRO
55
11k
Context Engineering - Making Every Token Count
addyosmani
8
300
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
34
2.3k
Statistics for Hackers
jakevdp
799
220k
Speed Design
sergeychernyshev
32
1.2k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.2k
Balancing Empowerment & Direction
lara
5
700
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
1.7k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.1k
Transcript
Coding in color(の紹介) ⼭⼝健史 @quintia サトヤ+プロ⽣勉強会@マイクロソフト 東北⽀店 2015/5/30
CoderDojo メンターしています ⾃⼰紹介のかわりに 1
CoderDojo p アイルランド発祥の「⼩中学⽣のため のプログラミング道場」 p https://coderdojo.com p 仙台 https://www.facebook.com/CoderdojoSendai p
仙台泉 https://www.facebook.com/CoderdojoIzumi 2
CoderDojo p メンター歓迎! 3
Coding in color 4
ネタ元 5 https://medium.com/@evnbr/coding-in-color-3a6db2743a1e
ネタ元 6 https://visualstudiomagazine.com/articles/2014/08/01/……
コードをエディタで 開いた時 7
⾊がついてますか? 8
コードハイライティング 9 ⾊なんて付くわけがない キーワードと正規表現 ちゃんと構⽂解析する staticメソッドは イタリック 今⽇の話は このあたり?
百聞⼀⾒ p オフィシャルデモ http://brooks.io/syntax-highlight/v2/ 10
どういうこと? p 識別⼦ごとに⾊を変える 11
どういうこと? p 淡⾊系を識別⼦にあてる (クッキリした⾊はシンタックス系の ハイライトのために残してある) p 同じprefixを持つと近い⾊になる 12
なにがうれしい? p typoすると違う⾊がつく →気づきやすい 13
いやでも…… p 普通、補完するし…… →同意 p チカチカして⽬が痛くない? →同意 p 実は本気で使おうとは思ってない 14
それでも 15 p 使いどころを選べばうれしいことも あると思うんですよ p grepの結果がこうなったら嬉しいなぁ
誰かの インスピレーションの 源になったら 幸せ 16 他⼒本願 モード