0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

Processing IDEの文字色変更の項目に関するメモ

Last updated at Posted at 2021-10-13

Processing IDEをダークテーマにするくだり

Mac Processing IDE ダークテーマに変更

文字色変更で「自分はこうしました」っていうのは書いてあるけど、どの項目が何を指しているのかわからないのでメモ

見た目

image.png

Gitからダウンロードしたまま使うと、選択した箇所が黄色で眩しいので
theme.txtを開いて
editor.selection.color = #0055aa
に変更しました
image.png

preferences.txtを開く

preferences.txtをProcessingを閉じてから開きます
場所は設定からパスをクリックすれば開きます
image.png

各項目のメモ

ダークテーマにした時に、自分はこのように設定しました
**名前**の前にeditor.token.がつきますが、省略してます

名前 対象 具体例
comment1 1行コメント //a #57a64a
comment2 複数行コメント /*a*/ #57a64a
function1 メソッド(描画系やmath系やコンストラクタ) backgroundやsqrt #ffc66d
function2 メソッド(構造体系?) distやmag #ffc66d
function3 条件分岐や繰り返し forやif #00aadd
function4 メソッド(オーバーライド系?) setupやdraw #4488cc
invalid 無効な文 "や'が1つだけ #ff5500
keyword1 クラス関係 newやclassやvoid #9876aa
keyword2 配列の長さ .kength #33997e
keyword3 条件分岐 else #00aadd
keyword4 変数名 widthやmousePressed #8e93ff
keyword5 intやPVector #7daeff
keyword6 クラス参照 thisやsuper #33b5aa
label 不明 不明 #666666
literal1 文字 "aa"や'a' #e5b255
literal2 定数 PIやCENTER #819a72
operator 不明 不明 #006699

不明な箇所の色はデフォルトのままで表記してると思います

コピペ用

editor.token.comment1.style=#57a64a,plain
editor.token.comment2.style=#57a64a,plain
editor.token.function1.style=#FFE16D,plain
editor.token.function2.style=#FFE16D,plain
editor.token.function3.style=#00aadd,plain
editor.token.function4.style=#4488cc,bold
editor.token.invalid.style=#ff5500,bold
editor.token.keyword1.style=#9876aa,plain
editor.token.keyword2.style=#33997e,plain
editor.token.keyword3.style=#00aadd,plain
editor.token.keyword4.style=#8e93ff,plain
editor.token.keyword5.style=#7daeff,plain
editor.token.keyword6.style=#33b5aa,plain
editor.token.label.style=#666666,bold
editor.token.literal1.style=#e5b255,plain
editor.token.literal2.style=#819a72,plain
editor.token.operator.style=#006699,plain
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?