Open EmilyGraceSeville7cf opened 1 year ago
ya, i think this is a bug. we may have to change nushell's complete functionality, or manipulate it's return on the typescript side.
I can't reproduce this on Windows. That seems weird.
I use Ubuntu 22.04 LTS (MATE desktop environment).
I uploaded a gif, does it look like i'm doing what you described?
To reproduce issue you should trigger autocomplete for into <something>
when into<space>
is written on the same line.
I see what you mean. If you let the auto-completer launch itself, you get proper completions. If you ignore that prompt and ctrl+space yourself, you get into into
completions.
I tested like this 'str' | int<auto_magic_complete>
and it works fine but 'str | into <ctrl+space>
I get into into
whatever I chose. In the second form, where the problem is, i have to cancel the auto_magic_complete popup in order to make it fail.
auto_magic_complete
- where this setting can be found?
auto_magic_complete
- where this setting can be found?
LOL. I just mean that when i typed int, before i could get to the o in into, the completions pop up without me triggering them.
into<space>
into int
(or any other subcommand)into into int
, instead ofinto int
What can be done:
<command>
should not be inserted when it's already written<command>
should not be shown in intellisence suggestion when it's already typedNu:
VS Code:
OS: