diff --git a/docs/merlin7/07-software-support/vscode.md b/docs/merlin7/07-software-support/vscode.md index 08afce7..b934591 100644 --- a/docs/merlin7/07-software-support/vscode.md +++ b/docs/merlin7/07-software-support/vscode.md @@ -152,6 +152,20 @@ If it has ended, create a new allocation and regenerate the VS Code SSH config. ## Tips and Other Suggestions +### Avoid Too Many Connections + +Whenever the VSCode server is running, it is creating many network connections. Some are +related to you using it, but some are connecting to external services, like for example +checking for updates and send telemetry back to Microsoft. To avoid this, please set +the following configuration options: + +```json +"extensions.autoUpdate": false, +"extensions.autoCheckUpdates": false, +"remote.autoForwardPorts": false, +"telemetry.telemetryLevel": "off" +``` + ### Limit Search Indexing VSCode will by default generate search indexes of your project directories. Depending on your local settings, or where VSCode is @@ -162,17 +176,17 @@ requests and negatively effect the responsiveness of the system (this effect can To limit this, please check and update the following settings as: ```json - "search.exclude": { - "**/node_modules": true, - "**/.git": true, - "/data/**": true, - "/scratch/**": true, - }, +"search.exclude": { + "**/node_modules": true, + "**/.git": true, + "/data/**": true, + "/scratch/**": true, +}, "files.watcherExclude": { - "**/node_modules/**": true, - "**/.git/**": true, - "/data/**": true, - "/scratch/**": true, + "**/node_modules/**": true, + "**/.git/**": true, + "/data/**": true, + "/scratch/**": true, }, ```