Title: Replace mode when closing bracket by nikpappas · Pull Request #6124 · processing/processing · GitHub
Open Graph Title: Replace mode when closing bracket by nikpappas · Pull Request #6124 · processing/processing
X Title: Replace mode when closing bracket by nikpappas · Pull Request #6124 · processing/processing
Description: Most of the IDEs and code editors when they match closing brackets they also allow for the closing bracket to be replaced when typed explicitly. I found myself typing double closing brackets and then removing them too often when I realised it was simple enough to implement this new behaviour. It only affects the current behaviour if: If the editor.completion.auto_close prop is true If the input string is a single character The next character in the text area is exactly the same as the input one. The next character is a closing bracket The previous character is the equivalent opening bracket. If all those are true then instead of typing in the character the caret moves to the next position. Closes #6126
Open Graph Description: Most of the IDEs and code editors when they match closing brackets they also allow for the closing bracket to be replaced when typed explicitly. I found myself typing double closing brackets and th...
X Description: Most of the IDEs and code editors when they match closing brackets they also allow for the closing bracket to be replaced when typed explicitly. I found myself typing double closing brackets and th...
Opengraph URL: https://github.com/processing/processing/pull/6124
X: @github
Domain: patch-diff.githubusercontent.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:48d3953b-7bbb-c053-fe26-68a3b976d6ae |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | 94B4:148179:2921C05:377F39F:69707967 |
| html-safe-nonce | c5f9923e5cd35a2cc8502bdbfc99cc7eb7731e27f6a4980a25fe68636386ff89 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NEI0OjE0ODE3OToyOTIxQzA1OjM3N0YzOUY6Njk3MDc5NjciLCJ2aXNpdG9yX2lkIjoiMTk4MjY4NzY0MDExMjEwMTczNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 0d441b82a8a0480692fb2a072fba9ecc5f8e32ede00278cdfc10cd2a82cae62a |
| hovercard-subject-tag | pull_request:527336400 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,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/processing/processing/pull/6124/checks |
| twitter:image | https://avatars.githubusercontent.com/u/40519289?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/40519289?s=400&v=4 |
| og:image:alt | Most of the IDEs and code editors when they match closing brackets they also allow for the closing bracket to be replaced when typed explicitly. I found myself typing double closing brackets and th... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9920a62ba22d06470388e2904804fb7e5ec51c9e35f81784e9191394c74b2bd2 |
| 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 full-width full-width-p-0 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7d6181066430cc06553c8396ca201e194ae33cb9 |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width