Plex 2E

  • 1.  Jump to previous cursor position functionality

    Posted Mar 07, 2014 02:04 AM

    In Microsoft Visual Studio there is a shortcut key for navigating to last cursor position (ctrl + -). For example, if you look the source code of a program and see a function call and you jump to the the function's implementation: when you are done looking at the function, you may return to the place where the function was called using the "navigate to the last cursor position" shortcut. I find this quite nice.

    On CA Plex, when I see a "Go sub" statement and click it, I can't go back in same way after I am done looking at the subroutine. Often I have to browse the function some time before I find the original place where I clicked the "Go sub".

    Is there a similar functionality in CA Plex for going to previous cursor positions as in Visual Studio? Or is there some other nice way to move to e.g. places where a subroutine has been called?



  • 2.  RE: Jump to previous cursor position functionality
    Best Answer

    Posted Mar 07, 2014 05:18 AM

    When you double click "Go sub"  you are postioned to 'Sub' in question but there is NO method of returning back to the 'Go sub' you double clicked, wish there was please enter on the IDEA wall and you will get my vote

    'Or is there some other nice way to move to e.g. places where a subroutine has been called?' Debatable nice but you can do the following:

    Search Facilities (From Plex Help)

    You can search through an action diagram to locate a particular text string or object name. To perform a search:

    1. Type the text or object name in the input line. Instead of typing you can drag and drop an object or instruction from the Palette or the Object Browser. Object names should be in the following format:

      objecttype: fullname

      For example, to search for a value of the Order status field called Open, you would type:

      value: order status.open

    1. To search for an object, choose Find Object (F3) from the Edit menu.

      Or, to search for text, choose Find Text (F4) from the Edit menu.

    CA Plex highlights the line containing the first instance of the object name or text string (if any). Repeat step 2 to search for the next instance.

     

    How I would do the Search

    1. Drag and drop 'Sub MyAmazingSubrountine' action diagram statement to input line

    2. Remove one of the spaces between 'Sub'  and 'subroutine name'. Reported bug that the processes of drag and drop adds the extra space

    3. Press F4 

     

     



  • 3.  RE: Jump to previous cursor position functionality

    Posted Mar 07, 2014 05:43 AM

    Thanks for the answer.

    The search functionality is really helpful when finding places in code but I really miss a more pleasant way to move back to previous positions. Sometimes the same subroutine may be called in many places in the function, forcing one to go through multiple places before finding the original position if searching text "Go sub MySubRoutine". Maybe one should also try using tab key for moving between the "command line" and code in Action diagram in order to faster type the subroutine name for search.

    I'll post a request for "navigate to previous position" command to the idea wall.