question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

" File->Open" does not detect that a project is a bazel project

See original GitHub issue

To help people get started quickly, it’s not uncommon for people to check in .ijwb/.bazelproject files. However, once this is done, there’s no way to actually use this:

  • “Bazel import project” will complain that the file already exists
  • “File->Open…” doesn’t detect that this is a bazel project, so the plugin isn’t enabled
  • “File->Import Project” doesn’t list “Bazel” as an external model.

It seems clunky to check in the project config to a different location and then tell people to point to that.

Issue Analytics

  • State:open
  • Created 4 years ago
  • Reactions:8
  • Comments:21 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
jincommented, Sep 24, 2019

@mattgodbolt I’m working on a blogpost to demystify some of these: https://github.com/bazelbuild/bazel-blog/pull/200

We’ll probably surface this in documentation soon as well.

0reactions
jincommented, Mar 14, 2022

The blogpost was written years ago, and I’ve lost the context (and no longer work on the IDE plugin) to make recommendations on this.

@alice-ks Are there documentation for current best practices to sync config directories?

Read more comments on GitHub >

github_iconTop Results From Across the Web

User's Guide - Bazel 0.26.0
Available commands: analyze-profile Analyzes build profile data. aquery Executes a query on the post-analysis action graph. build Builds the specified targets.
Read more >
Bazel - IntelliJ IDEs Plugin - JetBrains Marketplace
Bazel project support. Features: Import BUILD files into the IDE. BUILD file custom language support. Support for Bazel run configurations for certain rule ......
Read more >
Project Setup (C/C++) - - Code Intelligence Docs
CI Fuzz will automatically detect most current build systems for C++ including CMake, Autotools, Scons, Bazel, Ninja and of course Unix Makefiles. If...
Read more >
CHANGELOG - intellij - Git at Google
CLion test output: make URLs and bazel targets clickable ... Add an action to open a workspace file outside your project (File >...
Read more >
Error building TensorFlow 2.8 in Windows 10
Could not find any cublas_api.h matching version '' in any subdirectory: ... /external/llvm-raw/utils/bazel/llvm-project-overlay --target .
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found