Skip to content

Commit 13a3a8b

Browse files
committed
VSCode: Add theme, extension management, and clean up setting comments
1 parent f2c66ee commit 13a3a8b

File tree

3 files changed

+36
-8
lines changed

3 files changed

+36
-8
lines changed

home/.chezmoidata/vscode.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
vscode_extensions:
2+
- catppuccin.catppuccin-vsc
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{{- if .is_interactive -}}
2+
#!/usr/bin/env bash
3+
4+
# {{ template "dotfiles_bashlib.sh" . }}
5+
# Help shellcheck identify the above include
6+
true || source ../.chezmoitemplates/dotfiles_bashlib.sh
7+
8+
dot::chezmoi_script_start "install VSCode extensions"
9+
10+
if ! dot::has_command code; then
11+
dot::chezmoi_script_skipped "code command not found"
12+
exit 0
13+
fi
14+
15+
{{ range .vscode_extensions -}}
16+
code --install-extension {{ . | quote }}
17+
{{ end -}}
18+
19+
dot::step::done
20+
21+
{{- end -}}

home/dot_config/private_Code/User/settings.json

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,38 @@
11
{
2-
// Auto-save when switching to a different editor tab (not on window change or after delay)
2+
// Save files automatically when switching editor tabs
3+
// onFocusChange: saves when clicking to a different tab, not on a timer
34
"files.autoSave": "onFocusChange",
45

56
// Use Tab key to accept inline completions and suggestions
67
"editor.tabCompletion": "on",
78

8-
// Disable the "are you using a screen reader?" prompt on startup
9+
// Disable accessibility support prompt on startup
910
"editor.accessibilitySupport": "off",
1011

11-
// Nerd Font variant with monospaced glyphs for consistent alignment
12+
// Editor font family and size
1213
"editor.fontFamily": "FantasqueSansM Nerd Font Mono",
1314
"editor.fontSize": 16,
1415
"editor.fontLigatures": true,
1516

16-
// Show whitespace differences in the diff editor (don't hide trailing space changes)
17+
// Editor color theme
18+
"workbench.colorTheme": "Catppuccin Frappé",
19+
20+
// Show/hide whitespace changes in the diff editor
1721
"diffEditor.ignoreTrimWhitespace": false,
1822

1923
// --- Terminal ---
2024

21-
// Open the integrated terminal at the workspace root
25+
// Terminal working directory
26+
// ${workspaceFolder}: always open at the project root
2227
"terminal.integrated.cwd": "${workspaceFolder}",
2328

24-
// Select text in terminal to copy it automatically
29+
// Copy text on selection in the terminal
2530
"terminal.integrated.copyOnSelection": true,
2631

27-
// Enable inline suggestions in the terminal (command completions)
32+
// Enable inline command suggestions in the terminal
2833
"terminal.integrated.suggest.enabled": true,
2934

30-
// Terminal font size (slightly smaller than editor's 16)
35+
// Terminal font size
3136
"terminal.integrated.fontSize": 15,
3237

3338
// Terminal ligatures not working as of VSCode 1.111

0 commit comments

Comments
 (0)