facebook / facebook/buck2

Feature request: buck2 vscode extension

Open
#112 2 comments 5 reactions 0 assignees View on GitHub
enhancement UX VS Code Extension
Dominant language
Rust
Stars
4.4k
Forks
394
PR merge metrics
No merged PRs in 30d

Description

(This is totally not meant as a "do this today" thing, but a placeholder here for future possible work.)

It would be nice for there to be a Buck2 vscode extension. Syntax highlighting for Buck2-flavored Starlark, support for running buck2 commands later on, maybe some nice auto-import, that kind of stuff.

The [official Bazel VSCode extension](https://marketplace.visualstudio.com/items?itemName=BazelBuild.vscode-bazel) is similar enough to actually cause interesting problems. Namely, that, right now, popping open a Buck2 Skylark `.bzl` file will trigger the loading of the Bazel extension which will, in turn, emit errors and such about missing WORKSPACE files and so on that are irrelevant in Buck2-land.

It'd be nice to get Starlark syntax highlighting, at least, without the noise, even if we don't get all the rest.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.