Comments (5)
About how large is the workspace (how deep is its package structure, how many external dependencies, etc.)?
If you run the Developer: Toggle Developer Tools command, do you see any logging that looks relevant in the console?
When the tree first loads, it runs bazel query //... --output=package
in your workspace directory to get the full list of packages. If you run that from the command line, does it take a long time to finish? If not, how many lines is the output?
from vscode-bazel.
Can you check this again with the latest release (0.2.0) of the extension on the marketplace? We fixed a couple issues that may have been causing this.
from vscode-bazel.
We're seeing this error now. It may be a problem in our WORKSPACE:
Command failed: bazel query ...:* --output=package
Loading: 0 packages loaded
Loading: 543 packages loaded
currently loading: vendor/google.golang.org/api/pagespeedonline/v4
Loading: 892 packages loaded
currently loading: third_party/libvpx
ERROR: error loading package 'bazel-master/external/bazel_tools/src/main/protobuf': Label '//tools/build_rules:genproto.bzl' crosses boundary of package 'tools' (perhaps you meant to put the colon here: '//tools:build_rules/genproto.bzl'?)
Loading: 1123 packages loaded
currently loading: bazel-master/external/bazel_tools/src/tools/launcher/util ... (2 packages)
Loading: 1123 packages loaded
currently loading: bazel-master/external/bazel_tools/src/tools/launcher/util ... (2 packages)
from vscode-bazel.
Build label: 0.25.2
Build target: bazel-out/k8-opt/bin/src/main/java/com/google/devtools/build/lib/bazel/BazelServer_deploy.jar
Build time: Fri May 10 20:47:48 2019 (1557521268)
Build timestamp: 1557521268
Build timestamp as int: 1557521268```
from vscode-bazel.
That does look like a problem specifically in one of the BUILD files in your workspace, rather than a problem with the extension, since Bazel is launching properly. I'm going to close out this issue, but feel free to reopen it if you investigate and believe the issue is related.
from vscode-bazel.
Related Issues (20)
- bazel.commandLine.queryExpression not used by all queries
- *.bzl files not recognized by completion provider
- [Question] Why is Master different from Version 0.8.1? HOT 1
- Debugger doesn't run on windows
- How to add breakpoint when “Build Target with Starlark Debugger” HOT 2
- Feature request: shortcut to jump to BUILD or BUILD.bazel file HOT 7
- ELI5 how to use this extension HOT 2
- Display coverage results from `bazel coverage`
- Auto-install tools HOT 14
- Tasks broken HOT 5
- Extension adds MODULE.bazel and MODULE.bazel.lock in local repositories HOT 2
- Marketplace release for v0.10.0 HOT 8
- Relative paths for buildifier still trigger warning on startup
- Allow override of query with cquery HOT 3
- Why does commandArgs not apply to Run targets? HOT 1
- Extension defaults cause other bazel commands to hang on a significantly large repos HOT 3
- Syntax highlighting of `and`/`or`/`not`/`in` in Starlark HOT 8
- make buildifier warning less aggressive HOT 5
- Make test explorer functionality optional HOT 2
- Integrate vscode-bazel with web extensions HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vscode-bazel.