Skip to content

$ label prefix interfering with completion list for $env: #206

Closed
@rkeithhill

Description

@rkeithhill

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.:

ise_proplist
ise_paramlist

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.:

vscode_proplist
vscode_paramlist

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. :-)

vscode_proplist2
vscode_paramlist2

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions