mirror of
https://github.com/jbranchaud/til
synced 2026-01-04 23:58:01 +00:00
Add Find The Location Of User Settings JSON File as a VSCode TIL
This commit is contained in:
31
vscode/find-the-location-of-user-settings-json-file.md
Normal file
31
vscode/find-the-location-of-user-settings-json-file.md
Normal file
@@ -0,0 +1,31 @@
|
||||
# Find The Location Of User Settings JSON File
|
||||
|
||||
There are a ton ways to customize and fine-tune VS Code. All of the settings
|
||||
have defaults which can then be customized on a workspace and user level.
|
||||
Typically you'll access these files within VS Code via the Command Palette. I
|
||||
was curious though: since it is just a JSON file, surely I can view and modify
|
||||
it with any editor.
|
||||
|
||||
On a Mac, the user-level `settings.json` file is located at
|
||||
`~/Library/Application\ Support/Code/User/settings.json`.
|
||||
|
||||
Open it up and you might see something like this:
|
||||
|
||||
```json
|
||||
{
|
||||
"editor.formatOnSave": true,
|
||||
"editor.defaultFormatter": "esbenp.prettier-vscode",
|
||||
"window.zoomLevel": 1,
|
||||
"workbench.editor.showTabs": "single"
|
||||
}
|
||||
```
|
||||
|
||||
A handful of settings with specific overrides.
|
||||
|
||||
Feel free to edit what is in here or add other settings that you want to set.
|
||||
Just make sure you know what you're doing and that you set valid values.
|
||||
|
||||
The VS Code docs list [the locations of these files on other operating
|
||||
systems](https://code.visualstudio.com/docs/getstarted/settings#_settings-file-locations).
|
||||
|
||||
[source](https://stackoverflow.com/questions/53840644/location-of-vs-code-preferences)
|
||||
Reference in New Issue
Block a user