From dd7650e2b8bcfa6e30e4dc78e510b29b8c08972c Mon Sep 17 00:00:00 2001 From: Rylan Polster Date: Sun, 16 Nov 2025 22:12:55 -0500 Subject: [PATCH] Add `homebrew.code-workspace` file --- .gitignore | 1 + homebrew.code-workspace | 55 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 56 insertions(+) create mode 100644 homebrew.code-workspace diff --git a/.gitignore b/.gitignore index c997698d1438b..bfdf9591cdf6f 100644 --- a/.gitignore +++ b/.gitignore @@ -204,6 +204,7 @@ !/.sublime /.sublime/homebrew.sublime-workspace !/.vscode +!/homebrew.code-workspace # Unignore AI configuration !/.cursor diff --git a/homebrew.code-workspace b/homebrew.code-workspace new file mode 100644 index 0000000000000..5f5ce6eaf7c8f --- /dev/null +++ b/homebrew.code-workspace @@ -0,0 +1,55 @@ +{ + "folders": [ + { + "path": ".", + "name": "brew" + }, + { + "path": "Library/Taps/homebrew/homebrew-core", + "name": "homebrew-core" + }, + { + "path": "Library/Taps/homebrew/homebrew-cask", + "name": "homebrew-cask" + } + ], + "settings": { + "files.exclude": { + "Library/Taps": true, + // Exclude all files in bin except for brew + "bin/[^b]*": true, + "bin/b[^r]*": true, + "bin/br[^e]*": true, + "bin/bre[^w]*": true, + // brew aliases are in the form brew-* + "bin/brew-*": true, + }, + "rubyLsp.rubyVersionManager": { + "identifier": "custom" + }, + "rubyLsp.customRubyCommand": "source /opt/homebrew/.vscode/ruby-lsp-activate.sh", + "rubyLsp.bundleGemfile": "Library/Homebrew/Gemfile", + "rubyLsp.formatter": "rubocop", + "sorbet.enabled": true, + "sorbet.lspConfigs": [ + { + "id": "default", + "name": "Brew Typecheck", + "description": "Default configuration", + "command": [ + "./bin/brew", + "typecheck", + "--lsp" + ] + } + ], + "sorbet.selectedLspConfigId": "default", + "shellformat.effectLanguages": [ + "shellscript" + ], + "shellformat.path": "${workspaceFolder}/Library/Homebrew/utils/shfmt.sh", + "shellformat.flag": "-i 2 -ci -ln bash", + "simplecov-vscode.path": "Library/Homebrew/test/coverage/.resultset.json", + "simplecov-vscode.enabled": false, + } +}