vscode-nushell-lang icon indicating copy to clipboard operation
vscode-nushell-lang copied to clipboard

Variables defined as `|<variable>|` are not suggested inside blocks

Open EmilyGraceSeville7cf opened this issue 2 years ago • 3 comments

image

No $it suggested

EmilyGraceSeville7cf avatar May 01 '23 11:05 EmilyGraceSeville7cf

This may require changes to nushell's completion call. Or maybe some fancy typescript to append to what nushell returns.

fdncred avatar May 01 '23 12:05 fdncred

Thinking more about this, our completions in the extension work the same way the completions work in nushell (i think). What that means is that if you can't get the completions you're looking for in the nushell repl, you won't get them in the extension. Vice-versa, if you get the completions in the repl, we should be able to make them work in the extension.

fdncred avatar May 01 '23 15:05 fdncred

I think it's the right way to develop completions, to keep them consistent.

EmilyGraceSeville7cf avatar May 01 '23 15:05 EmilyGraceSeville7cf