1. Groovy
  2. GROOVY-2785

A Pythonwin like interactive console with editor


    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 1.5.6
    • Fix Version/s: None
    • Component/s: Groovysh
    • Labels:


      Current groovysh and groovyConsole are not suitable for groovy nature: one important advantage of groovy over java is that you can evaluate any part of code immediately, which is a good incremental developing method: instead of " write and pray, compile and debug", you can write some code, evaluate them immediately, then write more code knowing the code you had written are right. It's also very easy to try some code that you are not sure of.
      Pythonwin is a good example: you can load, edit and write in the editor, or you can interactive with shell in any time, the best part is, you can run the script in editor, then go to the shell to operate the variable and objects from this run. It's a better way to debug problems or try new features.
      I understand that this question had been proposed long time before, but it didn't get too much attention because of limited resource. What I proposed is to combine groovysh and groovyConsole, just give groovyConsole an interactive shell, and let user continue to operate in the environment after running a script. This should not require too much work.


        draco created issue -
        Pascal Schumacher made changes -
        Field Original Value New Value
        Resolution UNRESOLVED [ 7 ]
        Status Open [ 1 ] Closed [ 6 ]
        Mark Thomas made changes -
        Project Import Sun Apr 05 13:32:57 UTC 2015 [ 1428240777691 ]
        Mark Thomas made changes -
        Workflow jira [ 12731808 ] Default workflow, editable Closed status [ 12743695 ]
        Mark Thomas made changes -
        Project Import Mon Apr 06 02:11:23 UTC 2015 [ 1428286283443 ]
        Mark Thomas made changes -
        Workflow jira [ 12969815 ] Default workflow, editable Closed status [ 12977578 ]


          • Assignee:
          • Votes:
            0 Vote for this issue
            2 Start watching this issue


            • Created: