ASF GitHub Bot commented on METRON-438:

Github user nickwallen commented on the issue:

    Love it.  
    One other thing I was noticing.  Not a deal breaker, but want to get your 
feedback on it.  If I auto-complete a function, it adds a space after the 
function name.  If I type "WEEK_OF_YE" then tab, it auto-completes to 
"WEEK_OF_YEAR " with a trailing space.  
    If I then immediately hit ENTER, Stellar executes it, interprets it as a 
variable name, sees no value for the variable and does nothing.  Would it be 
possible to auto-complete a function with a trailing '(' so that I am forced to 
provide arguments?  Or maybe there is a better way to handle this situation.

> Back the Stellar REPL with a readline implementation
> ----------------------------------------------------
>                 Key: METRON-438
>                 URL: https://issues.apache.org/jira/browse/METRON-438
>             Project: Metron
>          Issue Type: Improvement
>            Reporter: Casey Stella
>            Assignee: Casey Stella
>   Original Estimate: 2.5h
>  Remaining Estimate: 2.5h
> The REPL as it currently stands is great, but it could be closer in-line with 
> the more popular REPL's by being backed by a readline implementation.
> Specifically, we should:
> * add variable assignment
> * add the ability to do reverse searches in the history
> * add the ability to use the arrow keys to recover previous inputs
> * add the ability to adjust input via ~/.inputrc
> * add autocomplete for function names and variable names

This message was sent by Atlassian JIRA

Reply via email to