Title: `if` statement in comment not shown as comment (syntax highlighting) · Issue #259 · github/vscode-github-actions · GitHub
Open Graph Title: `if` statement in comment not shown as comment (syntax highlighting) · Issue #259 · github/vscode-github-actions
X Title: `if` statement in comment not shown as comment (syntax highlighting) · Issue #259 · github/vscode-github-actions
Description: Describe the bug A clear and concise description of what the bug is. To Reproduce Steps to reproduce the behavior: Create a new workflow file and paste in the below code. Observe how if: ... is highlighted incorrectly. name: Example Work...
Open Graph Description: Describe the bug A clear and concise description of what the bug is. To Reproduce Steps to reproduce the behavior: Create a new workflow file and paste in the below code. Observe how if: ... is hig...
X Description: Describe the bug A clear and concise description of what the bug is. To Reproduce Steps to reproduce the behavior: Create a new workflow file and paste in the below code. Observe how if: ... is hig...
Opengraph URL: https://github.com/github/vscode-github-actions/issues/259
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"`if` statement in comment not shown as comment (syntax highlighting)","articleBody":"**Describe the bug**\r\nA clear and concise description of what the bug is.\r\n\r\n**To Reproduce**\r\nSteps to reproduce the behavior:\r\n1. Create a new workflow file and paste in the below code.\r\n2. Observe how `if: ...` is highlighted incorrectly.\r\n\r\n```yml\r\nname: Example Workflow File\r\non: \r\n workflow_dispatch:\r\njobs:\r\n test:\r\n runs-on: ubuntu-latest\r\n steps:\r\n - name: A fake step\r\n run: echo Hello World\r\n# This is a block comment\r\n# The if: with a colon after it is not highlighted properly\r\n# An if without a colon is fine.\r\n\r\n```\r\n\r\n**Expected behavior**\r\nA clear and concise description of what you expected to happen.\r\nThe `if:` and following text should remain grey like a comment.\r\n\r\n**Screenshots**\r\nIf applicable, add screenshots to help explain your problem.\r\n\r\n\r\n\r\n\r\n**Extension Version**\r\n`v0.26.2`\r\n\r\n**Additional context**\r\nAdd any other context about the problem here.\r\n\r\nThis seems slightly related to #158 ","author":{"url":"https://github.com/AdamRaichu","@type":"Person","name":"AdamRaichu"},"datePublished":"2023-09-09T16:15:35Z","url":"https://github.com/github/vscode-github-actions/issues/259"}
| 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:2adc3611-8934-c5d9-01fe-7a4d014480c0 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | ED28:2ADB95:7B08A9:B09573:6AFD818B |
| html-safe-nonce | e3a9a113a4968c242c09165c1267b84718e4ba9cd0e9229c7b200e1cdc6df143 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFRDI4OjJBREI5NTo3QjA4QTk6QjA5NTczOjZBRkQ4MThCIiwidmlzaXRvcl9pZCI6IjEwNjE0Nzc2OTI3MTAxNTg3MzEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 53a43d4b83b51489b75f95c19c433d1a2270b63c95bca9c01ce284fc874efbf2 |
| hovercard-subject-tag | issue:1888801519 |
| github-keyboard-shortcuts | repository,issues,actions,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/github/vscode-github-actions/259/issue_layout |
| twitter:image | https://opengraph.githubassets.com/2b9691dcf5ba3988c1f9ef39fd929da706cb2d9f8e83ec7abaa66904be05ecef/github/vscode-github-actions/issues/259 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/2b9691dcf5ba3988c1f9ef39fd929da706cb2d9f8e83ec7abaa66904be05ecef/github/vscode-github-actions/issues/259 |
| og:image:alt | Describe the bug A clear and concise description of what the bug is. To Reproduce Steps to reproduce the behavior: Create a new workflow file and paste in the below code. Observe how if: ... is hig... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | AdamRaichu |
| hostname | github.com |
| expected-hostname | github.com |
| None | 42d4967e3c8afca51ccac31f419a705af777226a95f025ea73387d87a306b326 |
| turbo-cache-control | no-preview |
| go-import | github.com/github/vscode-github-actions git https://github.com/github/vscode-github-actions.git |
| octolytics-dimension-user_id | 9919 |
| octolytics-dimension-user_login | github |
| octolytics-dimension-repository_id | 616663763 |
| octolytics-dimension-repository_nwo | github/vscode-github-actions |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 616663763 |
| octolytics-dimension-repository_network_root_nwo | github/vscode-github-actions |
| 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 | 2329ceed0bc2c7b7c3b9f5f2db6abfc7b6fc3a50 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width