diff --git a/README.md b/README.md index fad9a355..036daf46 100644 --- a/README.md +++ b/README.md @@ -34,6 +34,18 @@ this extension does not automatically _fix_ lint warnings during formatting, but you can opt into this by enabling the **Bazel: Buildifier Fix on Format** setting. +### Using a separate output base + +By default this extension will use the default output base for running queries. This will cause builds to block queries, potentially causing degraded performance. In Bazel versions since 7.1 it is safe to disable this by changing the `bazel.queriesShareServer` setting to `false`. In earlier versions it can be safely disabled after adding the convenience symlinks to `.bazelignore`, for example: + +``` +bazel-myreponame +bazel-bin +bazel-testlogs +``` + +See https://github.com/bazelbuild/vscode-bazel/issues/216 & https://github.com/bazelbuild/bazel/issues/10653. + ## Using the Starlark Debugger Currently, the Starlark Debugger can be used by right-clicking a build target in diff --git a/package.json b/package.json index 98117a17..92b32ca0 100644 --- a/package.json +++ b/package.json @@ -136,8 +136,8 @@ }, "bazel.queriesShareServer": { "type": "boolean", - "default": false, - "description": "Use the same Bazel server for queries and builds. By default, vscode-bazel uses a separate server for queries so that they can be executed in parallel with builds. You can enable this setting if running multiple Bazel servers has a negative performance impact on your system, but you may experience degraded performance in Visual Studio Code for operations that require queries." + "default": "true", + "description": "Use the same Bazel server for queries and builds. By default, vscode-bazel uses the same server for queries and builds in order to have it easier for the user to set up the plugin. However, you may experience degraded performance in Visual Studio Code for operations that require queries. You can disable this setting so that queries and builds can be executed in parallel in some circumstances. See https://github.com/bazelbuild/vscode-bazel?tab=readme-ov-file#using-a-different-output-base for more information." }, "bazel.queryOutputBase": { "type": "string",