Install vscode with a default config that matches default look

This commit is contained in:
David Heinemeier Hansson 2024-05-30 17:53:14 -07:00
parent 7f9dac0a33
commit ad0835e83e
3 changed files with 31 additions and 1 deletions

26
configs/vscode.json Normal file
View File

@ -0,0 +1,26 @@
{
"editor.fontFamily": "CaskaydiaMono Nerd Font",
"editor.tabSize": 2,
"security.workspace.trust.untrustedFiles": "open",
"editor.minimap.enabled": false,
"git.ignoreMissingGitWarning": true,
"editor.fontSize": 12,
"editor.occurrencesHighlight": "off",
"editor.selectionHighlight": false,
"editor.suggestOnTriggerCharacters": false,
"editor.tabCompletion": "on",
"editor.quickSuggestions": {
"other": false,
"comments": false,
"strings": false
},
"files.trimTrailingWhitespace": true,
"git.confirmSync": false,
"window.menuBarVisibility": "compact",
"git.autofetch": true,
"git.openRepositoryInParentFolders": "always",
"explorer.confirmDelete": false,
"extensions.ignoreRecommendations": true,
"workbench.colorTheme": "Tokyo Night",
"window.titleBarStyle": "custom"
}

View File

@ -4,4 +4,3 @@ sudo snap install spotify
sudo snap install zoom-client
sudo snap install signal-desktop
sudo snap install pinta
sudo snap install code --classic

5
install/vscode.sh Normal file
View File

@ -0,0 +1,5 @@
if ! command -v code &>/dev/null; then
sudo snap install code --classic
mkdir -p ~/.config/Code/User
cp ~/.local/share/omakub/configs/vscode.json ~/.config/Code/User/settings.json
fi