dotnet-repl icon indicating copy to clipboard operation
dotnet-repl copied to clipboard

Tab and Shift-Tab both cycle backward through completions

Open jonsequitur opened this issue 4 years ago • 6 comments

jonsequitur avatar Jun 10 '21 04:06 jonsequitur

Is this related to Radline somehow?

patriksvensson avatar Jun 10 '21 06:06 patriksvensson

Should I tackle with this?

Haplois avatar Jun 10 '21 08:06 Haplois

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

jonsequitur avatar Jun 10 '21 13:06 jonsequitur

@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.

jonsequitur avatar Jun 10 '21 15:06 jonsequitur

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

Haplois avatar Jun 13 '21 22:06 Haplois

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.)

danieldjewell avatar Apr 03 '23 18:04 danieldjewell