-
Notifications
You must be signed in to change notification settings - Fork 305
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
#6265 Target Management #6364
base: master
Are you sure you want to change the base?
#6265 Target Management #6364
Conversation
Add "Add Directory" button to the project view Add directory toggle checkboxes to the project view
Add target toggle checkboxes to the project view
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some very minor nits
base/src/com/google/idea/blaze/base/projectview/section/ListSection.java
Outdated
Show resolved
Hide resolved
base/src/com/google/idea/blaze/base/projectview/section/ListSection.java
Outdated
Show resolved
Hide resolved
...src/com/google/idea/blaze/base/projectview/section/sections/DirectoryLineMarkerProvider.java
Outdated
Show resolved
Hide resolved
Thank you @JamyDev. I think that now you'd need to accept the CLA otherwise the PR might not be mergeable :/ . |
…ns/DirectoryLineMarkerProvider.java
9d24c62
to
b4064ef
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi, thank you for the contribution. I've noticed a few issues:
- The behavior of the checkbox appears unpredictable when there are duplicates in the list (refer to the video).
- The "Project" tool window on the left-hand side updates with each click, but its behavior is also unpredictable (refer to the video).
- The case when there are two separate "directories" sections is not covered at all (same for targets)
- The
+
(add directory) button is barely useful. It's still more convenient to add a folder directly, as you get completions there. I would suggest removing it for now and revisiting this feature later. - Please update copyright year
checkboxes.mov
|
oh, regarding 1 and 2 - I just forgot to upload the video, please see the message again #6364 (review) |
@tpasternak is my version of the plugin being used here? I can't see any checkboxes. |
oh, my fault, this was supposed to be uploaded to a different PR xd |
Happy Friday 🍺 |
Now it's the right one |
OK then regarding 2: it looks like you have enabled a directory/target that hasn't been synchronized before, right? I have already considered that case and I was thinking of adding a notification in a future version tell the user that some of enabled/added targets are still not synched. The notification would be just a floating button just like that Maven refresh one if you have seen it before. What do you think? |
@tpasternak fixed all the points above. Note that this PR now depends on the one that adds line numbers. |
Handle targets with colons
…latformSection.java Co-authored-by: Borja Lorente <[email protected]>
…latformSection.java Co-authored-by: Borja Lorente <[email protected]>
…latformSection.java Co-authored-by: Borja Lorente <[email protected]>
…latformSection.java Co-authored-by: Borja Lorente <[email protected]>
Co-authored-by: Borja Lorente <[email protected]>
…ns/DirectorySection.java Co-authored-by: Borja Lorente <[email protected]>
…ns/AutomaticallyDeriveTargetsSection.java Co-authored-by: Borja Lorente <[email protected]>
Remove line calculation from print() methods
Remove line calculation from print() methods
… ay/section_line_number
Remove redundant method
Remove redundant method
Readd required method
Update comment
Update comment
…ay/target_management
…intellij into ay/target_management
…latformSection.java Co-authored-by: Borja Lorente <[email protected]>
…ay/target_management # Conflicts: # base/src/com/google/idea/blaze/base/projectview/section/ListSection.java
@tpasternak rebased and ready for review 😄 |
Looks like the CLion test failed due to an unrelated HTTP error 😅 |
Hi @tpasternak. Is there any chance for this to be merged? |
Add "Add Directory" button to the project view
Add directory toggle checkboxes to the project view
Checklist
Please note that the maintainers will not be reviewing this change until all checkboxes are ticked. See
the Contributions section in the README for more
details.
Discussion thread for this change
Issue number:
6265
Description of this change
Add directory and management buttons to the project-view file. Note that this is the first part of a series of features and enhancements that target the hardships of navigating large repos using Bazel.