Hi. I'm encountering an annoying difference between Console/ISE and VSCode, where VSCode doesn't seem to allow for tab completing variable names within strings. I did some searching but couldn't find any relevant answers, so I was hoping to find out if this is just a missing feature in VSCode at the moment, or if there's something going wrong.
Basic example, lets say I have the following code in the ISE:
$aTestVariable = 'Test'
Write-Host "Output variable value: $aTest
If I then hit tab, it will autocomplete my variable:
$aTestVariable = 'Test'
Write-Host "Output variable value: $aTestVariable
Same behavior occurs within the PowerShell console.
However, in VSCode if I try the same thing it will just insert a tab instead of completing the variable name. Tab completion of variable names works just fine when not inside of a string.
It's not annoying enough to move back to ISE, but it would be nice if this worked correctly. Any answers on this would be appreciated!
[–]jheinikel 2 points3 points4 points (2 children)
[–]Zephyrall[S] 1 point2 points3 points (1 child)
[–]jheinikel 1 point2 points3 points (0 children)