add more info to vscode tips
Build and deploy documentation / build-and-deploy-docs (push) Successful in 48s
Build and deploy documentation / build-and-deploy-docs (push) Successful in 48s
This commit is contained in:
@@ -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,
|
||||
},
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user