We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
golang/vscode-go
LSP(gopls)
Setting up workspace: Loading packages...
monorepo/huge_projects.code-workspace
{ "settings": { "gopls": { "build.directoryFilters": ["-"] } } }
monorepo/microservice-with-golang-n/.vscode/settings.json
{ "gopls": { "build.directoryFilters": [] } }
code monorepo/huge_projects.code-workspace
Open Process Explorer
files.exclude
files.watcherExclude
search.exclude
--disable-extensions
build.directoryFilters
The text was updated successfully, but these errors were encountered:
No branches or pull requests
TL;DR
monorepo/huge_projects.code-workspace
に以下の設定を足すmonorepo/microservice-with-golang-n/.vscode/settings.json
へ 以下を足すcode monorepo/huge_projects.code-workspace
でワークスペースを開くと、大分マシになっている筈(対象プロジェクト数2つで確認したので、本当に巨大な golang project ばっかだとこれでも駄目かもしれない。その時は workspace を分けましょうか・・・)参考資料
経緯 / History
monorepo/huge_projects.code-workspace
的な Visual Studio Code のワークスペース設定があるのだが、久しぶりにこれを開いたら vscode どころか Mac がフリーズするほどになった。Open Process Explorer
やアクティビティモニターで見ててもあまりよくわからないが、 top を叩くと vscode が自前で持つようになった rg - https://github.com/microsoft/vscode-ripgrep が多数同時起動していたfiles.exclude
,files.watcherExclude
,search.exclude
といった所に node_modules や vendor/bundle を追加してみたが症状は変わらなかった。--disable-extensions
オプションを付けて起動すると超速起動してくれたので、まぁ拡張機能のどれかなんだろうなぁとは思った。Setting up workspace: Loading packages...
がちらちら出続けて居た。これが収まると Mac も平穏を保ちだすので、これでぐぐったところ vscode-go 関係っぽいなとわかった。build.directoryFilters
を見つけた。The text was updated successfully, but these errors were encountered: