Title: Closing brackets in replace mode · Issue #6126 · processing/processing · GitHub
Open Graph Title: Closing brackets in replace mode · Issue #6126 · processing/processing
X Title: Closing brackets in replace mode · Issue #6126 · processing/processing
Description: Description Most IDEs behave in a certain way when closing brackets and quotes. Opening a bracket you automatically get the matching closing bracket, which is nice, but if you try to close the bracket manually you get a duplicate bracket...
Open Graph Description: Description Most IDEs behave in a certain way when closing brackets and quotes. Opening a bracket you automatically get the matching closing bracket, which is nice, but if you try to close the brac...
X Description: Description Most IDEs behave in a certain way when closing brackets and quotes. Opening a bracket you automatically get the matching closing bracket, which is nice, but if you try to close the brac...
Opengraph URL: https://github.com/processing/processing/issues/6126
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Closing brackets in replace mode","articleBody":"## Description\r\nMost IDEs behave in a certain way when closing brackets and quotes. \r\nOpening a bracket you automatically get the matching closing bracket, which is nice, but if you try to close the bracket manually you get a duplicate bracket. I think most people when writing brackets and quotes that don't contain anything, will by momentum immediately close the bracket themselves, or prefer to hit the closing bracket key than the right arrow, in order to get the cursor to the end of the line. That's why most IDE overwrite the matching closing bracket/quote, under certain circumstances.\r\nexample when I type the below code, I always end up going back end removing the extra brackets:\r\n`void setup(){}` -\u003e `void setup()){}}`\r\n\r\n## Expected Behavior\r\nI would like when I type a closing bracket/quote immediately after an equivalent opening bracket, that the closing bracket to be overwritten.\r\n\r\n## Current Behavior\r\nTyping the below `void setup()` one ends up with `void setup())` and the cursor in the position second to last, which is a bit inconvenient. I do like the auto-closing brackets, and I wouldn't want to have to disable the feature.\r\n\r\n## Your Environment\r\n\u003c!--- Include details about your environment. --\u003e\r\n\u003c!--- Thousands of people use Processing every day and may not have --\u003e \r\n\u003c!--- this issue, this might give us clues about why you’re seeing it. --\u003e\r\n* Processing version: 3.5.4\r\n* Operating System and OS version: macOS 10.14.6\r\n* Other information:\r\n\r\n## Possible Causes / Solutions\r\n\u003c!--- Optionally, ideas on how to implement the change. --\u003e\r\n","author":{"url":"https://github.com/nikpappas","@type":"Person","name":"nikpappas"},"datePublished":"2020-11-26T08:56:06.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/6126/processing/issues/6126"}
| 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:f3b61349-f263-4582-6c68-ea91ff55a7e2 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C062:47A9E:153551D:1DC2589:696FD123 |
| html-safe-nonce | bf32ee45cec3373221228f1ac4d1635a745560cd567412585a39e0ebc53d6181 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMDYyOjQ3QTlFOjE1MzU1MUQ6MURDMjU4OTo2OTZGRDEyMyIsInZpc2l0b3JfaWQiOiIzODg4NDA0MjUwNDIwNTY0MjU5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 4e4a6751872952ea170d5cef66b2d8169e3a3f433e5cae542368fac2b81a36ca |
| hovercard-subject-tag | issue:751408434 |
| 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/6126/issue_layout |
| twitter:image | https://opengraph.githubassets.com/a658b9ac423d6f421dedf5d32e985c989add636de211e10e4b7868ba8517d62d/processing/processing/issues/6126 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a658b9ac423d6f421dedf5d32e985c989add636de211e10e4b7868ba8517d62d/processing/processing/issues/6126 |
| og:image:alt | Description Most IDEs behave in a certain way when closing brackets and quotes. Opening a bracket you automatically get the matching closing bracket, which is nice, but if you try to close the brac... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | nikpappas |
| hostname | github.com |
| expected-hostname | github.com |
| None | 0a44b41159f8508d767a50a41d4355b6e6607de801262664cbe75414886e44e9 |
| 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 | 347f3ebfaef84b36b267c7a20bade84594f267d5 |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width