This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
See also bug #214909 Steps to reproduce: - create Welcome and Quote sample projects - set Welcome project as Main - right-click on Quote to open a context menu Results: The context menu contains the following odd items: - Build @ Debug - Clean and Build @ Debug - Run @ Debug - Debug @ Debug - Step into @ Debug
It would look better if the configuration was shown in (round) brackets e.g. - Build (Debug) - Run (Debug) etc.
General Project UI, not cnd specific
well, I don't get any of these results with ant freeform, maven nor netbeans platform projects. Apparently there's something special to cnd project popup menu and it's actions. reassigning back, please do an indepth analysis on your side first. Especially concerning how the @Debug message gets there into the action's label.
probably the same http://hg.netbeans.org/cnd-main/rev/b4f0c6004578
(In reply to comment #1) > It would look better if the configuration was shown in (round) brackets e.g. > - Build (Debug) > - Run (Debug) > etc. We arrive at at problems with Debug (Debug) then.. Another possible problem with the current solution is the label of Main menu's Run/Set project Configuration which should probably say "Set Main project Configuration" in order to be aligned with the rest of the menu items there.. I suppose the whole UI change was only done because the Configuration combo in main menu now related to main project, not selected project. Right? The same is true for other actions in the same toolbar and the behaviour was consistent even before 7.2 as far as I can tell. Personally I don't see a point in showing the configuration at all in the popup. For java projects and default configuration this add extreme clutter to the popup menu. On Macosx the supposed shadow color doesn't apply and all is the color.. My counter-proposal is to have active configuration shown in the projects view on the project node (under any conditions or only if different from the main project?) That's basically what appears to be the problem reported in the initial comment in issue 210304. unlike today default config should not be shown.
I will revert changeset b4f0c6004578 to fix this issue and issue 214909 and will reopen issue 210304. We can show the active configuration in Set Configuration > menu item if really, really necessary. Eg. Set Configuration @ Debug > which will be shown all the time, not only when there is another project set as main and the current config differs from the main project's one.
http://hg.netbeans.org/core-main/rev/a74092d7a9e7 reverting the b4f0c6004578 changeset
Integrated into 'main-golden', will be available in build *201209260001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/a74092d7a9e7 User: Milos Kleint <mkleint@netbeans.org> Log: #214918, #214909 reverting changeset b4f0c6004578, when main project is set don't annotate other projects' popup menu.