René's URL Explorer Experiment


Title: multiple issues detecting documentation keywords · Issue #136 · PowerShell/EditorSyntax · GitHub

Open Graph Title: multiple issues detecting documentation keywords · Issue #136 · PowerShell/EditorSyntax

X Title: multiple issues detecting documentation keywords · Issue #136 · PowerShell/EditorSyntax

Description: Environment Editor and Version: VS Code: 1.26.0 (with manual tweaks) Your primary theme: Dark+ Issue Description Presently, the documentation keyword detection/scoping/theming fails on the following items: # .keyword doesn't detect and s...

Open Graph Description: Environment Editor and Version: VS Code: 1.26.0 (with manual tweaks) Your primary theme: Dark+ Issue Description Presently, the documentation keyword detection/scoping/theming fails on the followin...

X Description: Environment Editor and Version: VS Code: 1.26.0 (with manual tweaks) Your primary theme: Dark+ Issue Description Presently, the documentation keyword detection/scoping/theming fails on the followin...

Opengraph URL: https://github.com/PowerShell/EditorSyntax/issues/136

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"multiple issues detecting documentation keywords","articleBody":"### Environment\r\n\r\n- Editor and Version: VS Code: 1.26.0 (with manual tweaks)\r\n- Your primary theme: Dark+\r\n\r\n### Issue Description\r\n\r\nPresently, the documentation keyword detection/scoping/theming fails on the following items:\r\n\r\n- `# .keyword` doesn't detect and scope\r\n- `\u003c# .keyword` doesn't detect and scope\r\n- once inside a comment block, extra `#` separated by spaces allows the keyword to detect, but Get-Help doesn't seem to permit this.\r\n- once inside a comment block, extra characters after a keyword that doesn't accept arguments allows the keyword to detect, but Get-Help doesn't seem to permit this. \r\n\r\n#### Screenshots\r\n\r\n![image](https://user-images.githubusercontent.com/26179051/44225224-85dc5600-a152-11e8-9cd8-80d8ea93aeb3.png)\r\n(Showing modified sample from file attached to #134)\r\n\r\n### Expected Behavior\r\n\r\nExpected to match Get-Help's acceptance.  However, that's much more difficult.  Get-Help also accepts:\r\n\r\n- \u003cspaces>`\u003c#` \u003cspaces> `#>` \u003cspaces> `#` \u003cadditional `#`s> \u003cspaces>`.keyword`\r\n- does not accept `.keyword` if the containing comment doesn't otherwise start at the beginning of a line\r\n- and has limited acceptance of consecutively spaced and required placement, that probably only script analysis can accurately report on.\r\n\r\n### Possible Fix\r\n\r\nI think two changes could fix the easiest problems.\r\n\r\n1. Change the match for 'commentEmbeddedDocs' to\r\n(#\\1 match)\r\n```\r\n\"(?:^|\\G)(?i:\\s*(\\.)(COMPONENT|DESCRIPTION|EXAMPLE|EXTERNALHELP|FORWARDHELPCATEGORY|FORWARDHELPTARGETNAME|FUNCTIONALITY|INPUTS|LINK|NOTES|OUTPUTS|REMOTEHELPRUNSPACE|ROLE|SYNOPSIS))(?:\\s*$)\"\r\n```\r\n    (#\\2 Match)\r\n```\r\n\"(?:^|\\G)(?i:\\s*(\\.)(PARAMETER|FORWARDHELPTARGETNAME|FORWARDHELPCATEGORY|REMOTEHELPRUNSPACE|EXTERNALHELP)\\s+([a-z0-9-_]+))\"\r\n```\r\n2. Change 'begin' match for 'commentLine' to\r\n```\r\n\"(?\u003c![`\\\\-])(#)#*\"\r\n```\r\nand change the capture from \"0\" to \"1\".\r\n\r\nWith the changes applied, this is the result:\r\n\r\n![image](https://user-images.githubusercontent.com/26179051/44226782-88d94580-a156-11e8-931c-377af75a83b6.png)\r\n(not necessary valid, I know)\r\n\r\n```PowerShell\r\n# .synopsis\r\n\u003c# .synopsis\r\n.synopsis\r\n\u003c#\r\n# ## ## .DESCRIPTION blah blah\r\n    This is a script function that will install HealOps on \"X\" system.\r\n#>\r\n```\r\n","author":{"url":"https://github.com/msftrncs","@type":"Person","name":"msftrncs"},"datePublished":"2018-08-16T18:19:41Z","url":"https://github.com/PowerShell/EditorSyntax/issues/136"}

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:1fe0bdf9-b50d-bd17-9ece-dac8c7e031da
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idD5E8:5C680:BFA12:103913:6AFE1406
html-safe-noncecfc6f77616f7acb1c1a32246e02c91165842a78784f013e6898b643fd4b204fd
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENUU4OjVDNjgwOkJGQTEyOjEwMzkxMzo2QUZFMTQwNiIsInZpc2l0b3JfaWQiOiIxNTc2NjY1MDgwMDY0MjUwODg2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac0ee962e8ede57ec232d6668baa349d79dd69f7b5eb395e0abc4918555bb19703
hovercard-subject-tagissue:351315368
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/EditorSyntax/136/issue_layout
twitter:imagehttps://opengraph.githubassets.com/a4a31f49ebd9f9f22f6a103888dc10927188886f473823c2035a60ec4e184a90/PowerShell/EditorSyntax/issues/136
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/a4a31f49ebd9f9f22f6a103888dc10927188886f473823c2035a60ec4e184a90/PowerShell/EditorSyntax/issues/136
og:image:altEnvironment Editor and Version: VS Code: 1.26.0 (with manual tweaks) Your primary theme: Dark+ Issue Description Presently, the documentation keyword detection/scoping/theming fails on the followin...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemsftrncs
hostnamegithub.com
expected-hostnamegithub.com
None3cd8a1d79ccbf9aecac62781f79072482a49047fb982b8c9e2ad4aca8bf6a9af
turbo-cache-controlno-preview
go-importgithub.com/PowerShell/EditorSyntax git https://github.com/PowerShell/EditorSyntax.git
octolytics-dimension-user_id11524380
octolytics-dimension-user_loginPowerShell
octolytics-dimension-repository_id59601299
octolytics-dimension-repository_nwoPowerShell/EditorSyntax
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id59601299
octolytics-dimension-repository_network_root_nwoPowerShell/EditorSyntax
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
release05539640a34afe6142a519483d78ddd766a1304a
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/PowerShell/EditorSyntax/issues/136#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FEditorSyntax%2Fissues%2F136
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%2FEditorSyntax%2Fissues%2F136
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%2FEditorSyntax
Reloadhttps://github.com/PowerShell/EditorSyntax/issues/136
Reloadhttps://github.com/PowerShell/EditorSyntax/issues/136
Reloadhttps://github.com/PowerShell/EditorSyntax/issues/136
PowerShellhttps://github.com/PowerShell
EditorSyntaxhttps://github.com/PowerShell/EditorSyntax
Codehttps://github.com/PowerShell/EditorSyntax
Issues69 (69)https://github.com/PowerShell/EditorSyntax/issues
Pull requests5 (5)https://github.com/PowerShell/EditorSyntax/pulls
Actionshttps://github.com/PowerShell/EditorSyntax/actions
Projectshttps://github.com/PowerShell/EditorSyntax/projects
Wikihttps://github.com/PowerShell/EditorSyntax/wiki
Security and qualityhttps://github.com/PowerShell/EditorSyntax/security
Insightshttps://github.com/PowerShell/EditorSyntax/insights
https://github.com/PowerShell/EditorSyntax
New issuehttps://github.com/login?return_to=https://github.com/PowerShell/EditorSyntax/issues/136
New issuehttps://github.com/login?return_to=https://github.com/PowerShell/EditorSyntax/issues/136
#175https://github.com/PowerShell/EditorSyntax/pull/175
multiple issues detecting documentation keywordshttps://github.com/PowerShell/EditorSyntax/issues/136#top
#175https://github.com/PowerShell/EditorSyntax/pull/175
https://github.com/msftrncs
Carl Morris (msftrncs)https://github.com/msftrncs
on Aug 16, 2018https://github.com/PowerShell/EditorSyntax/issues/136#issue-351315368
https://user-images.githubusercontent.com/26179051/44225224-85dc5600-a152-11e8-9cd8-80d8ea93aeb3.png
#134https://github.com/PowerShell/EditorSyntax/issues/134
https://user-images.githubusercontent.com/26179051/44226782-88d94580-a156-11e8-931c-377af75a83b6.png
https://github.com/msftrncs
Carl Morris (msftrncs)https://github.com/msftrncs
on Aug 17, 2018https://github.com/PowerShell/EditorSyntax/issues/136#issuecomment-413938762
https://github.com/msftrncs
Carl Morris (msftrncs)https://github.com/msftrncs
on May 9, 2019https://github.com/PowerShell/EditorSyntax/issues/136#issuecomment-490765622
Carl Morris (msftrncs)https://github.com/msftrncs
on May 11, 2019https://github.com/PowerShell/EditorSyntax/issues/136#event-2334617252
fix PowerShell#136,https://github.com/msftrncs/EditorSyntax/commit/b0f864a4b136f2b9bfeaa3ff2045b4aa2025bf3d
PowerShell#136https://github.com/PowerShell/EditorSyntax/issues/136
https://docs.github.com/articles/closing-issues-via-commit-messages
b0f864ahttps://github.com/msftrncs/EditorSyntax/commit/b0f864a4b136f2b9bfeaa3ff2045b4aa2025bf3d
Andy Jordan (andyleejordan)https://github.com/andyleejordan
completedhttps://github.com/PowerShell/EditorSyntax/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#175https://github.com/PowerShell/EditorSyntax/pull/175
on Mar 17, 2021https://github.com/PowerShell/EditorSyntax/issues/136#event-4472705691
Sign up for freehttps://github.com/signup?return_to=https://github.com/PowerShell/EditorSyntax/issues/136
Sign in to commenthttps://github.com/login?return_to=https://github.com/PowerShell/EditorSyntax/issues/136
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.