Title: Tweak Mode broken by // comment at end of code · Issue #6168 · processing/processing · GitHub
Open Graph Title: Tweak Mode broken by // comment at end of code · Issue #6168 · processing/processing
X Title: Tweak Mode broken by // comment at end of code · Issue #6168 · processing/processing
Description: Running a sketch in Tweak mode throws 'expecting "class", found TweakModeServer ' if the code ends with a // -style comment. A /* */ -style comment does not cause the issue. This issue appears only to be with a // comment at the end of t...
Open Graph Description: Running a sketch in Tweak mode throws 'expecting "class", found TweakModeServer ' if the code ends with a // -style comment. A /* */ -style comment does not cause the issue. This issue appears only...
X Description: Running a sketch in Tweak mode throws 'expecting "class", found TweakModeServer ' if the code ends with a // -style comment. A /* */ -style comment does not cause the issue. This ...
Opengraph URL: https://github.com/processing/processing/issues/6168
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Tweak Mode broken by // comment at end of code","articleBody":"Running a sketch in Tweak mode throws 'expecting \"class\", found TweakModeServer ' if the code ends with a // -style comment. A /* */ -style comment does not cause the issue. This issue appears only to be with a // comment at the end of the code.\r\n\r\n```\r\nvoid setup() {\r\n size(512, 512);\r\n}\r\n\r\nvoid draw() {\r\n strokeWeight(20);\r\n} \r\n\r\n// this comment throws 'expecting \"class\", found TweakModeServer'\r\n```\r\nEnvironment: Processing 3.5.4 on macOS 10.15.7.\r\n\r\n\r\n","author":{"url":"https://github.com/tobyhoward","@type":"Person","name":"tobyhoward"},"datePublished":"2021-03-15T11:52:48.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/6168/processing/issues/6168"}
| 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:9f3865ce-8ecd-f0b7-5538-8339082aecc6 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B26E:22ACDB:250AB17:33F2094:696F70E9 |
| html-safe-nonce | ba812810a8c4356c4e5c82a3745bf8db606b2327aa9d51187da2f304f9973a28 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMjZFOjIyQUNEQjoyNTBBQjE3OjMzRjIwOTQ6Njk2RjcwRTkiLCJ2aXNpdG9yX2lkIjoiMjE2NTc4OTY1NTA4Mjk1NDk4NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 701ddaba0532c24375c62e0b730709f36f12aa6f071dccaed9cddf6d19093d45 |
| hovercard-subject-tag | issue:831733762 |
| 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/processing/processing/6168/issue_layout |
| twitter:image | https://opengraph.githubassets.com/e2854b46aae58649ee269c849fff967c95411ffe10697e78ef033709d7a0304b/processing/processing/issues/6168 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/e2854b46aae58649ee269c849fff967c95411ffe10697e78ef033709d7a0304b/processing/processing/issues/6168 |
| og:image:alt | Running a sketch in Tweak mode throws 'expecting "class", found TweakModeServer ' if the code ends with a // -style comment. A /* */ -style comment does not cause the issue. This issue appears only... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | tobyhoward |
| hostname | github.com |
| expected-hostname | github.com |
| None | acc7f8c2e144976eeb6e7a73826049dd183bc572ccf5eaa9afb8265c617a97ab |
| turbo-cache-control | no-preview |
| go-import | github.com/processing/processing git https://github.com/processing/processing.git |
| octolytics-dimension-user_id | 1617169 |
| octolytics-dimension-user_login | processing |
| octolytics-dimension-repository_id | 7807399 |
| octolytics-dimension-repository_nwo | processing/processing |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 7807399 |
| octolytics-dimension-repository_network_root_nwo | processing/processing |
| 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 | cc546a224d6d4726a8d7c3a0dfe0cf65dbf9b7bd |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width