Skip to content

Commit c06bb2e

Browse files
committed
Add Find The Location Of User Settings JSON File as a VSCode TIL
1 parent 7dad650 commit c06bb2e

File tree

2 files changed

+33
-1
lines changed

2 files changed

+33
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ pairing with smart people at Hashrocket.
1010

1111
For a steady stream of TILs, [sign up for my newsletter](https://crafty-builder-6996.ck.page/e169c61186).
1212

13-
_1422 TILs and counting..._
13+
_1423 TILs and counting..._
1414

1515
---
1616

@@ -1629,6 +1629,7 @@ _1422 TILs and counting..._
16291629
- [Add The VSCode CLI To Your Path](vscode/add-the-vscode-cli-to-your-path.md)
16301630
- [Advance Through Search Results](vscode/advance-through-search-results.md)
16311631
- [Enable Breadcrumbs For Version 1.26 Release](vscode/enable-breadcrumbs-for-version-126-release.md)
1632+
- [Find The Location Of User Settings JSON File](vscode/find-the-location-of-user-settings-json-file.md)
16321633
- [Open An Integrated Terminal Window](vscode/open-an-integrated-terminal-window.md)
16331634
- [Pop Open The Quick Fix Window](vscode/pop-open-the-quick-fix-window.md)
16341635
- [Step Through Project-Wide Search Results](vscode/step-through-project-wide-search-results.md)
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# Find The Location Of User Settings JSON File
2+
3+
There are a ton ways to customize and fine-tune VS Code. All of the settings
4+
have defaults which can then be customized on a workspace and user level.
5+
Typically you'll access these files within VS Code via the Command Palette. I
6+
was curious though: since it is just a JSON file, surely I can view and modify
7+
it with any editor.
8+
9+
On a Mac, the user-level `settings.json` file is located at
10+
`~/Library/Application\ Support/Code/User/settings.json`.
11+
12+
Open it up and you might see something like this:
13+
14+
```json
15+
{
16+
"editor.formatOnSave": true,
17+
"editor.defaultFormatter": "esbenp.prettier-vscode",
18+
"window.zoomLevel": 1,
19+
"workbench.editor.showTabs": "single"
20+
}
21+
```
22+
23+
A handful of settings with specific overrides.
24+
25+
Feel free to edit what is in here or add other settings that you want to set.
26+
Just make sure you know what you're doing and that you set valid values.
27+
28+
The VS Code docs list [the locations of these files on other operating
29+
systems](https://code.visualstudio.com/docs/getstarted/settings#_settings-file-locations).
30+
31+
[source](https://stackoverflow.com/questions/53840644/location-of-vs-code-preferences)

0 commit comments

Comments
 (0)