bazelbuild / intellij

IntelliJ plugin for Bazel projects
https://ij.bazel.build/
Apache License 2.0
764 stars 304 forks source link

Support tab-completion for targets in external workspaces #505

Open cgruber opened 5 years ago

cgruber commented 5 years ago

While click-through navigation now works for generated and downloaded workspaces, I'm not seeing syntax completion on targets not in //

e.g. using github.com/square/bazel_maven_repository, one can set up a generated workspace representing maven artifacts, and use a dependency like @maven//com/google/guava:guava. As of today, from a head-build, at least, I can click-through that target and end up in my generated BUILD.bazel file. All well and good.

But, when wanting to use it, I can't type @maven//com/google/gu and then hit tab, and have it offer me suggestions as it will for //blah/foo/ba+tab.

arjantop commented 5 years ago

Are there any plans to add this? Quite a usability downgrade when using bazelbuild/rules_jvm_external (compared to bazel-deps).

jin commented 5 years ago

I'll take a look at this.

arjantop commented 5 years ago

@jin Great, thanks!

lukaciko commented 3 years ago

@jin @mai93 any updates on this? I see there was a draft branch a long time ago and that the issue has been tagged with topic: external dependencies.

Bencodes commented 2 years ago

Has any progress been made on this one? We also heavily use rules_jvm_external and having auto-complete support for this would be a huge quality-of-life improvement for our users.

Bencodes commented 2 years ago

@sgowroji this is another low hanging bug that impacts most Java/Android teams. Could you help triage this one as well?

github-actions[bot] commented 1 year ago

Thank you for contributing to the IntelliJ repository! This issue has been marked as stale since it has not had any activity in the last 6 months. It will be closed in the next 14 days unless any other activity occurs or one of the following labels is added: "not stale", "awaiting-maintainer". Please reach out to the triage team (@bazelbuild/triage) if you think this issue is still relevant or you are interested in getting the issue resolved.

github-actions[bot] commented 1 year ago

This issue has been automatically closed due to inactivity. If you're still interested in pursuing this, please reach out to the triage team (@bazelbuild/triage). Thanks!

Bencodes commented 8 months ago

Not being able to auto complete external dependencies is still an issue that exists in the Intellij plugin. Would be great to see a fix for this.

github-actions[bot] commented 2 months ago

Thank you for contributing to the IntelliJ repository! This issue has been marked as stale since it has not had any activity in the last 6 months. It will be closed in the next 14 days unless any other activity occurs. If you think this issue is still relevant and should stay open, please post any comment here and the issue will no longer be marked as stale.

tpasternak commented 2 months ago

Probably will be fixed in #6664

mtoader commented 2 months ago

Yea. Working on adding this :) @tpasternak is it possible that I get assigned to this ?

tpasternak commented 1 month ago

Sure! I can even mark as P1!