Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8167554

jshell tool: re-execute a range and/or sequence of snippets

XMLWordPrintable

    • b09

      Paul Deitel writes --

      It would be nice to be able to re-execute a range of snippets with

      /#-#

      so,

      /1-3

      would re-execute snippets 1, 2 and 3. Or, if snippet 2 had been dropped, it would re-execute snippets 1 and 3.


      Robert writes --

      Additionally, being able to specify a sequence of snippets and ranges of snippets would be even more powerful:

      /4 7-9 3 12-20

            rfield Robert Field (Inactive)
            rfield Robert Field (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: