Open devzeebo opened 1 year ago
Good afternoon!
My team recently ran into this as well but we added a .vsls.json
file in our workspace to prevent folks from seeing or editing the .vscode/settings.json
file per this.
Below is the contents of that file:
{
"$schema": "http://json.schemastore.org/vsls",
"gitignore": "exclude",
"excludeFiles": [".gitignore", ".vscode/settings.json", "!node_modules"],
"hideFiles": [".gitignore"]
}
Wouldn't you need to also add the .vsls.json
file to itself so that a malicious user can't edit this file to access as well? Seems like a reasonable enough workaround
I can't prove why it happens, but the .vsls.json
file is not visible within a liveshare session if you are not the host. I'm not sure if that file is hidden automatically by the extension for that very reason.
Describe what happened:
What was your system configuration? Live Share Extension Version: 1.0.5883
Version: 1.82.2 (user setup) Commit: abd2f3db4bdb28f9e95536dfa84d8479f1eb312d Date: 2023-09-14T05:55:25.390Z Electron: 25.8.1 ElectronBuildId: 23779380 Chromium: 114.0.5735.289 Node.js: 18.15.0 V8: 11.4.183.29-electron.0 OS: Windows_NT x64 10.0.22621
Steps to Reproduce / Scenario:
.vscode/settings.json
"liveshare.languages.allowGuestCommandControl": true
Please attach logs to this issue: You can access them via the Live Share: Export Logs command from the command palette (ctrl + shift + p) and attach them to this issue
Screenshots If applicable, add screenshots to help explain your problem.