LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
Petru_Tarabuta

Project Explorer "Move to Owner Folder" option in Files view

Status: New

The Project Explorer Files view already contains the useful "Move on Disk..." option. It would be useful if, when a VI or CTL is owned by a lvclass or lvlib, an option named "Move to Owner Folder" (or similar) existed. This option would move the selected file to the folder that contains the lvclass or lvlib that owns that file. This action would be equivalent to using the "Move on Disk..." option, but would save the user from navigating the (potentially large) folder structure to find the right folder. In short, it would save a few seconds and would help ensure consistency. It would also encourage the best practice of storing owned VIs and CTLs in the same folder as their owner lvlib or lvclass (actions that are easy to do are performed more often).

 

For example

Screenshot 1: A project that contains two libraries

1.png

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Screenshot 2: In the Items view, the mouse was used to drag C.vi from Library 1.lvlib to Library 2.lvlib

2 (edited).png

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Screenshot 3: Typically, I would now press Ctrl + E to switch to the Files view, right-click the file, and select "Move on Disk...".

3 (edited).png

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Notes

  • It would be great if the "Move to Owner Folder" menu item was also available when multiple items that are owned by the same owner are selected.
  • A related idea: It would be useful if, when using the Items view to move an item from an owner to another, LabVIEW would pop up a dialogue message similar to the following "Would you also like to move the file on disk to folder <insert here the folder path of the new owner>?". The dialogue would contain Yes and No buttons. This would save the user from having to switch to the Files view altogether.

Thanks!

6 Comments
crossrulz
Knight of NI

FYI, you can drag the files around while in the Folders view to move them.

 

But I think the "move to library folder" would be just as helpful in the Items view as a right-click option.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Petru_Tarabuta
Member

Hi crossrulz,

 

Thanks. I'm aware that dragging files in the Files view moves the files on disk. It's a very useful feature that I use often. I should have mentioned this in the post above.

I tend to drag the files when the folder structure is small (small projects), and tend to use the "Move on Disk..." option for larger projects where the destination folder may be "far away" in the Files view from the source folder.

 

I agree that a "Move to Owner Folder" option in the Items view would be very useful.

AudioVideoDisco
Member

In addition it would be nice if the IDE warned us when files are not in the same folder as the .lvlib or .lvclass file. Perhaps this is a new feature request but is closely related.

This could be a silent warning that appears in the project explorer and displays a list of VIs that are members of a library/class but do not reside in the same directory as that  library/class.

 

Could piggyback on the current warning mechanism

AudioVideoDisco_0-1712098551808.png

 

Ajay_MV
Active Participant

Hi Petru,

 

I would like to see "Move All Files to it's Owner Folder" option on right-clicking any parent folder.  This can reduce repeatative job of finding each items independently 

 

--
Ajay MV


Petru_Tarabuta
Member

Hi Ajay,

Fully agree. "Move All Files to Owner Folder" option on right-click of any lvclass or lvlib would be useful.

On a slightly different topic, the following idea requests something that is related to this idea, and to the "Move All Files to Owner Folder" right-click option: Add "Move to..." option in Project Explorer right-click menu to help move (transfer ownership of) VI...

wiebe@CARYA
Knight of NI

>Fully agree. "Move All Files to Owner Folder" option on right-click of any lvclass or lvlib would be useful.

 

If possible of course. Files can't be moved to a folder if a file with that name exist in the folder. Not unthinkable if a parent and child class live in the same folder...