Revisit VS Code folder structure for app data, settings, extensions
Config is stored in `~/.config/Code[ - <quality>]/User`. To match platform conventions (lowercase and hyphens for everything) as well as to keep consistency with the cli `code[-<quality>]` I propose we change the settings directory one of: - `~/.config/code[-<quality>]/user` - `~/.vscode[-<quality>]` (see https://github.com/Microsoft/vscode/issues/3883) - `~/.code[-<quality>]` (to prevent using 'vs' showing up in the OSS build as it is now) If we moved this it would probably require some discovery/migration on first launch of a newer version. --- The below is a living document. ## Proposed folder structure Notes: - I don't think we should be encouraging the use of admin rights within vscode, instead a permissions elevation dialog would probably be better than allowing a specific place for root user data #5561 - I want to clean up the whole `code` vs `vscode` thing in this change; only official builds should carry the visual studio branding, that should carry over to the config directories consistently as well. - The CLI args `--user-data-dir` and `--extensions-dir` will need to be adjusted for this, something like `--config-dir` and `--cache-dir` would probably be better. ### Windows **Old** ``` Settings: %APPDATA%\Code[ - Variant]\User\settings.json Keybindings: %APPDATA%\Code[ - Variant]\User\keybindings.json Snippets: %APPDATA%\Code[ - Variant]\User\snippets\ Workspace storage: %APPDATA%\Code[ - Variant]\User\workspa
Posted by Tyriar on Mar 8, 2016, 8:58 PM
Tags
Related issues
- 2026 - Microsoft Office 365
- [Ubuntu] `ubuntu-latest` label will use Ubuntu 26.04 in November 2026
- Gamut mapping
- [Codex Desktop] Editing and resending a queued message triggers "App-server queued follow-up no longer exists"
- [Windows] ChatGPT 26.820.60940 fails with "invalid transport in mcp_servers.codex_app"; Beta 26.727.40816 works
- [BUG]: infinite loading of videos
Raise real-world problems, find people facing the same issue, and discuss solutions.5,000 issues0 comments
github (SaaS)
2026 - Microsoft Office 365
[Ubuntu] `ubuntu-latest` label will use Ubuntu 26.04 in November 2026
Gamut mapping
[Codex Desktop] Editing and resending a queued message triggers "App-server queued follow-up no longer exists"
[Windows] ChatGPT 26.820.60940 fails with "invalid transport in mcp_servers.codex_app"; Beta 26.727.40816 works
[BUG]: infinite loading of videos
Restore GPT-5.6 Sol’s 372k Codex context window, or provide an opt-in setting
Codex Desktop for macOS repeatedly triggers `syspolicyd` / `trustd` CPU and memory runaway
Revisit VS Code folder structure for app data, settings, extensions
Config is stored in `~/.config/Code[ - <quality>]/User`. To match platform conventions (lowercase and hyphens for everything) as well as to keep consistency with the cli `code[-<quality>]` I propose we change the settings directory one of: - `~/.config/code[-<quality>]/user` - `~/.vscode[-<quality>]` (see https://github.com/Microsoft/vscode/issues/3883) - `~/.code[-<quality>]` (to prevent using 'vs' showing up in the OSS build as it is now) If we moved this it would probably require some discovery/migration on first launch of a newer version. --- The below is a living document. ## Proposed folder structure Notes: - I don't think we should be encouraging the use of admin rights within vscode, instead a permissions elevation dialog would probably be better than allowing a specific place for root user data #5561 - I want to clean up the whole `code` vs `vscode` thing in this change; only official builds should carry the visual studio branding, that should carry over to the config directories consistently as well. - The CLI args `--user-data-dir` and `--extensions-dir` will need to be adjusted for this, something like `--config-dir` and `--cache-dir` would probably be better. ### Windows **Old** ``` Settings: %APPDATA%\Code[ - Variant]\User\settings.json Keybindings: %APPDATA%\Code[ - Variant]\User\keybindings.json Snippets: %APPDATA%\Code[ - Variant]\User\snippets\ Workspace storage: %APPDATA%\Code[ - Variant]\User\workspa
Comments (0)
No comments yet. Start the discussion.