LoginSignup
1
0

VSCodeでのDevcontainerにおけるextentions関連エラー

Posted at

エラー内容

{
	"name": "Python Sample",
	// Dockerfileでイメージ・コンテナを作成
	"dockerFile": "Dockerfile",
	// リモート先のVS Codeにインストールする拡張機能
	"extensions": [//←ここがエラーになる
		"ms-python.python"
	]
	}	
}

自分もどこを参考に作ったのか覚えていないのだが、なぜかここで波線表記になる。

解決

{
	"name": "Python Sample",
	// Dockerfileでイメージ・コンテナを作成
	"dockerFile": "Dockerfile",
	// リモート先のVS Codeにインストールする拡張機能
	"customizations":{
		"vscode":{
			"extensions": [
			"ms-python.python"
		]
	}
	}
	
	
}

こんな感じ

1
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
1
0