Skip to content

Change in behavior of multiline entry #376

@mchitre

Description

@mchitre

In fjåge, we used to support multiline entry on the shell by detecting incomplete Groovy code and letting ENTER not execute, but continue on next line. This no longer seems to work.

We get:

> a = {
org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
Script4.groovy: 1: unexpected token:  @ line 1, column 6.
   a = {
        ^

1 error

However, pressing ESC+ENTER does allow multiline entry as a workaround.

This issue is to discuss if we want to move to recommending ESC+ENTER as a way to do multiline entry, or whether we want to fix the multiline entry to work as it used to.

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions