[jira] [Commented] (GROOVY-3270) GroovyConsole: Configurable output area size

Previous Topic Next Topic
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

[jira] [Commented] (GROOVY-3270) GroovyConsole: Configurable output area size

JIRA jira@apache.org

    [ https://issues.apache.org/jira/browse/GROOVY-3270?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16017492#comment-16017492 ]

John Wagenleitner commented on GROOVY-3270:

I think it would be handy to have a new {{Preferences}} dialog for general settings such as this.  Most current prefs are toggled from the Edit and Script menus.  Having a dialog behind a new menu item such as {{Edit > Preferences}} could have an edit box for inputting/displaying the output limit which is backed by a preference.  This could also be where the log to file option could be place (another request).

In case some bits of it may be helpful, I had started working on this a long time ago but never finished, https://github.com/jwagenleitner/groovy/commit/f0181f1564fdb0357b3852d15b0730582cc468ce.

> GroovyConsole: Configurable output area size
> --------------------------------------------
>                 Key: GROOVY-3270
>                 URL: https://issues.apache.org/jira/browse/GROOVY-3270
>             Project: Groovy
>          Issue Type: Improvement
>          Components: Groovy Console
>            Reporter: Fred Janon
>              Labels: contrib
> I am prototyping some code with GroovyConsole and I find it convenient to use "println" to the output area and copy/paste the result into another file. The output now is too big for the default size of the output, is there a way to increase it with an option?
> Also from Jim White:
> {quote}
> In addition to making that setting configurable, a log-to-file option would be nice.
> {quote}
> Note: I have moved the log to file request to another issue: GROOVY-8180
> Ideally the output size could be set (probably under the View menu) but if nothing else a system property would be an improvement.

This message was sent by Atlassian JIRA