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

【VSCode】.envファイルに記述した環境変数を補完する方法

Last updated at Posted at 2023-12-02

拡張機能をインストールすることで.envなどに記載した環境変数が補完されるようになります。

インストールのみで設定は不要です。

インストールすると以下のように環境変数の値が非表示になります。
表示・非表示を切り替えるにはエディタ左上のToggle auto-cloakingをクリックします。

toggle_itemcq.gif

また、以下のように補完候補が表示されるようになります。
変数の値も表示されます。

autocomplete_snic6t.gif

記述した環境変数にホバーすると値が表示されるようになります。

secret-peeking_byzwex.gif

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?