vscodium: settings/keybindings/extensions tracked + install.sh installs them on local machines
This commit is contained in:
+1
@@ -0,0 +1 @@
|
|||||||
|
../../VSCodium/User/keybindings.json
|
||||||
+1
@@ -0,0 +1 @@
|
|||||||
|
../../VSCodium/User/settings.json
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
// Custom keybindings — add your overrides here.
|
||||||
|
[]
|
||||||
@@ -0,0 +1,49 @@
|
|||||||
|
{
|
||||||
|
"telemetry.telemetryLevel": "off",
|
||||||
|
"update.mode": "manual",
|
||||||
|
"extensions.autoUpdate": false,
|
||||||
|
"extensions.autoCheckUpdates": false,
|
||||||
|
"workbench.startupEditor": "none",
|
||||||
|
"workbench.iconTheme": "material-icon-theme",
|
||||||
|
"workbench.colorTheme": "Default Dark Modern",
|
||||||
|
"editor.fontFamily": "'JetBrains Mono', 'Cascadia Code', Menlo, Consolas, monospace",
|
||||||
|
"editor.fontSize": 14,
|
||||||
|
"editor.fontLigatures": true,
|
||||||
|
"editor.tabSize": 4,
|
||||||
|
"editor.insertSpaces": true,
|
||||||
|
"editor.rulers": [100],
|
||||||
|
"editor.renderWhitespace": "boundary",
|
||||||
|
"editor.bracketPairColorization.enabled": true,
|
||||||
|
"editor.formatOnSave": true,
|
||||||
|
"editor.codeActionsOnSave": {
|
||||||
|
"source.fixAll": "always",
|
||||||
|
"source.organizeImports": "always"
|
||||||
|
},
|
||||||
|
"files.trimTrailingWhitespace": true,
|
||||||
|
"files.insertFinalNewline": true,
|
||||||
|
"files.exclude": {
|
||||||
|
"**/__pycache__": true,
|
||||||
|
"**/.pytest_cache": true,
|
||||||
|
"**/.ruff_cache": true,
|
||||||
|
"**/.ty_cache": true,
|
||||||
|
"**/.venv": true,
|
||||||
|
"**/.coverage": true,
|
||||||
|
"**/*.egg-info": true
|
||||||
|
},
|
||||||
|
"[python]": {
|
||||||
|
"editor.defaultFormatter": "charliermarsh.ruff",
|
||||||
|
"editor.tabSize": 4
|
||||||
|
},
|
||||||
|
"[toml]": {
|
||||||
|
"editor.defaultFormatter": "tamasfe.even-better-toml"
|
||||||
|
},
|
||||||
|
"[yaml]": {
|
||||||
|
"editor.defaultFormatter": "redhat.vscode-yaml"
|
||||||
|
},
|
||||||
|
"python.analysis.typeCheckingMode": "off",
|
||||||
|
"terminal.integrated.defaultProfile.linux": "zsh",
|
||||||
|
"git.enableSmartCommit": true,
|
||||||
|
"git.confirmSync": false,
|
||||||
|
"git.autofetch": true,
|
||||||
|
"gitlens.telemetry.enabled": false
|
||||||
|
}
|
||||||
@@ -0,0 +1,12 @@
|
|||||||
|
# Core
|
||||||
|
coder.coder-remote
|
||||||
|
ms-python.python
|
||||||
|
charliermarsh.ruff
|
||||||
|
tamasfe.even-better-toml
|
||||||
|
redhat.vscode-yaml
|
||||||
|
# Git
|
||||||
|
mhutchie.git-graph
|
||||||
|
eamodio.gitlens
|
||||||
|
# Quality of life
|
||||||
|
pkief.material-icon-theme
|
||||||
|
streetsidesoftware.code-spell-checker
|
||||||
+15
@@ -35,4 +35,19 @@ if [ "$CURSHELL" != "$(command -v zsh)" ]; then
|
|||||||
sudo chsh -s "$(command -v zsh)" "$USER" || true
|
sudo chsh -s "$(command -v zsh)" "$USER" || true
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
# 6. VSCodium / VS Code extensions (only installs if the binary is present locally;
|
||||||
|
# Coder workspaces don't have these, so this is a no-op there).
|
||||||
|
EXTS_FILE="/home/.config/VSCodium/extensions.txt"
|
||||||
|
for BIN in codium code; do
|
||||||
|
if command -v "" >/dev/null 2>&1 && [ -f "" ]; then
|
||||||
|
while IFS= read -r ext; do
|
||||||
|
case "" in
|
||||||
|
""|\#*) continue ;;
|
||||||
|
esac
|
||||||
|
"" --install-extension "" --force >/dev/null 2>&1 || true
|
||||||
|
done < ""
|
||||||
|
echo ": extensions synced"
|
||||||
|
fi
|
||||||
|
done
|
||||||
echo "dotfiles installed: zsh + ohmyzsh + symlinks from $SRC/home"
|
echo "dotfiles installed: zsh + ohmyzsh + symlinks from $SRC/home"
|
||||||
|
|||||||
Reference in New Issue
Block a user