Title: variable completion of `$:` provides no results · Issue #10239 · PowerShell/PowerShell · GitHub
Open Graph Title: variable completion of `$:` provides no results · Issue #10239 · PowerShell/PowerShell
X Title: variable completion of `$:` provides no results · Issue #10239 · PowerShell/PowerShell
Description: Steps to reproduce $:
Open Graph Description: Steps to reproduce $:
X 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 coul...
Opengraph URL: https://github.com/PowerShell/PowerShell/issues/10239
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"variable completion of `$:` provides no results","articleBody":"# Steps to reproduce\r\n\r\n```powershell\r\n$:\u003cCTRL SPACE\u003e\r\n\r\n# OR\r\n\r\ntabexpansion2 '$:' 2 # result set shows that it found nothing to match\r\n\r\n```\r\n\r\n# Expected behavior\r\n\r\nExpected was a full list of all the variables that could be used at least with the notation `$:`\r\n\r\n# Actual behavior\r\n\r\nNo results are returned, or list is offered.\r\n\r\n# Environment data\r\n\r\n\u003c!-- provide the output of $PSVersionTable --\u003e\r\n\r\n```none\r\nName Value\r\n---- -----\r\nPSVersion 7.0.0-preview2.27045\r\nPSEdition Core\r\nGitCommitId 7.0.0-preview2.27045\r\nOS Microsoft Windows 10.0.18941\r\nPlatform Win32NT\r\nPSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}\r\nPSRemotingProtocolVersion 2.3\r\nSerializationVersion 1.1.0.1\r\nWSManStackVersion 3.0\r\n```\r\nPrevious versions behave the same way.\r\n\r\nI believe this should work, since `$:` is a valid start to specifying a variable. See https://github.com/PowerShell/PowerShell/pull/10226/commits/033ef6cd6bf0b3f8a78a9b618f98334cd5aa7626 for a commit that would fix this issue.\r\n\r\nIt 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.","author":{"url":"https://github.com/msftrncs","@type":"Person","name":"msftrncs"},"datePublished":"2019-07-27T06:04:42.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":6},"url":"https://github.com/10239/PowerShell/issues/10239"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:54b1fbbf-72bf-e7a0-c5cd-e0f25153c7ac |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A1D6:70738:2F3FEA:422AC6:6A59C772 |
| html-safe-nonce | db6fdf57d32dca35be3e3fcaadd7470468f4dacb80cf075ab5304b13f4ace7ff |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMUQ2OjcwNzM4OjJGM0ZFQTo0MjJBQzY6NkE1OUM3NzIiLCJ2aXNpdG9yX2lkIjoiNjc5NTg2ODQ0NDY0NzYwNjkwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 8e76fd6f9baf0f918a8c47a75c0855a52655c469c5fe969835708c1c44ed1327 |
| hovercard-subject-tag | issue:473603349 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/PowerShell/PowerShell/10239/issue_layout |
| twitter:image | https://opengraph.githubassets.com/f31fae75c6ab943d31d43966e7cc5850c3408815265f6044500ebff72f84d92f/PowerShell/PowerShell/issues/10239 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f31fae75c6ab943d31d43966e7cc5850c3408815265f6044500ebff72f84d92f/PowerShell/PowerShell/issues/10239 |
| og:image:alt | Steps to reproduce $: |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | msftrncs |
| hostname | github.com |
| expected-hostname | github.com |
| None | ba3976babb66479b1c943a8edc0777d96157da48fadc0161f9ddb219deee8353 |
| turbo-cache-control | no-preview |
| go-import | github.com/PowerShell/PowerShell git https://github.com/PowerShell/PowerShell.git |
| octolytics-dimension-user_id | 11524380 |
| octolytics-dimension-user_login | PowerShell |
| octolytics-dimension-repository_id | 49609581 |
| octolytics-dimension-repository_nwo | PowerShell/PowerShell |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 49609581 |
| octolytics-dimension-repository_network_root_nwo | PowerShell/PowerShell |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | ab680789ae4a316cdaf0d5a292a1760140931cc4 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width