|
|||||||||||||
In LV 2010 the string constant display style is a nice new addition based on the ideas here and here.
The implementation is consistent with how the radix indicator works on numeric constants in that you must navigate to the visible items shortcut menu and turn them on discretely.
If I want to take a string constant, show it in '\' format and turn on the descriptor, it requires two separate operations.
I propose that the descriptor (or radix for numeric constants) be automatically shown when displaying any mode other than the default.
Not only would this add to the readability of these constants but would eliminate the extra step to have to discretely show this valuable piece of self documentation.
If the developer did not want the descriptor shown, they they could manually turn it off.
Good idea.
This can probably be taken a step further - just display the glyph for constants all the time. Normal display has no glyph and all others have their glyph.
That would make it one less thing for the user to worry about and it give people's code a uniform and predictable look.
Tst: Better idea. :-)
+1 for showing all the time and no configuration.
I also vote for displaying the glyph on any string type, and allowing the user to turn it off. I didn't even know this feature existed until I read about altenbach's completed idea in this forum. My strings weren't displaying the glyph, so I went to the Tools->Options menu to see if it needed to be enabled. Nothing there, so then I did the right-click and highlighted Visible Items.
I don't see a downside to defaulting this on - the amount of diagram space saved by having it off is miniscule. Kudos.
You must be a registered user to add a comment here. If you've already registered, please log in. If you haven't registered yet, please register and log in.
Post New Idea to submit a product idea to the LabVIEW Idea Exchange. Be sure to submit a separate post for each idea.
My Profile | Privacy |
Legal |
Contact NI
© 2011 National Instruments Corporation. All rights reserved. | E-Mail this Page
|
||

E-Mail this Page