Let's start with this. Multiroot workspaces always work with no issues. This is just to know if I have some misconfiguration. I have tested several times with extensions disabled and digged over the internet on why does this happens
Versions Version: 1.97.2 Commit: e54c774 Date: 2025-02-12T23:20:35.343Z Electron: 32.2.7 ElectronBuildId: 10982180 Chromium: 128.0.6613.186 Node.js: 20.18.1 V8: 12.8.374.38-electron.0 OS: Darwin arm64 24.3.0
Does this issue occur when all extensions are disabled?: Yes
Steps to Reproduce:
Save as workspace Select a name I end up with a code-workspace file empty like this:
{
"folders": [],
"settings": {}
}
So please tell me where is my misconfiguration or where can I find the list of open files and folders and extensions used. Thank you
Let's start with this. Multiroot workspaces always work with no issues. This is just to know if I have some misconfiguration. I have tested several times with extensions disabled and digged over the internet on why does this happens
Versions Version: 1.97.2 Commit: e54c774 Date: 2025-02-12T23:20:35.343Z Electron: 32.2.7 ElectronBuildId: 10982180 Chromium: 128.0.6613.186 Node.js: 20.18.1 V8: 12.8.374.38-electron.0 OS: Darwin arm64 24.3.0
Does this issue occur when all extensions are disabled?: Yes
Steps to Reproduce:
Save as workspace Select a name I end up with a code-workspace file empty like this:
{
"folders": [],
"settings": {}
}
So please tell me where is my misconfiguration or where can I find the list of open files and folders and extensions used. Thank you
Share Improve this question asked Mar 4 at 10:36 Sverre JørnSverre Jørn 1492 silver badges7 bronze badges1 Answer
Reset to default 0After some research done, as of 2025 workspaces created as .code-workspace files:
If you search for the file where the opened files are for a workspace on macos, you will need to search for it on this folder
~/Library/Application\ Support/Code/User/workspaceStorage
And you would do it like this:
grep -RHin part-of-filename ~/Library/Application\ Support/Code/User/workspaceStorage/*
You will open the state.vscdb
file with some any sqlite3 compatible app. I used the base app and looked into the ItemTable
and then the relevant key is: history.entries
NOTE:
What I still don't know is how to store the opened file and workspace settings on the .code-workspace
itself so I can make it portable. Keep in mind you will lose all opened files or configuration if you move your code-workspace
file to a different file name or folder path.