Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tasks broken #374

Closed
aishfenton opened this issue Apr 8, 2024 · 5 comments
Closed

Tasks broken #374

aishfenton opened this issue Apr 8, 2024 · 5 comments

Comments

@aishfenton
Copy link

When running "bazel" tasks the the "run task" menu I get the following error:

There is no task provider registered for tasks of type "bazel".

Using VSCode 1.88, and Bazel Extension 0.9.0 (latest in extension market place).

@vogelsgesang
Copy link
Collaborator

Support for defining tasks in your tasks.json was added only recently and does not work in 0.9, yet. We will need to release a new version for this to work.

@cameron-martin do you have any thoughts on when we should cut the next release?

I think we have enough new functionality by now such that a new release is worth it. Maybe we should still try to get #372 merged before cutting the release (it's essentially a rather straightforward 10-line change), but that's purely optional.

At the same time, I think it would make sense to cut the release before merging #366. #366 bumps the required VSCode version. By cutting a release before doing the version bump, users on older VS Code versions will still be able to profit from all the other improvements

@aishfenton
Copy link
Author

Ahh you're right.

@cameron-martin
Copy link
Collaborator

I think we're ready to cut a release, I was just waiting for #367 and that's now merged. I'll try do that tomorrow along with reviewing #372.

@cameron-martin cameron-martin closed this as not planned Won't fix, can't repro, duplicate, stale Apr 8, 2024
@vogelsgesang
Copy link
Collaborator

Amazing! Thank you 🙂

@trinque
Copy link

trinque commented Jun 28, 2024

I'm still seeing this issue in 0.10.0 using a Mac as client, editing a Bazel project on a Linux server. Builds via the "Bazel Build Targets" pane work fine, but I cannot turn these into tasks in tasks.json. When I try to re-run a build using "Run Task" I receive the following error:

There is no task provider registered for tasks of type "bazel".

What debugging info would be helpful for me to provide?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants