VSCode Usage Tips¶
If you're using VSCode and plan to access and use it with the Tier-3 cluster, here are a few suggested configuration settings you should use. These will help with known performance issues and improve your user experience.
Limit Search Indexing¶
VSCode will by default generate search indexes of your project directories. Depending on your local settings, or where VScode is starting from, this could include many paths within the filesystem. Note that many of the filesystems on the Tier-3 UI and WN nodes are network mounted, and these a sensitive to large number of requests. VSCode search can cause a overload of requests which can effect the responsiveness of these mounts (this effect can in extreme cases affect the entire cluster!).
To limit this, please check and update the following settings as:
"search.exclude": {
"**/node_modules": true,
"**/.git": true,
"/pnfs/**": true,
"/work/**": true,
"/t3home/**": true
},
"files.watcherExclude": {
"**/node_modules/**": true,
"**/.git/**": true,
"/pnfs/**": true,
"/work/**": true,
"/t3home/**": true
},
Additionally, consider enabling the search "ignore files" feature, which will respect the files and paths as specified in .*ignore files.
"search.useIgnoreFiles": true,
"search.useGlobalIgnoreFiles": true,