Title: No completion for Properties of $Error[n] · Issue #16941 · PowerShell/PowerShell · GitHub
Open Graph Title: No completion for Properties of $Error[n] · Issue #16941 · PowerShell/PowerShell
X Title: No completion for Properties of $Error[n] · Issue #16941 · PowerShell/PowerShell
Description: Prerequisites Write a descriptive title. Make sure you are able to repro it on the latest released version Search the existing issues, especially the pinned issues. Exception report N/A Screenshot Environment data PS Version: 7.2.1 PS Ho...
Open Graph Description: Prerequisites Write a descriptive title. Make sure you are able to repro it on the latest released version Search the existing issues, especially the pinned issues. Exception report N/A Screenshot ...
X Description: Prerequisites Write a descriptive title. Make sure you are able to repro it on the latest released version Search the existing issues, especially the pinned issues. Exception report N/A Screenshot ...
Opengraph URL: https://github.com/PowerShell/PowerShell/issues/16941
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"No completion for Properties of $Error[n]","articleBody":"### Prerequisites\n\n- [X] Write a descriptive title.\n- [X] Make sure you are able to repro it on the [latest released version](https://www.powershellgallery.com/packages/PSReadLine)\n- [X] Search the existing issues, especially the pinned issues.\n\n### Exception report\n\n```console\nN/A\n```\n\n\n### Screenshot\n\n\r\n\r\n\r\n\n\n### Environment data\n\n```console\nPS Version: 7.2.1\r\nPS HostName: ConsoleHost (Windows Terminal)\r\nPSReadLine Version: 2.2.2\r\nPSReadLine EditMode: Windows\r\nOS: 10.0.19041.1 (WinBuild.160101.0800)\r\nBufferWidth: 245\r\nBufferHeight: 67\n```\n\n\n### Steps to reproduce\n\n```\r\n\u003e Write-Error \"an error\"\r\n\u003e $Error[0]. \u003c-- type \u003ctab\u003e or Ctrl+Space to try to complete Properties of System.Management.Automation.ErrorRecord\r\n```\n\n### Expected behavior\n\nPowershell should return completions of `System.Management.Automation.ErrorRecord`\n\n### Actual behavior\n\nPowershell apparently returns completions of `Array` instead of `ErrorRecord`.","author":{"url":"https://github.com/nbros","@type":"Person","name":"nbros"},"datePublished":"2022-03-01T08:09:01.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":8},"url":"https://github.com/16941/PowerShell/issues/16941"}
| 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:6800e50d-17d2-ddf6-b6e1-a178723f84c6 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DE1A:206F88:410E89D:5A42AC0:6A54D6AC |
| html-safe-nonce | 8fd793922e452ce49ecf4212199e164f522581080ec0144eb2c64b51663f64c3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERTFBOjIwNkY4ODo0MTBFODlEOjVBNDJBQzA6NkE1NEQ2QUMiLCJ2aXNpdG9yX2lkIjoiMTg1Nzg0Nzk2NDYyNzk0OTIyOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | c101dd4bd7c3ec2cb89ad68e34c27af7bcfab473cb48264ba52adca9f7bab57d |
| hovercard-subject-tag | issue:1155543516 |
| 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/16941/issue_layout |
| twitter:image | https://opengraph.githubassets.com/1653c0912c40027ba3889b3101856ec3bbb56512e46cab9c6dbf78807202f5b9/PowerShell/PowerShell/issues/16941 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1653c0912c40027ba3889b3101856ec3bbb56512e46cab9c6dbf78807202f5b9/PowerShell/PowerShell/issues/16941 |
| og:image:alt | Prerequisites Write a descriptive title. Make sure you are able to repro it on the latest released version Search the existing issues, especially the pinned issues. Exception report N/A Screenshot ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | nbros |
| hostname | github.com |
| expected-hostname | github.com |
| None | a556215b071af6609619e2bbe6f00bdfbf0812ad723b1ae6c301858a7a829f54 |
| 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 | 840b5d20d5a883c23cf56f5240b2c343d6cc0867 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width