Repository navigation
Open Required Projects by default - #9715
Conversation
7c06e8a to
fb69e42
Compare
There was a problem hiding this comment.
one of the easiest things we could do is change the default value of Open Required Projects: to true on the Open Project dialog.
but did Neil also suggest to do such change one day before freeze? ;)
I would have at least waited to update the "Project Problems" dialog and logic first before changing defaults. Because it will likely list 20 issues
while the actual solution would be to suggest running
mvn validate -Denforcer.skip <insert more common validate phase plugins to disable> --fail-at-endbefore the user would have to look at any issues the dialog currently lists (since there would be no issue left).
I am not going to block this though.
|
lets get his in. is the logic something that can fit in the rc2 if really annoying ? |
|
if it has to get in lets get it in. This issue mostly occurs when your .m2 repo doesn't have much in it. I wouldn't adjust things during RC but we can probably improve the UI for NB 33 since we have more maven work planned anyway. Its two things we likely have to do: better optional init action and a smarter way to represent the problem list (e.g start from the parent). honestly the quickest hotfix would be to not let the window pop up at all ;) user will likely press build anyway or see the warning on the project icons and resolve from there. Everything pops up at the same time, window and notification while the notification contains the solution (build project). |
|
Awaiting more approvals of the current state of the PR. Ideally Eric and Neil both approve. Then anyone can merge prior to NetBeans 32 branching. |
|
merging |
|
maybe we should rename this PR to "open required projects" by default? Try opening a NB module. |
|
@mbien agreed, and I think I've pointed out that distinction about 4 times in the last few weeks. It's a key thing to keep in mind with all the current discussions. This change is a little awkward with ergonomics too, but that's only a one time issue. Do wish we had a way to stop anything being indexed before all the projects have been loaded. |
That could probably be addressed by opening the project fully first and only then asking for the list of "required projects". But yeah, it is a minor one time issue, it can be addressed anytime in the future. |
@neilcsmith-net wrote: