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.

Bug 248603 - Please add some additional actions for manipulating the order of Source Roots
Summary: Please add some additional actions for manipulating the order of Source Roots
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Project (show other bugs)
Version: 8.0.1
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Tomas Zezula
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-12 19:06 UTC by rripken
Modified: 2014-12-01 21:09 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
Screen shot of ui component and right click menu. (35.38 KB, image/png)
2014-11-12 19:06 UTC, rripken
Details

Note You need to log in before you can comment on or make changes to this bug.
Description rripken 2014-11-12 19:06:36 UTC
Created attachment 150458 [details]
Screen shot of ui component and right click menu.

It may not be typical, but I sometimes work on projects that have a large number of dependencies and large (>30) Source Roots.  When the order of the Source Roots is incorrect it is necessary to edit the source roots.  
Perhaps I don't know where to look, but I can't find a keyboard shortcut to move items up/down in the list.   The right-click menu displays "Add Source Root" "Move Up" "Move Down" "Reset Order".   "Add Source Root" always adds to the bottom of the list.  
Sometimes I want to move a single item to the top of the list.
Or I want to move an item to the bottom of the list.
Or I want to move multiple items.
Drag and Drop would be really nice.

I usually don't have to mess with the Source Root order, but when I do it can destroy a morning. 

Repeat this cycle 30+ times:

1:Scroll to find the item
2:Right click it
3:Select Move Up 
4:Goto step 1 

I'm requesting:

1)Keyboard-able actions to Move up/down.  If they already exist, I'm requesting a hint on hover or an underline on alt or some UI indication of how to manipulate the list from the keyboard.
2)"Move to Top" / "Move to bottom" action.  This alone would get me 80% of the functionality
3) Click and drag to reorder as done in the Netbeans ordered node tree..
Comment 1 Tomas Zezula 2014-11-28 08:35:18 UTC
Makes sense.
Is it enough to make the items draggle by mouse (including multi selection)?
You will select items to move and drag them to correct position.
Comment 2 rripken 2014-12-01 21:09:22 UTC
Yes, being able to drag items would address my complaint.