Title: The "scope" named "variable.other.member" includes the dot separator · Issue #131 · PowerShell/EditorSyntax · GitHub
Open Graph Title: The "scope" named "variable.other.member" includes the dot separator · Issue #131 · PowerShell/EditorSyntax
X Title: The "scope" named "variable.other.member" includes the dot separator · Issue #131 · PowerShell/EditorSyntax
Description: First off: I think we should be lexing a property and a method rather than the generic member -- however, this bug is simply against the fact that the separator dot is being included in the scope. I'm using VS Code 1.26.0-insider For rep...
Open Graph Description: First off: I think we should be lexing a property and a method rather than the generic member -- however, this bug is simply against the fact that the separator dot is being included in the scope. ...
X Description: First off: I think we should be lexing a property and a method rather than the generic member -- however, this bug is simply against the fact that the separator dot is being included in the scope. ...
Opengraph URL: https://github.com/PowerShell/EditorSyntax/issues/131
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"The \"scope\" named \"variable.other.member\" includes the dot separator","articleBody":"First off: I think we should be lexing a `property` and a `method` rather than the generic `member` -- however, this bug is simply against the fact that the **separator** dot is being included in the scope.\r\n\r\nI'm using VS Code 1.26.0-insider\r\n\r\nFor repro sake, I added this to my preference:\r\n\r\n```json\r\n \"editor.tokenColorCustomizations\": {\r\n \"textMateRules\": [\r\n {\r\n \"scope\": \"variable.other.member\",\r\n \"settings\": {\r\n \"foreground\": \"#e23de2\"\r\n }\r\n },\r\n ]\r\n },\r\n```\r\n\r\nAnd got this:\r\n\r\n\r\n\r\nI expected only the words to be pink, i.e. only \"Length\" not \".Length\" in:\r\n\r\n```powershell\r\n$file.Length\r\n```\r\n\r\nI also did not expect it to affect the color of the method `Delete()` in \r\n\r\n```powershell\r\n$file.Delete()\r\n```\r\n","author":{"url":"https://github.com/Jaykul","@type":"Person","name":"Jaykul"},"datePublished":"2018-08-13T23:46:38Z","url":"https://github.com/PowerShell/EditorSyntax/issues/131"}
| 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:6e156ce1-a960-af32-b121-f59f1357360f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B704:6A575:28405A:388BEC:6AFE1B2B |
| html-safe-nonce | 0b61fed746c69417f60382bd68b21f6384d000bb1b68314fda63d5e557c18ea2 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNzA0OjZBNTc1OjI4NDA1QTozODhCRUM6NkFGRTFCMkIiLCJ2aXNpdG9yX2lkIjoiNjMxMTIwMDkxMTM0NzU1NTExNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 8bfc0e13f50d2fbd08e5ec8f501ec47ed1431323e3fafb807064e83aa5159b6e |
| hovercard-subject-tag | issue:350232416 |
| 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/131/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ab7493bec5f6633f0351494e554d5e98f4514f456e3489b3734b6e644af88317/PowerShell/EditorSyntax/issues/131 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ab7493bec5f6633f0351494e554d5e98f4514f456e3489b3734b6e644af88317/PowerShell/EditorSyntax/issues/131 |
| og:image:alt | First off: I think we should be lexing a property and a method rather than the generic member -- however, this bug is simply against the fact that the separator dot is being included in the scope. ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Jaykul |
| hostname | github.com |
| expected-hostname | github.com |
| None | d0525ab1464526bf4532a5551aa348cf100dff75ef808a96fc67a08b1d946aa9 |
| 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 | fef3993a71fa20f7be8e167132fbf9619bc66e12 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width