WinBatch® Technical Support Forum

All Things WinBatch => WinBatch => Topic started by: kdmoyers on August 24, 2021, 11:37:14 AM

Title: Suggestions re: the "Show UDP Definition" function in Studio
Post by: kdmoyers on August 24, 2021, 11:37:14 AM
Some friendly suggestions for the Show UDP Definition feature recently added
to Studio.  I love the feature, but I have opinions (smile).  No expectations,
this probably not even on the first page of the priorities.

1. Please sort the list by name, not type.  Presently, you have to look at
two places in the list because you might not be certain if it was coded as
a subroutine or as a function.

2. I suggest that instead of putting the #definefunction or #definesubroutine,
instead flag them with simply an F or S.  Save the space for something else.

3. Include the parameters of the function.  It adds a lot of useful info.
If they don't all fit, just truncate.

4. Add label definitions.  It amounts to the same thing - an interesting named
spot in the code that you might want to look at. Flag them with a colon character.

Attached pic shows what this might look like (from my janky homebrew version).

$0.02
-Kirby
Title: Re: Suggestions re: the "Show UDP Definition" function in Studio
Post by: td on August 24, 2021, 08:50:13 PM
Interesting ideas for sure.