Closed
Description
I can fix this issue by removing a "feature" I had added to present variables and parameters in the completion list with a prefix - namely $
and -
. In ISE, it displays the text as returned by the AST with no prefix but ISE is able to use custom icons e.g.:
AFAIK we can't provide custom icons in VSCode so I changed the code to "prefix" variables and parameters so they would look a bit more "PowerShelly" e.g.:
I can remove this special code which makes completion of $env:
behave correctly but the completion lists look a little, well, naked IMO but functional is better than pretty. :-)