René's URL Explorer Experiment


Title: incorrect highlight of command with variable · Issue #836 · PowerShell/PSReadLine · GitHub

Open Graph Title: incorrect highlight of command with variable · Issue #836 · PowerShell/PSReadLine

X Title: incorrect highlight of command with variable · Issue #836 · PowerShell/PSReadLine

Description: The syntax highlighting often gives the user the idea of what is going to happen, but in a few situations it seems to indicate the wrong things. $a='goodbye' hello$a # 'hello' is yellow, '$a' is green like its going to be expanded, but i...

Open Graph Description: The syntax highlighting often gives the user the idea of what is going to happen, but in a few situations it seems to indicate the wrong things. $a='goodbye' hello$a # 'hello' is yellow, '$a' is gr...

X Description: The syntax highlighting often gives the user the idea of what is going to happen, but in a few situations it seems to indicate the wrong things. $a='goodbye' hello$a # 'hello' is ye...

Opengraph URL: https://github.com/PowerShell/PSReadLine/issues/836

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"incorrect highlight of command with variable","articleBody":"The syntax highlighting often gives the user the idea of what is going to happen, but in a few situations it seems to indicate the wrong things.\r\n\r\n```PowerShell\r\n$a='goodbye'\r\nhello$a # 'hello' is yellow, '$a' is green like its going to be expanded, but it doesn't\r\n# instead, \"The term 'hello$a' is not recognized as the name of a …\" is returned.\r\n```\r\n\r\nI think it is safe to say, everything highlighted yellow, does not allow expansion\r\n\r\n```PowerShell\r\nfunction hello () {echo $args}\r\n$a= @{hello=3;goodbye=4}\r\n$a[hello] # 'hello]' is yellow, like it could be a function call, but function calls seem not to be permitted in array index\r\n$a[hello goodbye] # as you type, it looks like its going to be valid, but the prompt knows, its still red at the end.\r\n$a[(hello goodbye)] # this is accepted\r\n```\r\n![image](https://user-images.githubusercontent.com/26179051/50131055-02d52480-0246-11e9-99c9-391a50365b97.png)\r\n\r\nThis seems to really confuse the syntax highlighting:\r\n```PowerShell\r\n$a[(hello$b goodbye)]\r\n```\r\n![image](https://user-images.githubusercontent.com/26179051/50131831-abd14e80-0249-11e9-8582-876fff2f0323.png)\r\n\r\n\r\nEnvironment data\r\n----------------\r\n```\r\nPS version: 6.1.1\r\nPSReadline version: 2.0.0-beta3\r\nos: 10.0.18298.1000 (WinBuild.160101.0800)\r\nPS file version: 6.1.1\r\n```\r\n","author":{"url":"https://github.com/msftrncs","@type":"Person","name":"msftrncs"},"datePublished":"2018-12-18T04:23:10Z","url":"https://github.com/PowerShell/PSReadLine/issues/836"}

react-profiling0
react-import-mapreact,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-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:785e7fa8-cb34-a69a-d92e-0f1ee29883c4
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idD25E:3F81BD:B78302:F8E352:6AFE6E12
html-safe-nonce3504cb010cfd7ba4db45a8cf783f1d2077e3812d283ae1641a2cba166a917c07
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMjVFOjNGODFCRDpCNzgzMDI6RjhFMzUyOjZBRkU2RTEyIiwidmlzaXRvcl9pZCI6IjI3OTIzMTA0NTg4NjA1OTY3NTQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac4a5ab43cd58ae6a0d7c98ff709317ba680846d749a0959c1756b1f867f1fb3aa
hovercard-subject-tagissue:391991109
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/PowerShell/PSReadLine/836/issue_layout
twitter:imagehttps://opengraph.githubassets.com/1b3b5fcfa748b912087d42f68b4ab39e155e1a6ad1050c9d6d01af70ad071551/PowerShell/PSReadLine/issues/836
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/1b3b5fcfa748b912087d42f68b4ab39e155e1a6ad1050c9d6d01af70ad071551/PowerShell/PSReadLine/issues/836
og:image:altThe syntax highlighting often gives the user the idea of what is going to happen, but in a few situations it seems to indicate the wrong things. $a='goodbye' hello$a # 'hello' is yellow, '$a' is gr...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemsftrncs
hostnamegithub.com
expected-hostnamegithub.com
Noneb3c0f155eafc27e60db6e254d1ffff0e072e9ab3b4018a5ee518797c19d89f86
turbo-cache-controlno-preview
go-importgithub.com/PowerShell/PSReadLine git https://github.com/PowerShell/PSReadLine.git
octolytics-dimension-user_id11524380
octolytics-dimension-user_loginPowerShell
octolytics-dimension-repository_id10025737
octolytics-dimension-repository_nwoPowerShell/PSReadLine
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id10025737
octolytics-dimension-repository_network_root_nwoPowerShell/PSReadLine
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release4a10310af51a1bfffbedc4fd81cb582acf0cb0ff
ui-targetcanary-1
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/PowerShell/PSReadLine/issues/836#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPSReadLine%2Fissues%2F836
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPSReadLine%2Fissues%2F836
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=PowerShell%2FPSReadLine
Reloadhttps://github.com/PowerShell/PSReadLine/issues/836
Reloadhttps://github.com/PowerShell/PSReadLine/issues/836
Reloadhttps://github.com/PowerShell/PSReadLine/issues/836
PowerShellhttps://github.com/PowerShell
PSReadLinehttps://github.com/PowerShell/PSReadLine
Codehttps://github.com/PowerShell/PSReadLine
Issues280 (280)https://github.com/PowerShell/PSReadLine/issues
Pull requests27 (27)https://github.com/PowerShell/PSReadLine/pulls
Discussionshttps://github.com/PowerShell/PSReadLine/discussions
Actionshttps://github.com/PowerShell/PSReadLine/actions
Projectshttps://github.com/PowerShell/PSReadLine/projects
Wikihttps://github.com/PowerShell/PSReadLine/wiki
Security and qualityhttps://github.com/PowerShell/PSReadLine/security
Insightshttps://github.com/PowerShell/PSReadLine/insights
https://github.com/PowerShell/PSReadLine
New issuehttps://github.com/login?return_to=https://github.com/PowerShell/PSReadLine/issues/836
New issuehttps://github.com/login?return_to=https://github.com/PowerShell/PSReadLine/issues/836
incorrect highlight of command with variablehttps://github.com/PowerShell/PSReadLine/issues/836#top
https://github.com/msftrncs
Carl Morris (msftrncs)https://github.com/msftrncs
on Dec 18, 2018https://github.com/PowerShell/PSReadLine/issues/836#issue-391991109
https://user-images.githubusercontent.com/26179051/50131055-02d52480-0246-11e9-99c9-391a50365b97.png
https://user-images.githubusercontent.com/26179051/50131831-abd14e80-0249-11e9-8582-876fff2f0323.png
https://github.com/lzybkr
Jason Shirk (lzybkr)https://github.com/lzybkr
on Dec 18, 2018https://github.com/PowerShell/PSReadLine/issues/836#issuecomment-448104845
https://github.com/msftrncs
Carl Morris (msftrncs)https://github.com/msftrncs
on Dec 18, 2018https://github.com/PowerShell/PSReadLine/issues/836#issuecomment-448108774
https://github.com/lzybkr
Jason Shirk (lzybkr)https://github.com/lzybkr
on Dec 18, 2018https://github.com/PowerShell/PSReadLine/issues/836#issuecomment-448111002
Show-Asthttps://github.com/lzybkr/ShowPSAst
PowerShell repohttps://github.com/PowerShell/PowerShell
https://github.com/msftrncs
Carl Morris (msftrncs)https://github.com/msftrncs
on Feb 2, 2019https://github.com/PowerShell/PSReadLine/issues/836#issuecomment-459951739
Carl Morris (msftrncs)https://github.com/msftrncs
on Aug 3, 2019https://github.com/PowerShell/PSReadLine/issues/836#event-2531146404
prioritize highlight of command nameshttps://github.com/msftrncs/PSReadLine/commit/a217d68fcdf3091892c5b9e95e66994cddbf33d1
a217d68https://github.com/msftrncs/PSReadLine/commit/a217d68fcdf3091892c5b9e95e66994cddbf33d1
prioritize highlight of command nameshttps://github.com/msftrncs/PSReadLine/commit/7f42dfe77a5b35cf45c2bddc44e4374cf98efccd
7f42dfehttps://github.com/msftrncs/PSReadLine/commit/7f42dfe77a5b35cf45c2bddc44e4374cf98efccd
https://github.com/msftrncs
Carl Morris (msftrncs)https://github.com/msftrncs
on Aug 3, 2019https://github.com/PowerShell/PSReadLine/issues/836#issuecomment-517895493
https://github.com/msftrncs
Carl Morris (msftrncs)https://github.com/msftrncs
on Aug 3, 2019https://github.com/PowerShell/PSReadLine/issues/836#issuecomment-517901140
https://user-images.githubusercontent.com/26179051/62408704-738d3f00-b592-11e9-98b1-e18c0f9990ba.png
https://github.com/msftrncs
Carl Morris (msftrncs)https://github.com/msftrncs
on Aug 3, 2019https://github.com/PowerShell/PSReadLine/issues/836#issuecomment-517901251
PowerShell/PowerShell#10275https://github.com/PowerShell/PowerShell/issues/10275
https://github.com/msftrncs
Carl Morris (msftrncs)https://github.com/msftrncs
on Sep 13, 2019https://github.com/PowerShell/PSReadLine/issues/836#issuecomment-531403788
#989https://github.com/PowerShell/PSReadLine/pull/989
Carl Morris (msftrncs)https://github.com/msftrncs
completedhttps://github.com/PowerShell/PSReadLine/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Sep 13, 2019https://github.com/PowerShell/PSReadLine/issues/836#event-2633660720
Sign up for freehttps://github.com/signup?return_to=https://github.com/PowerShell/PSReadLine/issues/836
Sign in to commenthttps://github.com/login?return_to=https://github.com/PowerShell/PSReadLine/issues/836
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.