Comments (3)
Thanks for noticing this! It would seem that this problem also affects our current development build of the server, which uses the same pathing.
Probably this should be looked into. Our heuristic for calculating roots seems to be correct, but the behavior is not as expected. I believe that the problem might be associated with the the value baseDirectory
on each target, since it is pointing directly towards the folder where the source files are. My assumption is this since IntelliJ suggestion to move to the correct folder creates the whole package structure within that folder.
@jastice did anything change on your side for this?
from bazel-bsp.
Nothing really changed in the BSP support. Maybe there's some interaction with the enhanced package prefixes in 2020.3? I haven't looked into this yet.
from bazel-bsp.
Just tried to importing this through 2020.2 and found that this did not happen there. Going to close this and open an issue on youtrack about it. You can find it here
from bazel-bsp.
Related Issues (20)
- If `bazel info exec_root` fails contents of stderr should be printed HOT 1
- project is built around a fork of `rules_kotlin` HOT 3
- java 17 HOT 5
- e2e tests for project view files HOT 1
- [project view] support for `build_flags`
- new contribution guide
- new installer HOT 1
- vavr for the win
- cpp plugin implementation HOT 2
- support for excluded targets
- can we get rid of `SemanticVersion`?
- Generate project view based on args to installer HOT 7
- codebase cleanup after new sync mechanism HOT 1
- Handle resolution failure in BazelPathsResolver HOT 2
- bazel creates symlinks that IntelliJ is indexing HOT 4
- Server state is not maintained between bazel-bsp runs
- HAVE YOU FOUND A BUG? DO YOU WANT TO ASK FOR A NEW FEATURE? PLEASE USE YOUTRACK
- Version 2.0.0 is not on maven? HOT 2
- aspects.bzl attempts to access non-existent struct field HOT 3
- could we make a new release? HOT 2
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 bazel-bsp.