Link Search Menu Expand Document

Launching

The bazel-stack-vscode extension recognizes the file launch.bazelrc in the root of the workspace as a special file wherein each line in the file is interpreted as a single command.

Completion for bazel flags is available as you type:

1-flag-completion

Use the ' ' (space) or '=' (equals) to commit choice and continue typing

Flag help is available as a hover:

1-flaghover

The launch.bazelrc file also acts as a codelens that allows you to build, test, run, ….:

1-launch

Repeat the last command with shift+ctrl+space.

Finally, the launch.bazelrc file also pre-populates the Recent Commands view.


Copyright © 2020 Stack.Build.