Codespaces settings.json location #27142
-
I am trying to replace But, the problem is that I cannot find native Instead, But, this folder does not exist on disk. What should I do? |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 2 replies
-
Hi @sobolevn, There are multiple different settings file you can use to achieve this, the file you want to change is kept in the browser storage so won’t be directly editable in the web case of the Codespaces. You can:
Hope it helps :slight_smile: |
Beta Was this translation helpful? Give feedback.
-
@sobolevn, you can also leverage VS Code Settings Sync (which is enabled in Github Codespaces) to sync your user settings across codespaces and between a codespace and VS Code on the desktop. |
Beta Was this translation helpful? Give feedback.
-
Sorry, but I have checked the proposed solution and no files are present in So, I have tried to create this folder manually with |
Beta Was this translation helpful? Give feedback.
-
The |
Beta Was this translation helpful? Give feedback.
-
To clarify, the settings file will be in |
Beta Was this translation helpful? Give feedback.
To clarify, the settings file will be in
~/.vscode-remote/data/Machine/settings.json
, and the exact value of~
or$HOME
will depend on the container image that is being used for the codespace. The default codespaces image runs as thecodespace
user with a home directory of/home/codespace
, but a custom image might useroot
with a home directory of/root
, or any other user and home directory path.