JADE Environment Development Ideas

What's new in the upcoming JADE release?

IMPROVED DEVELOPER EFFICIENCY. ENHANCED SECURITY. SMOOTHER INTEGRATION

The JADE 2022 release meets tomorrow’s business demands.


Start your update to JADE's latest release

Add ability to remove all unused local variables on a Schema

Currently you can do this by searching for unused local variables on a single method then selecting "Remove all" and compiling. We have 20 years of code that could do with a bit of housekeeping so it would be useful to be able to run this against a schema instead. Maybe in the Administration GUI this could be run

  • Sam Stokell
  • Jan 29 2020
  • Closed
  • Attach files
  • Admin
    John Richards commented
    March 20, 2022 22:38

    This JEDI has been reviewed and our decision is that this feature would create a risk for unintentional change and has been declined.

  • Sam Stokell commented
    January 30, 2020 00:36

    ah yes I have seen that before, just ran it and it found 6448 methods with unused local variables and that was only for 1 schema! I'm not sure if it will be quicker to do it manually or wait for Jade to implement this :)

  • BeeJay commented
    January 30, 2020 00:06

    Have you looked at the Schema -> Find Unused Local Variables/Parameters option?


    Unfortunately you can only remove unused local variables one method at a time from the resulting list of methods, as per my comments in JEDI-177, but it is a quick way to find all the methods which have unused local variables and parameters across all your schemas.


    Cheers,
    BeeJay.