Title: Autocomplete should quote property names ending in "?" · Issue #10436 · PowerShell/PowerShell · GitHub
Open Graph Title: Autocomplete should quote property names ending in "?" · Issue #10436 · PowerShell/PowerShell
X Title: Autocomplete should quote property names ending in "?" · Issue #10436 · PowerShell/PowerShell
Description: Property names ending with ? character can't be used unless the property name is quoted, but autocomplete with TAB does not quote them. (Related to discussion in #3240) Steps to reproduce $o = [PSCustomObject]@{ 'test?' = 1 'test|' = 2 }...
Open Graph Description: Property names ending with ? character can't be used unless the property name is quoted, but autocomplete with TAB does not quote them. (Related to discussion in #3240) Steps to reproduce $o = [PSC...
X Description: Property names ending with ? character can't be used unless the property name is quoted, but autocomplete with TAB does not quote them. (Related to discussion in #3240) Steps to reproduce $o = ...
Opengraph URL: https://github.com/PowerShell/PowerShell/issues/10436
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Autocomplete should quote property names ending in \"?\"","articleBody":"Property names ending with `?` character can't be used unless the property name is quoted, but autocomplete with TAB does not quote them. (Related to discussion in #3240)\r\n\r\n# Steps to reproduce\r\n\r\n```powershell\r\n$o = [PSCustomObject]@{\r\n 'test?' = 1\r\n 'test|' = 2\r\n}\r\n\r\nPS C:\\\u003e $o.test{TAB}\r\n# cycles through\r\n# $o.test? # this won't work without quotes around the property name\r\n# $o.'test|'\r\n```\r\n\r\n# Expected behavior\r\n\r\n```powershell\r\nPS C:\\\u003e $o.test{TAB}\r\n# cycles through\r\n# $o.'test?' # expected, this one is quoted\r\n# $o.'test|'\r\n```\r\n\r\n# Environment data\r\n\r\n\u003c!-- provide the output of $PSVersionTable --\u003e\r\n\r\n```none\r\nPS C:\\\u003e $PSVersionTable\r\n\r\nName Value\r\n---- -----\r\nPSVersion 7.0.0-preview.1\r\nPSEdition Core\r\nGitCommitId 7.0.0-preview.1\r\nOS Microsoft Windows 10.0.17763\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\n","author":{"url":"https://github.com/HumanEquivalentUnit","@type":"Person","name":"HumanEquivalentUnit"},"datePublished":"2019-08-23T17:41:51.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":6},"url":"https://github.com/10436/PowerShell/issues/10436"}
| 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:1f233daa-224c-2bd4-9fba-f8dd7956d6ae |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D4C2:26468C:1B0575:234674:6A5B18F6 |
| html-safe-nonce | 300201c5d428f98ecb8d3c9a0857751059a7b844185b94dbe0bbebe547155deb |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENEMyOjI2NDY4QzoxQjA1NzU6MjM0Njc0OjZBNUIxOEY2IiwidmlzaXRvcl9pZCI6IjgzNjkzNzU0MjE3MDA3MDg1OTgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | ec96ab0f47f065a11c34fa6109bf9bd082efe8747321508a33f51d9198d1cbfa |
| hovercard-subject-tag | issue:484640039 |
| 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/10436/issue_layout |
| twitter:image | https://opengraph.githubassets.com/0ed618720b1aefaa71967c69f3df06df1a3bbafd50d9a4c29a39467fde759dbe/PowerShell/PowerShell/issues/10436 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0ed618720b1aefaa71967c69f3df06df1a3bbafd50d9a4c29a39467fde759dbe/PowerShell/PowerShell/issues/10436 |
| og:image:alt | Property names ending with ? character can't be used unless the property name is quoted, but autocomplete with TAB does not quote them. (Related to discussion in #3240) Steps to reproduce $o = [PSC... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | HumanEquivalentUnit |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b |
| 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 | 9c975978430e9ad293956f2bbdaf153b1bd84a99 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width