-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsettings.json
More file actions
38 lines (27 loc) · 1.26 KB
/
settings.json
File metadata and controls
38 lines (27 loc) · 1.26 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
// open settings (Ctrl + Shift + P -> Open User Settings (JSON)) and paste this entire block:
{
// Sets Prettier as the default tool to fix code formatting
"editor.defaultFormatter": "esbenp.prettier-vscode",
// Automatically fixes code formatting every time you save
"editor.formatOnSave": true,
// Saves your work automatically when you click away from the window
"files.autoSave": "onFocusChange",
// Sets the indentation space to 2 (standard for Web Dev)
"editor.tabSize": 2,
// Applies the professional One Monokai color theme
"workbench.colorTheme": "One Monokai",
// Applies the Material Icon Theme for better file visibility
"workbench.iconTheme": "material-icon-theme",
// Automatically adds the closing tag in HTML (e.g., </div>)
"html.autoClosingTags": true,
// Enables custom labels for file tabs (Perfect for Next.js)
"workbench.editor.customLabels.enabled": true,
// Changes "page.js" tabs to show the folder name (e.g., "Page: Home")
"workbench.editor.customLabels.patterns": {
"**/app/**/page.js": "Page: ${dirname}"
},
// Tells VS Code where to find your Python engine
"python.defaultInterpreterPath": "python",
// Stops Jupyter from asking to restart every time you run a cell
"jupyter.askForKernelRestart": false
}