Title: Highlighting for strings with "$(...)" is inconsistent · Issue #106 · PowerShell/EditorSyntax · GitHub
Open Graph Title: Highlighting for strings with "$(...)" is inconsistent · Issue #106 · PowerShell/EditorSyntax
X Title: Highlighting for strings with "$(...)" is inconsistent · Issue #106 · PowerShell/EditorSyntax
Description: Moved from SublimeText/PowerShell#66 Environment Editor and Version (VS Code, Atom, Sublime): Sublime Your primary theme: Default Issue Description $(...) inside a string is an expression interpolation. Ideally it should be highlighted e...
Open Graph Description: Moved from SublimeText/PowerShell#66 Environment Editor and Version (VS Code, Atom, Sublime): Sublime Your primary theme: Default Issue Description $(...) inside a string is an expression interpola...
X Description: Moved from SublimeText/PowerShell#66 Environment Editor and Version (VS Code, Atom, Sublime): Sublime Your primary theme: Default Issue Description $(...) inside a string is an expression interpola...
Opengraph URL: https://github.com/PowerShell/EditorSyntax/issues/106
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Highlighting for strings with \"$(...)\" is inconsistent ","articleBody":"\u003c!--\r\nBEFORE SUBMITTING A NEW ISSUE...\r\n\r\nPlease try a different theme to make sure the problem\r\nis not with the theme and is actually with the syntax.\r\n\r\nIf you are not reporting a bug please remove this template\r\nand describe the issue in your own words.\r\n-->\r\n\r\nMoved from https://github.com/SublimeText/PowerShell/issues/66\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\n`$(...)` inside a string is an expression interpolation.\r\nIdeally it should be highlighted exectly the same way as it's highlighted when put outside of the string context.\r\nI'm not sure it's possible to achive with regex grammar.\r\n\r\n#### Screenshots\r\n\r\nSublime -- difference between interpolated and non-interpolated\r\n\r\n\r\n### Expected Behavior\r\n\r\nPowerShell_ISE -- both are the same\r\n\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\"blablabla $(invoke-foo baz $a.bar) blablabla\"\r\ninvoke-foo baz $a.bar\r\n```\r\n","author":{"url":"https://github.com/vors","@type":"Person","name":"vors"},"datePublished":"2018-05-26T21:21:27Z","url":"https://github.com/PowerShell/EditorSyntax/issues/106"}
| 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:864fe40d-a0e1-5b6d-c058-e5d89d53b336 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D442:2AB11:7C903B:AF17AC:6AFE1665 |
| html-safe-nonce | 67a1a2a1eeeda84301c083481957765ffbd35b037e148edccebc265334adf8eb |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENDQyOjJBQjExOjdDOTAzQjpBRjE3QUM6NkFGRTE2NjUiLCJ2aXNpdG9yX2lkIjoiMjM5MDE5MzIxMzc2NDY3MTA3OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 1345e1c0fc01b1509a8708d82252651917f506bf89fe7567d0f72aca18636a60 |
| hovercard-subject-tag | issue:326768115 |
| 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/106/issue_layout |
| twitter:image | https://opengraph.githubassets.com/42b21f983559ef7d8fc780613c6a98e19541a9bd3effec8bf8ceabbaef51a605/PowerShell/EditorSyntax/issues/106 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/42b21f983559ef7d8fc780613c6a98e19541a9bd3effec8bf8ceabbaef51a605/PowerShell/EditorSyntax/issues/106 |
| og:image:alt | Moved from SublimeText/PowerShell#66 Environment Editor and Version (VS Code, Atom, Sublime): Sublime Your primary theme: Default Issue Description $(...) inside a string is an expression interpola... |
| 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