2
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 1 year has passed since last update.

rust-analyzer の型ヒントの色がうるさいのでいい感じにする

Last updated at Posted at 2022-05-28

前提

VSCode v1.67.2
rust-analyzer v0.3.1066

結論

settings.json にこれを書く

"workbench.colorCustomizations": {
    "[Atom One Dark]": {
        "editorInlayHint.background": "#00000000",
        "editorInlayHint.foreground": "#5C6370",
    },
}

設定適用前
color_default.png
設定適用後
color_result.png

[Atom One Dark] 部分は自分が使っているカラーテーマの名前に変える。
各foreground色はお好みに合わせて変えると良い。Atom One Dark ではだいたいこのくらいの色だとコメントとほぼ同じ色。

参考

2
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
2
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?