René's URL Explorer Experiment


Title: Add Shortcut for Moving Selected Lines Up and Down (Line Swapping) · Issue #953 · processing/processing4 · GitHub

Open Graph Title: Add Shortcut for Moving Selected Lines Up and Down (Line Swapping) · Issue #953 · processing/processing4

X Title: Add Shortcut for Moving Selected Lines Up and Down (Line Swapping) · Issue #953 · processing/processing4

Description: Relevant sub-area for this feature? PDE Feature description While investigating the codebase to fix issue #950, I stumbled upon some commented implementations of Keyboard Shortcuts in the old repository. This feature specifically involve...

Open Graph Description: Relevant sub-area for this feature? PDE Feature description While investigating the codebase to fix issue #950, I stumbled upon some commented implementations of Keyboard Shortcuts in the old repos...

X Description: Relevant sub-area for this feature? PDE Feature description While investigating the codebase to fix issue #950, I stumbled upon some commented implementations of Keyboard Shortcuts in the old repos...

Opengraph URL: https://github.com/processing/processing4/issues/953

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Add Shortcut for Moving Selected Lines Up and Down (Line Swapping)","articleBody":"### Relevant sub-area for this feature?\n\nPDE\n\n## Feature description\n\n\nWhile investigating the codebase to fix issue #950, I stumbled upon some commented implementations of Keyboard Shortcuts in the [old repository](https://github.com/processing/processing/blob/master/app/src/processing/app/ui/Editor.java). This feature specifically involves allowing the user to move selected lines up and down the editor (essentially swapping lines) using the `Alt + ↑ / ↓` shortcut for Windows/Linux Systems **or** `⌥ + ↑ / ↓` for macOS Systems. Currently, Processing 4 does not include a keyboard shortcut for moving selected lines up or down. This feature is available in older versions but has been omitted in the newer repo. Implementing this functionality can improve user productivity and align Processing 4 with commonly used IDE features.\n\n## Benefits\n\n### According to the [Processing.org](https://processing.org) website: \n\u003eOn August 9th 2021, we celebrated the twentieth anniversary of the first Processing software release. Through this time, **we’ve promoted software literacy, particularly within the visual arts, and visual literacy within technology. Initially created to serve as a software sketchbook and to teach programming fundamentals within a visual context, Processing has also evolved into a development tool for professionals.**\n\nIn my opinion, if we are promoting software and visual literacy within technology and targeting professionals alike, it makes perfect sense to add Keyboard Shortcuts and be more inclusive of all groups. Whether it's a student in school still learning programming or someone working in a professional environment.  \n\nThis helps us: \n\n- Align Processing 4 with industry-standard IDE behavior.\n- Improve user workflow by allowing faster navigation and editing of code.\n- Increase overall usability for those used to working with shortcuts as well as people who are still learning shortcuts.\n\n## Possible challenges\n\n### I am to investigate this issue further, but leaving the code in the legacy version commented gives me the hint that the previous implementation caused some errors (and I hope to be wrong), although I didn't find anything about it in previous issues or discussions. In all cases, I suggest rewriting the implementation to match the currently implemented Keyboard Shortcuts in the new Processing release to keep everything consistent.\n\n\u003e[!NOTE]\n\u003e As of Now, I haven't seen any issues with my Draft Implementation of the feature. I will be testing it more intensively.\n\n## Additional context\n\n### Here is the current IntelliJ Implementation of this Keyboard Shortcut\n\nhttps://github.com/user-attachments/assets/f5cc14a0-ff08-4e1d-b074-27149af67889\n\n### Here is a Draft of how the feature is supposed to look like in Processing\n\nhttps://github.com/user-attachments/assets/b76f295a-8142-4de9-81c9-9f5fe3ca6e4d\n\n## References\n\nLegacy implementation in the old processing repository [here](https://github.com/processing/processing/blob/master/app/src/processing/app/ui/Editor.java).\n\nMore specifically, the `handleMoveLines(boolean moveUp)` method as well as the method calls in the ActionListener.\n\n\u003e[!NOTE]\n\u003e This feature may introduce additional Multi-Line features, the implementation of a Line Duplicate Keyboard Shortcut and so on..\n\n\n### Would you like to work on the issue?\n\nYes, I would like to work on this issue.\n\n---","author":{"url":"https://github.com/yehiarasheed","@type":"Person","name":"yehiarasheed"},"datePublished":"2025-03-05T19:55:51.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":5},"url":"https://github.com/953/processing4/issues/953"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:0a74ac52-87aa-0a1e-c520-43eb897d9ec1
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idB2C4:22EDB8:1C5159A:258EBDC:696AF883
html-safe-noncec268fc5c46324ab6f79b24eb9fa97ca2018aff33bd47faea38ccddb5b50f03b2
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMkM0OjIyRURCODoxQzUxNTlBOjI1OEVCREM6Njk2QUY4ODMiLCJ2aXNpdG9yX2lkIjoiNzI1NTM4MjY5NzQ5MDE4NDMyMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac7beb2ebecc69a0d2a0fc16f1dfe0db731e2cf68ce5716dc1a6054d7a86cab353
hovercard-subject-tagissue:2898332085
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/processing/processing4/953/issue_layout
twitter:imagehttps://opengraph.githubassets.com/78114a461cd4a29b5a7decfab282701df400b0e2b7bc1ee5fb41ef810c32c8d4/processing/processing4/issues/953
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/78114a461cd4a29b5a7decfab282701df400b0e2b7bc1ee5fb41ef810c32c8d4/processing/processing4/issues/953
og:image:altRelevant sub-area for this feature? PDE Feature description While investigating the codebase to fix issue #950, I stumbled upon some commented implementations of Keyboard Shortcuts in the old repos...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameyehiarasheed
hostnamegithub.com
expected-hostnamegithub.com
None5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d
turbo-cache-controlno-preview
go-importgithub.com/processing/processing4 git https://github.com/processing/processing4.git
octolytics-dimension-user_id1617169
octolytics-dimension-user_loginprocessing
octolytics-dimension-repository_id844382769
octolytics-dimension-repository_nwoprocessing/processing4
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id844382769
octolytics-dimension-repository_network_root_nwoprocessing/processing4
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release82560a55c6b2054555076f46e683151ee28a19bc
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/processing/processing4/issues/953#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fprocessing%2Fprocessing4%2Fissues%2F953
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fprocessing%2Fprocessing4%2Fissues%2F953
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=processing%2Fprocessing4
Reloadhttps://github.com/processing/processing4/issues/953
Reloadhttps://github.com/processing/processing4/issues/953
Reloadhttps://github.com/processing/processing4/issues/953
processing https://github.com/processing
processing4https://github.com/processing/processing4
Please reload this pagehttps://github.com/processing/processing4/issues/953
Notifications https://github.com/login?return_to=%2Fprocessing%2Fprocessing4
Fork 126 https://github.com/login?return_to=%2Fprocessing%2Fprocessing4
Star 311 https://github.com/login?return_to=%2Fprocessing%2Fprocessing4
Code https://github.com/processing/processing4
Issues 221 https://github.com/processing/processing4/issues
Pull requests 35 https://github.com/processing/processing4/pulls
Actions https://github.com/processing/processing4/actions
Projects 2 https://github.com/processing/processing4/projects
Wiki https://github.com/processing/processing4/wiki
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/processing/processing4/security
Please reload this pagehttps://github.com/processing/processing4/issues/953
Insights https://github.com/processing/processing4/pulse
Code https://github.com/processing/processing4
Issues https://github.com/processing/processing4/issues
Pull requests https://github.com/processing/processing4/pulls
Actions https://github.com/processing/processing4/actions
Projects https://github.com/processing/processing4/projects
Wiki https://github.com/processing/processing4/wiki
Security https://github.com/processing/processing4/security
Insights https://github.com/processing/processing4/pulse
New issuehttps://github.com/login?return_to=https://github.com/processing/processing4/issues/953
New issuehttps://github.com/login?return_to=https://github.com/processing/processing4/issues/953
Featurehttps://github.com/processing/processing4/issues?q=type:"Feature"
Add Shortcut for Moving Selected Lines Up and Down (Line Swapping)https://github.com/processing/processing4/issues/953#top
https://github.com/yehiarasheed
https://github.com/yehiarasheed
yehiarasheedhttps://github.com/yehiarasheed
on Mar 5, 2025https://github.com/processing/processing4/issues/953#issue-2898332085
#950https://github.com/processing/processing4/issues/950
old repositoryhttps://github.com/processing/processing/blob/master/app/src/processing/app/ui/Editor.java
Processing.orghttps://processing.org
herehttps://github.com/processing/processing/blob/master/app/src/processing/app/ui/Editor.java
Featurehttps://github.com/processing/processing4/issues?q=type:"Feature"
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.