Closed cramertj closed 4 months ago
Can you fix the lint errors too?
commands.push({
commandString: "bazel.copyTargetToClipboard",
name: "Copy",
});
Many thanks!
@romannikov These sound like good changes, but also quite separate from this change. I'd be happy to accept these changes in separate PRs though.
@romannikov These sound like good changes, but also quite separate from this change. I'd be happy to accept these changes in separate PRs though.
I'll happy to send these changes in a follow up pull request, since this one will be committed.
Previously,
_binary
targets could only be run,_test
taregets could only be tested, and all other targets could only be built. This change allows all targets to be built and all non-_library
targets to be run.Additionally, this change shortens the names of the targets in codelens, as otherwise the additional commands caused a lot of clutter:
Run //foo/bar/baz:flubber Build //foo/bar/baz:flubber
etc.Example after change:
BEGIN_COMMIT_OVERRIDE feat(codelens): Extend CodeLens to build and run more targets END_COMMIT_OVERRIDE