
System Details Output
### VSCode version: 1.39.0-insider 55825e9ad2aa4b4b3f8b2290a54a517bc454a7a5 x64
### VSCode extensions:
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
### PSES version: 2.0.0.0
### PowerShell version:
Name Value
---- -----
PSVersion 5.1.18362.145
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.18362.145
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
I am experiencing a problem with intellisense when hitting ctrk-space or tab after a hyphen when filling out parameters. This seems to always default to the last one(typically pipelinevariable), which then starts triggering code blocks being inserted when pressing TAB and having to restart typing your parameter.
-- Description of what should be happening --
I believe it should follow the order of the parameters as defined in the underlying function/cmdletso you can tab through them
-- Description of what actually happens --
As described in the issue and seen in the two screen shots (one built in cmdlet and one custom function). Please advise if logs will assist with your troubleshooting
Follow the instructions in the troubleshooting docs
about capturing and sending logs.


@chughesvf thanks for opening this issue, looking at the details it seems this is a vscode bug so there unfortunately isnt much we can do to help...it would be great if you could open an issue in their repo....Thanks!
Did anyone create an issue in the VSCode repository? My "search-fu" is failing. Or perhaps a workaround is present? :)
@PhilipHaglund it does not appear that anyone has opened the issue in the VSCode repository, feel free to do the honors 馃槃
Add "editor.suggestSelection": "first" to your settings.json file.
This will make the intellisense pop-up always show the first option in the list, and should solve your problem.
Most helpful comment
Add
"editor.suggestSelection": "first"to your settings.json file.This will make the intellisense pop-up always show the first option in the list, and should solve your problem.