groovy
  1. groovy
  2. GROOVY-2785

A Pythonwin like interactive console with editor

    Details

    • Type: New Feature New Feature
    • Status: Open Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 1.5.6
    • Fix Version/s: None
    • Component/s: Groovysh
    • Labels:
      None
    • Number of attachments :
      0

      Description

      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.

        Activity

          People

          • Assignee:
            Unassigned
            Reporter:
            draco
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: