Title: $_ scoped differently between inside and outside string.quoted.double · Issue #133 · PowerShell/EditorSyntax · GitHub
Open Graph Title: $_ scoped differently between inside and outside string.quoted.double · Issue #133 · PowerShell/EditorSyntax
X Title: $_ scoped differently between inside and outside string.quoted.double · Issue #133 · PowerShell/EditorSyntax
Description: Environment Editor and Version: VS Code: 1.26.0 Your primary theme: Dark+ Issue Description Trying to correct theming of '$_', I've noticed that '$_' is scoped as support.constant.automatic while outside a string.quoted.double, and suppo...
Open Graph Description: Environment Editor and Version: VS Code: 1.26.0 Your primary theme: Dark+ Issue Description Trying to correct theming of '$_', I've noticed that '$_' is scoped as support.constant.automatic while o...
X Description: Environment Editor and Version: VS Code: 1.26.0 Your primary theme: Dark+ Issue Description Trying to correct theming of '$_', I've noticed that '$_' is scoped as support.consta...
Opengraph URL: https://github.com/PowerShell/EditorSyntax/issues/133
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"$_ scoped differently between inside and outside string.quoted.double","articleBody":"### Environment\r\n\r\n- Editor and Version: VS Code: 1.26.0\r\n- Your primary theme: Dark+\r\n\r\n### Issue Description\r\n\r\nTrying to correct theming of '$\\_', I've noticed that '$\\_' is scoped as support.constant.automatic while outside a string.quoted.double, and support.variable.automatic when inside a string.quoted.double scope.\r\n\r\n### Expected Behavior\r\n\r\nI would expect both to be consistent. I am not sure that scoping as a constant is correct, its not really a constant. I would consider it more of a read only variable. The same may go for many of the other $ automatic token variables. $\\_ is really the only one I use regularly.\r\n\r\n","author":{"url":"https://github.com/msftrncs","@type":"Person","name":"msftrncs"},"datePublished":"2018-08-15T00:25:59Z","url":"https://github.com/PowerShell/EditorSyntax/issues/133"}
| 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:e22fc10d-5dd2-5a0d-a901-db754ffbc1b1 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 92FE:9E0BF:2C2FEA:3BD7E3:6AFE1B30 |
| html-safe-nonce | c017fa0ef9444bde1f9f312862db8e1b9befa218e487cf762f2a88e0658bcacf |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MkZFOjlFMEJGOjJDMkZFQTozQkQ3RTM6NkFGRTFCMzAiLCJ2aXNpdG9yX2lkIjoiNjA4OTQ1MDYyNDU3MzY0MzU2OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | e5ca3083d20b65a30ea80f02a23d475023e4e60fa53bca6f441b40a8ce300081 |
| hovercard-subject-tag | issue:350642633 |
| 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/133/issue_layout |
| twitter:image | https://opengraph.githubassets.com/4642c8cd24989175c86b9d3760bd07f2fd2e2b5d8fa47f89404fb4d5d4f80f14/PowerShell/EditorSyntax/issues/133 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/4642c8cd24989175c86b9d3760bd07f2fd2e2b5d8fa47f89404fb4d5d4f80f14/PowerShell/EditorSyntax/issues/133 |
| og:image:alt | Environment Editor and Version: VS Code: 1.26.0 Your primary theme: Dark+ Issue Description Trying to correct theming of '$_', I've noticed that '$_' is scoped as support.constant.automatic while o... |
| 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 | 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