LabVIEW Idea Exchange

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

Hide .lvclass extension on property nodes

Status: New

Propertyreduction.png

Why all the redundant .lvclass everywhere? Please remove this from the property node, it makes the property node longer than it needs to be.

12 Comments
GregSands
Active Participant

It's already possible.  Go to the Class Properties dialog, and on the Documentation page, set the Localized Name.

Taylorh140
Member

Wow, this makes me happy! 

 

perhaps the default in the future would be to remove the .lvclass?

crossrulz
Knight of NI

Wow, that even works for the terminals when creating a VI in the library!  This makes me a happy person.


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
Darren
Proven Zealot

I'm kudoing this in the hopes that we can get the default behavior changed in a future version to set the localized name by default to be the class file name minus the .lvclass extension.

IlluminatedG
Active Participant

And same for lvlib plz! Currently doing that manually for every library/class I create.

~ Helping pave the path to long-term living and thriving in space. ~
Darren
Proven Zealot

> And same for lvlib plz!

 

Why do you do it for .lvlibs?

IlluminatedG
Active Participant

Places like this and anywhere else the FQN is displayed by default

IlluminatedG_0-1741103318036.png

 

~ Helping pave the path to long-term living and thriving in space. ~
Darren
Proven Zealot

The context help still displays the ".lvlib" extension even if you change the localized name of the library. Is there some other place in the editor where you see a display change when changing the localized name of a library specifically to remove ".lvlib"?

IlluminatedG
Active Participant

Well ignore me, I could have sworn it showed up in class terminals and such but it definitely doesn't so I'll just have a mental crisis for the rest of the day.

~ Helping pave the path to long-term living and thriving in space. ~
Darren
Proven Zealot

Ah yes, you're right. If you have MyLib.lvlib:MyClass.lvclass and you've changed the localized name of both of them to remove their extensions, then when you drag the class control onto the panel it will get a label of MyLib:MyClass.