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?

【VSCode】エラーメッセージを行間に表示させる方法

Last updated at Posted at 2024-07-04

以降の設定を行うと画像のようにエラーメッセージなどが行間に表示されるようになります。

スクリーンショット 2024-07-04 23.49.57.png

拡張機能をインストールする

Error Lensという拡張機能をインストールします。

設定を追記する

settings.jsonに以下を追記します。

settings.json
{
  "editor.codeLens": true,
  "errorLens.codeLensEnabled": true,
}

以上でエラーメッセージなどが行間に表示されるようになります。

また、以下の設定を追記すると表示されたエラーメッセージをクリックすると検索ができるようになります。

settings.json
{
  "errorLens.codeLensOnClick": "searchForProblem",
}
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?