0
2

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.

Visual Studio Code のおすすめ拡張機能を設定する機能

Posted at

Visual Studio Code のおすすめ拡張機能を設定する機能

Visual Studio Code を使ってワークスペースで作業するときに、.vscode/extensions.json を作成して JSON 形式で Visual Studio Code のプラグインの 拡張機能IDを指定することで、ワークスペースを開いたときにユーザーに拡張機能をおすすめすることができます。

例えば gitlens では
https://github.com/eamodio/vscode-gitlens/blob/main/.vscode/extensions.json は以下のような内容になっています。

{
	// See http://go.microsoft.com/fwlink/?LinkId=827846
	// for the documentation about the extensions.json format
	"recommendations": [
		"dbaeumer.vscode-eslint",
		"eamodio.tsl-problem-matcher",
		"esbenp.prettier-vscode",
		"ms-vscode.typescript-javascript-grammar"
	]
}

これにより、gitlens のソースコードのフォルダを Visual Studio Code で開くと記載している 拡張機能ID がおすすめされます。

https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint
https://marketplace.visualstudio.com/items?itemName=eamodio.tsl-problem-matcher
https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode
https://marketplace.visualstudio.com/items?itemName=ms-vscode.typescript-javascript-grammar

image.png

参考サイト

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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?