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
0
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
13
Python 実行環境の話
quintia
0
26
裏切られる直感と、確率と精度のはなし
quintia
0
62
Python Type Annotation
quintia
0
32
Apache Spark Tutorial
quintia
0
10
No Error Conversion of Floating Points
quintia
0
16
Featured
See All Featured
Building Applications with DynamoDB
mza
95
6.5k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
45
7.5k
Writing Fast Ruby
sferik
628
62k
Making the Leap to Tech Lead
cromwellryan
134
9.4k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
29
9.6k
Gamification - CAS2011
davidbonilla
81
5.4k
Fantastic passwords and where to find them - at NoRuKo
philnash
51
3.3k
Side Projects
sachag
455
43k
Agile that works and the tools we love
rasmusluckow
329
21k
GraphQLの誤解/rethinking-graphql
sonatard
71
11k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
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 他⼒本願 モード