LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 

Alt-Enter to proceed to the next element of an array

Status: Completed

Available in LabVIEW 2020 SP1 and later. You can press 'Tab' and 'Shift-Tab' to navigate forward and backwards in an array constant or control. Note that this functionality requires that you have Tools > Options > Environment > General > Lock automatic tool selection CHECKED.

How many times have you found yourself entering items in an array, typing merrily along, only to have to switch back to a mouse to click on the next element and type it it.  I suggest that Alt-Enter complete the current entry and move to the next array element.

 

This idea proposed using the Tab key, which collides with manual tool changes.  Shift-Enter was also proposed, but it collides with the ability to move to a new line in strings and to add another element to a enum/ring.

 

I propose using Alt-Enter to advance to the next array element:

AltEnter.png

13 Comments
K C
Trusted Enthusiast

Whenever I need a lot of data (~> 10 items) in an array I enter this is a file and read this file into an array within my program. You can Excel for this.

 

I would be better that NI comes up with a Array Constant Editor (ACE) Here you have the name  Smiley Wink

X.
Trusted Enthusiast
Trusted Enthusiast

I noticed also that Ctrl-A, Ctrl-X, and to some extent Ctrl-V do not work "as expected"  with a numeric array.

 

- Specifically, Ctrl-A while you are editing one of the array element, will select the whole array. Not what I meant to do, which was selecting the whole number.

- Ctrl-X, well, will not do anything. It will temporarily empty the cell, but the moment you click outside of it, the previous number reappears. I would expect 0 to replace the deleted value.

- Ctrl-V will paste a single number if that's what you have in the clipboard, but if you have a list of numbers (or garbage), nothing will happen. I would suggest that if a list of number (tab or CR separated) is pasted (Ctrl-V), those numbers are pasted in the array starting from the selected cell.

 

So depending on whether a CAR is opened to look into the OP's suggestion/report, I would strongly recommend to look into those at the same time.

Of course this is not limited to arrays (see this thread).

Darren
Proven Zealot
Status changed to: Completed

Available in LabVIEW 2020 SP1 and later. You can press 'Tab' and 'Shift-Tab' to navigate forward and backwards in an array constant or control. Note that this functionality requires that you have Tools > Options > Environment > General > Lock automatic tool selection CHECKED.