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/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:ac552a66-5f8b-3041-5599-553969b610b4 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 96A0:16695D:194380D:2374031:696F527F |
| html-safe-nonce | 09fe6d90443d2864e9773222d28dce0ad169e18f7571bfb41a0c02e44d142c77 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NkEwOjE2Njk1RDoxOTQzODBEOjIzNzQwMzE6Njk2RjUyN0YiLCJ2aXNpdG9yX2lkIjoiMjM1NzI2MDkzNzgxNjEzNDI3MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 962493e3475341be08e2cb3aa8a2c1f3f9cafb90b3d31cb8aced7a6203c89ca0 |
| hovercard-subject-tag | pull_request:527336400 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,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/files |
| 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 | 49bb2ee76ae1b4ec758faefafda636ff20b05a9708bb290d28422cdf542ae979 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 036f37fe552777ac9c6ee661957f947285aab936 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width