-
Notifications
You must be signed in to change notification settings - Fork 479
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PowerShell tab completion doesn't work for Write cmdlets when variable is in quotes #885
Comments
Indeed this does work from the command line so I'm a bit surprised it doesn't work in VSCode since we rely on the PowerShell engine's completion functionality. |
Wanted to point out that this doesn't appear to be an issue with the Write-* cmdlets, but simply the way intellisense works in the editor when a variable is inside double-quotes. For instance, you can repro this with Get-Process just like above. I've always noticed this but simply chalked it up to the Intellisense behavior and learned to use Ctrl+Space to complete values inside quotes. It works just fine in the Integrated Terminal. |
Another way of saying it: Intellisense is not automatically invoked inside quotes - you have to manually invoke it. |
Just started working with VSCode instead of ISESteroids, so was something I had noticed. |
Observing the same issue. |
Closing as a dupe of #1309 |
From @powershellpr0mpt on June 15, 2017 12:47
Steps to Reproduce:
Expected behaviour is VSCode simply providing a list of available variable, similar to when no quotes are used.
See attached .gif for easily reproduced example
![vscode_write_variable](https://user-images.githubusercontent.com/9294993/27181798-7108548c-51d9-11e7-80d7-2073ab7d6846.gif)
Reproduction Code:
and try tab completing the variable
Copied from original issue: microsoft/vscode#28814
The text was updated successfully, but these errors were encountered: