From 72bf080017454a1e203c36b53451fa7138830268 Mon Sep 17 00:00:00 2001 From: Tobias Koch Date: Sat, 16 Nov 2019 18:56:45 +0100 Subject: [PATCH] Visual Studio Code extension recommendations (#191) * Updating .gitignore file to allow vs code extension recommendations * Adding vs code extension recommendations * Adding a note about vs code extension recommendations --- .gitignore | 1 + .vscode/extensions.json | 6 ++++++ README.md | 4 +++- 3 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 .vscode/extensions.json diff --git a/.gitignore b/.gitignore index 344130a4..42567dd8 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ **/*__debug_bin .vscode/**/* +!.vscode/extensions.json **/Client.exe **/Client .idea/**/* diff --git a/.vscode/extensions.json b/.vscode/extensions.json new file mode 100644 index 00000000..c8678347 --- /dev/null +++ b/.vscode/extensions.json @@ -0,0 +1,6 @@ +{ + "recommendations": [ + "ms-vscode.go", + "defaltd.go-coverage-viewer" + ] +} \ No newline at end of file diff --git a/README.md b/README.md index 5a0f3178..803b86d8 100644 --- a/README.md +++ b/README.md @@ -57,7 +57,9 @@ The following extensions are recommended for working with this project: - ms-vscode.go - defaltd.go-coverage-viewer -You can get to it by going to settings Ctrl+,, expanding `Extensions` and selecting `Go configuration`, +When you open the workspace for the first time, Visual Studio Code will automatically suggest these extensions for installation. + +Alternatively you can get to it by going to settings Ctrl+,, expanding `Extensions` and selecting `Go configuration`, then clicking on `Edit in settings.json`. Just paste that section where appropriate. ## Configuration