Fix vscode config to watch file changes

Fix the documentation by using the correct configuration for
watching file changes outside of the editor.

Fixes https://github.com/microsoft/vscode-go/issues/2810

Change-Id: Ib550d9831fe4563ceb5917d9196b201a03b051d2
GitHub-Last-Rev: 86c49abed8a0c79b641e02a23128b4654d2d6d48
GitHub-Pull-Request: golang/tools#169
Reviewed-on: https://go-review.googlesource.com/c/tools/+/199578
Reviewed-by: Rebecca Stambler <rstambler@golang.org>
This commit is contained in:
Panos Georgiadis 2019-10-06 23:52:30 +00:00 committed by Rebecca Stambler
parent af92b0ef1f
commit 83b12cb08e

View File

@ -16,7 +16,7 @@ Use the [VSCode-Go] plugin, with the following configuration:
// Experimental settings // Experimental settings
"completeUnimported": true, // autocomplete unimported packages "completeUnimported": true, // autocomplete unimported packages
"watchChangedFiles": true, // watch file changes outside of the editor "watchFileChanges": true, // watch file changes outside of the editor
"deepCompletion": true, // enable deep completion "deepCompletion": true, // enable deep completion
}, },
"files.eol": "\n", // formatting only supports LF line endings "files.eol": "\n", // formatting only supports LF line endings