Skip to content

Abandon ExtendedDefaultParser and reuse the default implementation of JLine #517

Open
@guang384

Description

@guang384

In the startup log, you will always see the following WARNING :
The Parser of class org.springframework.shell.jline.ExtendedDefaultParser does not support the CompletingParsedLine interface. Completion with escaped or quoted words won't work correctly.

That's because JLine has redefined and implemented the CompletingParsedLine interface since version 3.7.0
Improve support for completion with quotes, #245

In the current implementation, the classes related to ExtendedDefaultParser seem to have directly copied and pasted the previous version of JLine code. Since JLine has made new changes to this interface definition, it is better to give up and reuse the default implementation of jline.

If possible, I would be happy to submit a PR on this issue.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions