Skip to Main Content
IBM Z Software


This portal is to open public enhancement requests against IBM Z Software products. To view all of your ideas submitted to IBM, create and manage groups of Ideas, or create an idea explicitly set to be either visible by all (public) or visible only to you and IBM (private), use the IBM Unified Ideas Portal (https://ideas.ibm.com).


Shape the future of IBM!

We invite you to shape the future of IBM, including product roadmaps, by submitting ideas that matter to you the most. Here's how it works:

Search existing ideas

Start by searching and reviewing ideas and requests to enhance a product or service. Take a look at ideas others have posted, and add a comment, vote, or subscribe to updates on them if they matter to you. If you can't find what you are looking for,

Post your ideas
  1. Post an idea.

  2. Get feedback from the IBM team and other customers to refine your idea.

  3. Follow the idea through the IBM Ideas process.


Specific links you will want to bookmark for future use

Welcome to the IBM Ideas Portal (https://www.ibm.com/ideas) - Use this site to find out additional information and details about the IBM Ideas process and statuses.

IBM Unified Ideas Portal (https://ideas.ibm.com) - Use this site to view all of your ideas, create new ideas for any IBM product, or search for ideas across all of IBM.

ideasibm@us.ibm.com - Use this email to suggest enhancements to the Ideas process or request help from IBM for submitting your Ideas.

Status Future consideration
Categories Refactoring
Created by Guest
Created on Aug 9, 2021

Make 'Refactor => Extract Paragraph ...' more flexible to fit customer needs

Hi,

I have some issues with function 'Refactor => Extract Paragraph ...'. I collected these after talking with our developers, so this are issues real developers have. We took those issues using latest IDz 15.0.2 on Linux. As reference have a look at case TS006325770.

As an example I attached some sample code which shows all issues, it is a somple module adding to numbers, function does not matter. Relevant coding rules in our shop are:
- we do not use sections
- we never use Perform ... thru ...
- every paragraph contains only one sentence
- we end every paragraph with 'Continue.' The word continue is used to make it more visible than just a period sign.

In the attached example PTSSZU2 I want to extract the Compute in 'Verarbeiten-Daten' into a new paragraph. Programm PTSSZU2A shows what we most likely want, PTSSZU2B shows the best we can get when using the dialog like refactor1.png shows. I also attached some screenshots.

The issues are:
1) refactor1.png shows I cannot click 'OK' directly, but are forced to use 'Preview'. As discussed in TS006325770 this is confusing to developers. I had some talks to developers which all had the question: ' How do I have to fill the fields to get the OK button active, I only get Preview active which shows me some errors.'

2) refactor2.png shows that FT-Berechnen and END-FT-Berechnen is generated and marked as unreachable code at the same time. This code should only be generated if needed. GIven our coding rules stated above, such code is never needed.

3) refactor2.png shows the message 'Extracting paragraph to this location will cause control flow to break' which is also not true in this situation, but confuses developers.

4) refactor2.png also show a weird highlighting of the code.

5) When selecting the first or second Problem message in the Preview list it shows the code before the change, the other messages show the code after the change. Message 1 and 3 are identical.

6) In addition to the items above it would be good adding an option to generate a paragraph ending statement like we use "continue.".

7) Giving this an own preference page with the ability to distribute by push-to-client, would also be good.

Idea priority Medium
  • Guest
    Reply
    |
    Sep 13, 2021

    Thank you for taking the time to suggest an enhancement to our product. Many of our product enhancements result from feedback from our customers, so your input is always very important to us. Your request is currently inline with our product strategy and we have planned it for a future release of the product. Thank you for your suggestion and continued support.

  • Guest
    Reply
    |
    Aug 9, 2021

    Attachment (Description)