User | Kudos |
---|---|
10 | |
3 | |
2 | |
2 | |
2 |
Since my request for separating namespace from library membership hasn't gone anywhere, I'll throw out a less disruptive idea: provide an option to group project items by namespace.
Often I have groups of vis or classes that are related to each other, but do not depend on each other. (For example, the LapDog message classes are logically related to each other, but not functionally related to each other.) Since grouping by namespace helps me understand the code, I typically put them all in the same library, even though they are not functionally linked.
The alternative is to name each message class according to its complete namespace (i.e. LapDog.Messaging.NativeMessages.StringMessage.lvclass) and skip the lvlib. Doing this means I lose the grouping feature in the dependencies tree. If there were an option to automatically group project items in a tree according to their namespace, I would get the benefit of grouping without incurring the overhead of library membership.
Currently LV includes the file extension as part of the namespace. I think that's fine identifying a specific vi. When grouping within the project window I don't think the extensions should be used. For example, a class method that is a member of a lvlib might have a fully qualified namespace of,
MyLib.lvlib:MyClass.lvclass:MyVi.vi
That vi should appear in the tree at the same place as a single vi with the filename,
MyLib.MyClass.MyOtherVi.vi.
(I really think Namespace should be a new tab in the project window like the Items and Files tabs, since it represents a different view of the project. However, that would probably be more work to implement so I'll pare down the request.)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Any idea that has not received any kudos within a year after posting will be automatically declined.