LabVIEW Idea Exchange

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

Filter/Search for Parent Class Selection

Status: New

On bigger projects, when creating a new class, I find it time-consuming to track down the parent class I'd like to inherit from.

 

It'd save me some pain if there was some kind of filter and/or search option for this on the New Class GUI:

 

_carl_0-1614272545841.png

Other thoughts on this:

- While the tree structure is useful, I usually know the name of the parent class I want to inherit from, but I don't necessarily know the full inheritance of it, meaning the tree structure isn't the most efficient way to find it.  (Even alphabetical by class name would be faster in these cases).

- I'd find the tree structure here easier to follow if the lines were visible.

8 Comments
Thomas_robertson
Active Participant

I just wanted to say that this is the most important easy to implement quality of life improvement requests that I have for NI.   We have several hundred classes in memory at a time and I am filled with dread every time I have to set inheritance for a class.

IlluminatedG
Active Participant

Gonna bump this since I got it working in my copy. Sure would be nice to get this shipped.

class filter.png

 

~ Self-professed LabVIEW wizard ~
Helping pave the path to long-term living and thriving in space.
fabric
Active Participant

Derrick, would you mind posting your modified New Class dialog? I assume you have modified one of the built in providers...

 

Thanks!

IlluminatedG
Active Participant

I'm working on packaging it up for VIPM and figuring out what the strategy is for LabVIEW compatibility since this is a VI installed with LabVIEW. It's a single VI replacement I just have to figure out a few details about the packaging and not breaking links.

~ Self-professed LabVIEW wizard ~
Helping pave the path to long-term living and thriving in space.
IlluminatedG
Active Participant

It should be good for 2020-2022 at least and I have to check 2023 when I get a chance, I'm presuming nothing changed about that UI in 2023 but of course I haven't checked that. My laptop has 2020, 2022, and 2023 so if it works for them I'll mark it good for those and call it safe for 2021.

~ Self-professed LabVIEW wizard ~
Helping pave the path to long-term living and thriving in space.
wiebe@CARYA
Knight of NI

I hope a filter is also added to the interfaces.

 

There usually won't be as many interfaces as classes, but while they're at it they might as well add it there.

IlluminatedG
Active Participant

That's the plan Wiebe. Just gotta duplicate the code because I'm trying to keep it all single VI replacement.

~ Self-professed LabVIEW wizard ~
Helping pave the path to long-term living and thriving in space.
_carl
Member

Eagerly awaiting IlluminatedG's filter feature drop!

 

LabVIEW 2023 Q1 has actually made the class selection window worse (for class selection, at least).  The "Parent Interface" control is bigger, and now also expands when you expand the window. This means that at any given time, you're only seeing about half to 2/3rds as many classes in the class tree as before...