All Projects → bazelbuild → Vscode Bazel

bazelbuild / Vscode Bazel

Licence: apache-2.0
Bazel support for Visual Studio Code

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to Vscode Bazel

bazel-stack-vscode
VSCode Extension for Bazel
Stars: ✭ 50 (-63.77%)
Mutual labels:  visual-studio-code, bazel
Vscode Go
Go extension for Visual Studio Code
Stars: ✭ 2,268 (+1543.48%)
Mutual labels:  visual-studio-code
Openfolderinvscode
With this macOS service, you can quickly open any given folder as a project in Visual Studio Code from the Finders context menu.
Stars: ✭ 105 (-23.91%)
Mutual labels:  visual-studio-code
Vscode Language Pascal
Pascal language extension for Visual Studio Code
Stars: ✭ 117 (-15.22%)
Mutual labels:  visual-studio-code
Xrtl
Cross-platform Real-Time Rendering Library
Stars: ✭ 108 (-21.74%)
Mutual labels:  bazel
Dbx build tools
Dropbox's Bazel rules and tools
Stars: ✭ 119 (-13.77%)
Mutual labels:  bazel
My Cheat Sheets
A place to keep all my cheat sheets for the complete development of ASIC/FPGA hardware or a software app/service.
Stars: ✭ 94 (-31.88%)
Mutual labels:  visual-studio-code
Vscode Auto Close Tag
Auto Close Tag for Visual Studio Code
Stars: ✭ 132 (-4.35%)
Mutual labels:  visual-studio-code
Plastic
A simple Visual Studio Code theme.
Stars: ✭ 121 (-12.32%)
Mutual labels:  visual-studio-code
Vscode Matlab
MATLAB support for Visual Studio Code
Stars: ✭ 114 (-17.39%)
Mutual labels:  visual-studio-code
Micropy Cli
Micropython Project Management Tool with VSCode support, Linting, Intellisense, Dependency Management, and more!
Stars: ✭ 112 (-18.84%)
Mutual labels:  visual-studio-code
Bazel Tools
Reusable bits for Bazel
Stars: ✭ 109 (-21.01%)
Mutual labels:  bazel
Rules closure
Closure rules for Bazel
Stars: ✭ 119 (-13.77%)
Mutual labels:  bazel
Entangled
enTangle'd is an amalgamation of all things Tangle
Stars: ✭ 107 (-22.46%)
Mutual labels:  bazel
Vscode Scss
🔌 IntelliSense for Variables, Mixins and Functions in all Sass (SCSS syntax only) files.
Stars: ✭ 128 (-7.25%)
Mutual labels:  visual-studio-code
Vscode Code Runner
Code Runner for Visual Studio Code
Stars: ✭ 1,332 (+865.22%)
Mutual labels:  visual-studio-code
Jhipster Ide
An IDE for the JHipster Domain Language
Stars: ✭ 109 (-21.01%)
Mutual labels:  visual-studio-code
Vsc Material Theme
Material Theme, the most epic theme for Visual Studio Code
Stars: ✭ 1,617 (+1071.74%)
Mutual labels:  visual-studio-code
Wsl Proxy
WSL proxy files for editor/linux interop
Stars: ✭ 134 (-2.9%)
Mutual labels:  visual-studio-code
Vscode Elastic
Elasticsearch for VSCode
Stars: ✭ 130 (-5.8%)
Mutual labels:  visual-studio-code

Bazel plugin for Visual Studio Code

Build Status

This extension provides support for Bazel in Visual Studio.

Features

  • Bazel Build Targets tree displays the build packages/targets in your workspace
  • CodeLens links in BUILD files to directly launch a build or test by simply clicking on the targets
  • Buildifier integration to lint and format your Bazel files (requires that Buildifier be installed)
  • Debug Starlark code in your .bzl files during a build (set breakpoints, step through code, inspect variables, etc.)

Configuring the Extension

This extension adds a Bazel section to the extension settings in Visual Studio Code. If you have Bazel installed in a location that is not on your system path or if you wish to use a different version in the IDE, you should set the Bazel: Executable setting to the location of the Bazel executable.

Similarly, the Bazel: Buildifier Executable setting can be configured if you install Buildifier in a location that is not on your system path.

When Buildifier is installed, the Format Document command in Visual Studio code will reformat BUILD, WORKSPACE, .bzl, and .sky files using the tool and will display lint warnings from those files as you type. By default, 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 the Starlark Debugger

Currently, the Starlark Debugger can be used by right-clicking a build target in the Bazel Build Targets view and selecting "Build Target with Starlark Debugger". This will start the build inside the Visual Studio Code debugger (output will be redirected to the Debug Console pane) and it will pause on any breakpoints hit during execution.

When a Bazel thread is paused, you can step through Starlark code, add watch expressions, and execute arbitrary statements by typing them in the input area of the Debug Console.

Clicking the "Stop" button in the debugger will kill the Bazel process being debugger, allowing you to halt the current build. The Bazel server, however, will continue running.

Contributing

If you would like to contribute to the Bazel Visual Studio extension, please refer to the contribution guidelines for information about our patch acceptance process and setting up your development environment.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].