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 3 years have passed since last update.

VSCode Remote container にプラグインの追加(シンタックスハイライト等)

Last updated at Posted at 2021-06-01

VSCodeのリモートコンテナでのシンタックスハイライト表示できるようにする

リモートコンテナに対して起動したVSCodeではデフォルトだとプラグインは有効になっていない
javascriptやcssなどのハイライト表示は有効

前提

  • 既にVSCodeをインストールしている
  • VSCodeのプラグインを入れている(もしくはまだ入れていない)
  • VSCodeのリモートコンテナを使い始める

VSCodeの起動

  • リモートコンテナで接続しているところで、code . にて VSCodeは起動できる
    vscode-0.png

  • 設定
    vscode-1.png

Install in Dev Container:... を押すとリモートコンテナ側に対してプラグインが有効になります
シンタックスハイライト表示された

vscode-2.png

他のプラグイン

  • Git用のプラグイン等も同様の方法で追加できます
    • mhutchie.git-graph
    • eamodio.gitlens
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?