LabVIEW Idea Exchange

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

Distinctive icon in project explorer for overridden methods

Status: New

As the number of classes in a project increases it gets harder and  harder to figure out which methods in a class are overridden because you need to scroll up and down to compare the methods listed under each class. A distinctive glyph or icon in the project explorer window would be very helpful. I understand that there are workarounds like creating an override virtual folder and moving the overridden vis inside it or right clicking the class and opening the "VI for Override" window and checking if the vi is listed. However, a distinctive icon would drastically increase code readability.

reza0146_0-1709836120851.png

 

6 Comments
wiebe@CARYA
Knight of NI

Not a bad idea, more info is more power.

 

But ideally, the icon should show a) if the method is an override and b) if the method is overridden. Maybe even c) if the method is overridable (e.g. dd) and d) if it has to be overridden.

 

wiebeCARYA_3-1709891836798.png

 

On the other hand, there has been proposals (Display class method type icon (static, dynamic dispatch) in project/class tree) for 'icon info' and it usually turns out there's simply too much we'd like to have in the icon.

reza0146
Member

I like the graphics. Yes, all these info is super helpful. Why not have a tooltip with these info showing up while we hover over the method? 

 

wiebe@CARYA
Knight of NI

>Why not have a tooltip with these info showing up while we hover over the method? 

 

Hmmm. Why not indeed. Esp. if there's a plug in structure making it customizable\extendable. You could post that as an idea.

 

A tipstrip does require a hoover over, so there is less overview. But the ideas are complementary.

crossrulz
Knight of NI

I'm not a fan of adding to the icon.  I would rather have an "settings" section to the side of the item name with icons for settings that are important.


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
fabric
Active Participant

Kudos for some kind of visual indication. Like crossrulz I'd prefer an additional column rather than cluttering the icon, but I'd settle for either ahead of what we have now (i.e. nothing).

 

This related idea could easily accomodate the desired information: https://forums.ni.com/t5/LabVIEW-Idea-Exchange/Project-View-Enhancement-Show-more-VI-Properties/idi-...

wiebe@CARYA
Knight of NI

> I would rather have an "settings" section to the side of the item name with icons for settings that are important.

 

I sure wish the tree control had support for that. An event to signal that it was scrolled\opened\closed would help a lot (to update an image with icons).