Skip to content

Commit

Permalink
🌼 vscode
Browse files Browse the repository at this point in the history
  • Loading branch information
juftin committed Oct 4, 2024
1 parent 69b1b99 commit 78d55bd
Show file tree
Hide file tree
Showing 3 changed files with 56 additions and 1 deletion.
2 changes: 2 additions & 0 deletions bootstrap/bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -334,9 +334,11 @@ function symlink_tools() {
if [[ $(uname) == "Linux" ]]; then
symlink_item "${DOTFILES_DIR}/tools/hatch/config.toml" "${XDG_CONFIG_HOME:-${HOME}/.config}/hatch/config.toml"
symlink_item "${DOTFILES_DIR}/tools/poetry/config.toml" "${XDG_CONFIG_HOME:-${HOME}/.config}/pypoetry/config.toml"
symlink_item "${DOTFILES_DIR}/tools/vscode/settings.json" "${HOME}/.config/Code/User/settings.json"
elif [[ $(uname) == "Darwin" ]]; then
symlink_item "${DOTFILES_DIR}/tools/hatch/config.toml" ~/Library/Application\ Support/hatch/config.toml
symlink_item "${DOTFILES_DIR}/tools/poetry/config.toml" ~/Library/Application\ Support/pypoetry/config.toml
symlink_item "${DOTFILES_DIR}/tools/vscode/settings.json" ~/Library/Application\ Support/Code/User/settings.json
symlink_item "${DOTFILES_DIR}/tools/hammerspoon" "${HOME}/.hammerspoon"
fi
}
Expand Down
4 changes: 3 additions & 1 deletion macos/Brewfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ brew "git-lfs"
brew "glances"
brew "gnupg"
brew "go"
brew "go-task/tap/go-task"
brew "grep"
brew "helm"
brew "htop"
Expand All @@ -37,7 +38,6 @@ brew "node"
brew "nvm"
brew "openjdk"
brew "pipx"
brew "pre-commit"
brew "ripgrep"
brew "sops"
brew "terraform"
Expand All @@ -57,6 +57,7 @@ cask "caffeine"
cask "cyberduck"
cask "docker"
cask "elgato-stream-deck"
cask "github"
cask "google-chrome"
cask "hammerspoon"
cask "iterm2"
Expand All @@ -67,6 +68,7 @@ cask "ollama"
cask "slack"
cask "spotify"
cask "syntax-highlight", args: { no_quarantine: true }
cask "visual-studio-code"
cask "vlc"
cask "zoom"

Expand Down
51 changes: 51 additions & 0 deletions tools/vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
{
"[jsonc]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[python]": {
"editor.defaultFormatter": "charliermarsh.ruff"
},
"editor.accessibilitySupport": "off",
"editor.fontSize": 14,
"editor.lineHeight": 1.5,
"explorer.confirmDelete": false,
"explorer.fileNesting.enabled": true,
"files.autoSave": "afterDelay",
"files.exclude": {
"**/.DS_Store": true,
"**/.coverage*": true,
"**/.git": true,
"**/.idea": true,
"**/.mypy_cache": true,
"**/.pytest_cache": true,
"**/.ruff_cache": true,
"**/.tox": true,
"**/.venv": true,
"**/__pycache__": true,
"**/coverage.xml": true,
"htmlcov": true
},
"files.trimTrailingWhitespace": true,
"files.insertFinalNewline": true,
"github.copilot.editor.enableAutoCompletions": true,
"python.testing.pytestArgs": ["."],
"python.testing.pytestEnabled": true,
"python.testing.unittestEnabled": false,
"search.exclude": {
"**/node_modules": true,
"**/.venv": true
},
"settingsSync.ignoredExtensions": [],
"snowflake.connectionsConfigFile": "~/.snowflake/connections.toml",
"terminal.integrated.env.osx": {
"CW_NEW_SESSION": "1",
"FIG_NEW_SESSION": "1",
"Q_NEW_SESSION": "1"
},
"terminal.integrated.fontFamily": "MesloLGS NF",
"terminal.integrated.fontSize": 15,
"terminal.integrated.fontWeight": 500,
"terminal.integrated.lineHeight": 1.2,
"terminal.integrated.shellIntegration.enabled": true,
"window.zoomLevel": 0.5
}

0 comments on commit 78d55bd

Please sign in to comment.