Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

This page is dedicated to the discussion of what the Groovy Console (groovysh) should be able to do in the future. So please go on and add suggestions.

  • keep imports
  • remove the requirement for the "go" command
  • the value of last expression evaluated is made available in a variable. The name of the variable is short , e.g. "res".

from Dierk

  • code completion for known methods, DGM, and symbols used so far
  • dump transcript to file
  • nice to have: dump classes and methods that were previously defined
  • nice to have: run code in new jdb console

additionally: enhance ObjectBrowser to execute selected methods and change the "object under inspection" to the result of that method call. Keep an expression of how to get to that object (e.g. GPath). Let ObjectBrowser return this expression and make groovysh and groovyConsole arware of it such that groovysh user can use the inspect command to interactively construct such expressions.

  • No labels