User | Kudos |
---|---|
6 | |
6 | |
3 | |
2 | |
2 |
When deciding to replace several occurences of an enum constant by the corresponding strings in a diagram (say, in a state machine), there currently is no simple way.
From a logical point of view, it should be possible to select the enum constant, right-click and choose Replace >> String constant and get a string constant displaying the selected denomination of the enum constant. Unfortunately, currently, one only gets an empty string:
results in:
The shame is that if you had this enum connected to a Case Structure for instance, the item names are preserved:
while I would have liked to get:
my suggestion (part 1): Allow replacing an enum constant by a string constant containing its item name.
A natural extension of this suggestion would be, in case this enum is a typedef, to be able to perform a similar action in the Search Results window, where, after finding all copies of the typedef constants, the Replace All button would perform the action above on each individual copy:
Suggestion Part 2: Allow selecting all copies of a typedef refnum constant within a diagram and replace them with string constants containing their item names.
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 received less than 2 kudos within 2 years after posting will be automatically declined.