Created docker image to encapsulate vscode editor and its settings to provide consistent development experience. Each time image is executed to create container and start editor (for the first time), this notification appears in lower right hand corner of screen: "Help improve VS Code by allowing Microsoft to collect usage data. Read our privacy statement and learn how to opt in." I want to disable the generation of this notification.
So far the following key value pairs included in settings.json have been tried to silence the notification but it continues to appear:
"telemetry.enableTelemetry": false,
"editor.parameterHints": false,
In scanning the vscode github source, this module controls the notification's appearance via a key: "workbench.telemetryOptOutShown" whose type is a boolean. This key value pair is stored in a file named: "file__0.localstorage" located in the directory "~/.config/Code/Local Storage" created when first running vscode. Further code inspection revealed key being searched in only "StorageScope.GLOBAL". Thought that perhaps updating settings.json file, since these settings are global to the user, might allow control of "workbench.telemetryOptOutShown". This key with a value of true was added to the "User Settings" via vscode. Although vscode generated an error indicating that this key was an invalid configuration setting, I tried anyway. As expected by the error message, adding this key value pair didn't silence the notification.
Although this issue can be resolved by using a copy of "file__0.localstorage" when generating the Docker image, I'd rather avoid this technique for several reasons.