Title: Chained methods and properties on expressions · Issue #107 · PowerShell/EditorSyntax · GitHub
Open Graph Title: Chained methods and properties on expressions · Issue #107 · PowerShell/EditorSyntax
X Title: Chained methods and properties on expressions · Issue #107 · PowerShell/EditorSyntax
Description: Moving from SublimeText/PowerShell#68 And SublimeText/PowerShell#77 Environment Editor and Version (VS Code, Atom, Sublime): Sublime Your primary theme: Default Issue Description There is inconsistency in the chained methods: $users.Spli...
Open Graph Description: Moving from SublimeText/PowerShell#68 And SublimeText/PowerShell#77 Environment Editor and Version (VS Code, Atom, Sublime): Sublime Your primary theme: Default Issue Description There is inconsist...
X Description: Moving from SublimeText/PowerShell#68 And SublimeText/PowerShell#77 Environment Editor and Version (VS Code, Atom, Sublime): Sublime Your primary theme: Default Issue Description There is inconsist...
Opengraph URL: https://github.com/PowerShell/EditorSyntax/issues/107
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Chained methods and properties on expressions","articleBody":"Moving from https://github.com/SublimeText/PowerShell/issues/68\r\nAnd https://github.com/SublimeText/PowerShell/issues/77\r\n\r\n### Environment\r\n\r\n- Editor and Version (VS Code, Atom, Sublime): Sublime\r\n- Your primary theme: Default\r\n\r\n### Issue Description\r\n\r\nThere is inconsistency in the chained methods:\r\n\r\n```powershell\r\n$users.Split(\",\").Trim()\r\n```\r\n\r\n`Split` and `Trim` get 2 different regions.\r\n\r\nSame applies for \r\n\r\n```powershell\r\n$foo.bar\r\n```\r\n\r\nvs\r\n\r\n```pwoershell\r\n($foo).bar\r\n```\r\n\r\n#### Screenshots\r\n\r\n\u003c!-- If possible include screenshots of the issue -->\r\n\r\n\r\n\r\n\r\n### Expected Behavior\r\n\r\n- `Trim()` and `Split()` should be the same region type\r\n- `.bar` in first and second case should be the same region type\r\n\r\n### Code Samples\r\n\r\n\u003c!--\r\nInclude any code sippets that can be used to reproduce the\r\ndescribed behavior.\r\n-->\r\n\r\n```PowerShell\r\n$users.Split(\",\").Trim()\r\n\r\n$foo.bar\r\n($foo).bar\r\n```\r\n","author":{"url":"https://github.com/vors","@type":"Person","name":"vors"},"datePublished":"2018-05-26T21:34:55Z","url":"https://github.com/PowerShell/EditorSyntax/issues/107"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| 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:538e76ed-7f29-0215-7f3c-bf0825cb28d1 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 85E8:1DF5C5:B4B4E:FEDB5:6AFE1410 |
| html-safe-nonce | b2ccbc7cf590873b9429575fe4ec3023038c27cdaa71a9fa9cea610d00200cb3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NUU4OjFERjVDNTpCNEI0RTpGRURCNTo2QUZFMTQxMCIsInZpc2l0b3JfaWQiOiI0MTg3OTg1MDUyNjM1NjMyNjU2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 010d93e0e8615b1119c329efc5e2eef3e5951e0215cbbc96bfdef5f2a4ca7c76 |
| hovercard-subject-tag | issue:326768836 |
| 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/EditorSyntax/107/issue_layout |
| twitter:image | https://opengraph.githubassets.com/920dbe2397eea1dd714dc37b367230015c1e526d632f65ebc4b23e6200b15a66/PowerShell/EditorSyntax/issues/107 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/920dbe2397eea1dd714dc37b367230015c1e526d632f65ebc4b23e6200b15a66/PowerShell/EditorSyntax/issues/107 |
| og:image:alt | Moving from SublimeText/PowerShell#68 And SublimeText/PowerShell#77 Environment Editor and Version (VS Code, Atom, Sublime): Sublime Your primary theme: Default Issue Description There is inconsist... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | vors |
| hostname | github.com |
| expected-hostname | github.com |
| None | 3cd8a1d79ccbf9aecac62781f79072482a49047fb982b8c9e2ad4aca8bf6a9af |
| turbo-cache-control | no-preview |
| go-import | github.com/PowerShell/EditorSyntax git https://github.com/PowerShell/EditorSyntax.git |
| octolytics-dimension-user_id | 11524380 |
| octolytics-dimension-user_login | PowerShell |
| octolytics-dimension-repository_id | 59601299 |
| octolytics-dimension-repository_nwo | PowerShell/EditorSyntax |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 59601299 |
| octolytics-dimension-repository_network_root_nwo | PowerShell/EditorSyntax |
| 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 | 05539640a34afe6142a519483d78ddd766a1304a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width