Repository navigation
Closed
Labels
In-PRIndicates that a PR is out for the issueIndicates that a PR is out for the issueIssue-Questionideally support can be provided via other mechanisms, but sometimes folks do open an issue to get aideally support can be provided via other mechanisms, but sometimes folks do open an issue to get aResolution-No ActivityIssue has had no activity for 6 months or moreIssue has had no activity for 6 months or moreWG-Interactive-IntelliSensetab completiontab completion
Description
Steps to reproduce
$:<CTRL SPACE>
# OR
tabexpansion2 '$:' 2 # result set shows that it found nothing to match
Expected behavior
Expected was a full list of all the variables that could be used at least with the notation $:
Actual behavior
No results are returned, or list is offered.
Environment data
Name Value
---- -----
PSVersion 7.0.0-preview2.27045
PSEdition Core
GitCommitId 7.0.0-preview2.27045
OS Microsoft Windows 10.0.18941
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
Previous versions behave the same way.
I believe this should work, since $: is a valid start to specifying a variable. See 033ef6c for a commit that would fix this issue.
It might need to be determined if the : representing a blank drive/scope/provider field should be stripped from the returned completions, when they are not needed), and if the common scopes and providers should still be included in the list.
Metadata
Metadata
Assignees
Labels
In-PRIndicates that a PR is out for the issueIndicates that a PR is out for the issueIssue-Questionideally support can be provided via other mechanisms, but sometimes folks do open an issue to get aideally support can be provided via other mechanisms, but sometimes folks do open an issue to get aResolution-No ActivityIssue has had no activity for 6 months or moreIssue has had no activity for 6 months or moreWG-Interactive-IntelliSensetab completiontab completion
Activity
iSazonov commentedon Jul 29, 2019
:is a drive separator and perhaps we need to limit using the char in variable names otherwise it can too complicate our code.msftrncs commentedon Jul 29, 2019
Additionally,
${:also provides no results. At that point, the:is a valid character, and also still a scope / drive / provider separator, and at least at present, a empty scope is allowed in the$and@syntaxes.Just to clarify,
$:<anything><CTRL SPACE>and ${:` fail to bring up completions, and both are fixed by 033ef6c.microsoft-github-policy-service commentedon Nov 16, 2023
This issue has not had any activity in 6 months, if this is a bug please try to reproduce on the latest version of PowerShell and reopen a new issue and reference this issue if this is still a blocker for you.
microsoft-github-policy-service commentedon Nov 16, 2023
This issue has not had any activity in 6 months, if this is a bug please try to reproduce on the latest version of PowerShell and reopen a new issue and reference this issue if this is still a blocker for you.
microsoft-github-policy-service commentedon Nov 16, 2023
This issue has not had any activity in 6 months, if this is a bug please try to reproduce on the latest version of PowerShell and reopen a new issue and reference this issue if this is still a blocker for you.
microsoft-github-policy-service commentedon Nov 23, 2023
This issue has been marked as "No Activity" as there has been no activity for 6 months. It has been closed for housekeeping purposes.