Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow adding ancestor directories to directories in project view #6598

Open
kolloch opened this issue Jul 26, 2024 · 2 comments
Open

Allow adding ancestor directories to directories in project view #6598

kolloch opened this issue Jul 26, 2024 · 2 comments
Assignees
Labels
awaiting-maintainer Awaiting review from Bazel team on issues lang: kotlin Kotlin rules integration P3 We're not considering working on this, but happy to review a PR. (No assignee) product: IntelliJ IntelliJ plugin type: feature request

Comments

@kolloch
Copy link

kolloch commented Jul 26, 2024

Description of the feature request:

One way of working with the Bazel Plugin is to start with no directories in the view but with view_project_root: true .

There is special support in the plugin already to add directories to the project view:

image

Or when you open a file outside of the directories in the project view:

image

Unfortunately, if you have already added a descendant directory (kotlin/net/eigenvalue/example2 in this case), you cannot add an ancestor (kotlin/net/eigenvalue):

image

I think that it would be nice to allow that since it is quite normal to extend your viewed directories like that.

Adding e.g. kotlin/net/eigenvalue to the directories in the project view already works as expected it is mostly that the UI doesn't provide a button or other affordance.

Which category does this issue belong to?

No response

What underlying problem are you trying to solve with this feature?

Make expanding the project view with further directories easier/more intuitive.

What operating system, Intellij IDE and programming languages are you using? Please provide specific versions.

Build #IU-241.18034.62, built on June 20, 2024 (Linux)

Have you found anything relevant by searching the web?

No response

Any other information, logs, or outputs that you want to share?

No response

@kolloch kolloch added awaiting-maintainer Awaiting review from Bazel team on issues type: feature request labels Jul 26, 2024
@kolloch
Copy link
Author

kolloch commented Jul 26, 2024

Here is a sample repo but you probably don't need one for this: https://github.com/kolloch/bazel_kotlin

@sgowroji sgowroji added lang: kotlin Kotlin rules integration product: IntelliJ IntelliJ plugin labels Jul 26, 2024
@sgowroji sgowroji assigned mai93 and unassigned sgowroji, iancha1992 and satyanandak Jul 26, 2024
@mai93 mai93 assigned tpasternak and unassigned mai93 Jul 29, 2024
@tpasternak tpasternak added the P3 We're not considering working on this, but happy to review a PR. (No assignee) label Sep 25, 2024
@tpasternak
Copy link
Collaborator

Sorry I don't have capacity to work on that. Btw did you have a chance to work with the new (BSP) plugin? https://github.com/JetBrains/hirschgarten

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting-maintainer Awaiting review from Bazel team on issues lang: kotlin Kotlin rules integration P3 We're not considering working on this, but happy to review a PR. (No assignee) product: IntelliJ IntelliJ plugin type: feature request
Projects
None yet
Development

No branches or pull requests

6 participants