bazel-contrib / bazel-contrib/vscode-bazel

Extension keeps complaining about no bazel file found.

Open
#415 2 comments 1 reaction 0 assignees View on GitHub
type: bug
Dominant language
TypeScript
Stars
296
Forks
108
Avg merge
3d 22h
Merged PRs (30d)
5

Description

Not all usages of Visual Studio Code has to be for working on projects which are using Bazel. Yet, when opening a directory or project which isn't using Bazel, the user keeps getting an error:

![image](https://github.com/user-attachments/assets/24a2d3fc-5bee-4cf8-80f8-b70d5c256dd1)

This error is excessive and contrary to the UX guide of VSCode extensions. If the extension doesn't find a Bazel file when opening a project, it should silently disable itself for this project, not annoy the user about it.

Contributor guide

Open the contributing guide

Research direction

Start by opening a directory without a Bazel file in Visual Studio Code and reproduce the notification. Trace the extension's startup or project-detection behavior to find where the error is shown. Done means non-Bazel projects silently disable Bazel support without displaying the complaint.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript, vscode
Domain
developer-experience, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.