jonsequitur / dotnet-repl

A polyglot REPL built on .NET Interactive
MIT License
714 stars 35 forks source link

Tab and Shift-Tab both cycle backward through completions #2

Open jonsequitur opened 3 years ago

patriksvensson commented 3 years ago

Is this related to Radline somehow?

Haplois commented 3 years ago

Should I tackle with this?

jonsequitur commented 3 years ago

It might be related. I haven't taken the time to make certain.

jonsequitur commented 3 years ago

@Haplois If you want to take a look, that would be great, though if @patriksvensson has changes planned for the completion APIs, I'm fine with waiting. I'm opening a few issues here to track them but I'm expecting a bunch of churn.

Haplois commented 3 years ago

I was OOF, I'll wait for @patriksvensson too.

danieldjewell commented 1 year ago

Just installed whatever version is available from running dotnet tool install -g dotnet-repl (which appears to be v0.1.192)...

I can confirm that this issue is still present -- hitting both [Tab] or [Shift]+[Tab] results in cycling through completion backwards.

As a suggestion/thought - On one hand, I somewhat like the ability to just tab through the list... On the other, it might also be kinda nice (if possible/feasible) to have a "menu style" completion option - as is the case with IPython... (Where when you hit [Tab] for autocompletion, you get a small popup window that shows all possible completions ... You can then keep hitting tab to cycle through the list or can navigate with the arrow keys. Makes "browsing" around an object/API kinda nice.)