Re: Hide unreferenced variables?
Vern Hamberg via WDSCI-L <[email protected]> Fri, 27 Feb 2026 16:08:57 -0600
| Newsgroups | gmane.editors.websphere.iseries |
|---|---|
| Message-ID | <[email protected]> |
Hi David You might already know this one, still, it might help others. There is an option in the Preferences' section, enter "unused" in the text search, you'll see the ILE RPG topic, where there is an option to annotate unused definitions - this puts an "i" on the left of the row for unused. And there's a further option to include data structure subfields. It doesn't hide them, but it does make them visible. It's intent, it seems, was to help find them, in order to clean them up. *Regards* *Vern Hamberg* IBM Champion 2025 <cid:[email protected]> CAAC (COMMON Americas Advisory Council) IBM Influencer 2023 On 2/27/2026 9:54 AM, David Gibbs via WDSCI-L wrote: > OK, I know this is a (big) stretch. > > Does anyone think it would be feasible for RDi to hide variables that are > unreferenced in the program? > > I've only skimmed the debug api docs and haven't found any way to identify > if a variable is referenced or not in a debugged program. > > Sure wouid be handy to have an option to to only show referenced variables. > > david -- This is the Rational Developer for IBM i (WDSCI-L) mailing list To post a message email: [email protected] To subscribe, unsubscribe, or change list options, visit: https://lists.midrange.com/mailman/listinfo/wdsci-l or email: WDSCI-L-request-+hD5IHI5Xscn3HwCXmMcX9BPR1lH4CV8@public.gmane.org Before posting, please take a moment to review the archives at https://archive.midrange.com/wdsci-l.