processing / processing/p5.js-web-editor

Add "Move Lines" Feature to p5.js Web Editor

Open
#3,393 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Feature Request On Hold
Dominant language
JavaScript
Stars
1.7k
Forks
1.7k
Avg merge
3d 4h
Merged PRs (30d)
8

Description

Increasing Access

This feature enhances accessibility and usability by allowing users to move lines up or down using a shortcut, similar to modern code editors (eg., IntelliJ, VSCode and Processing 4) . It streamlines the editing experience, making it easier for users—especially beginners and those using keyboards for navigation—to organize their code efficiently.

Feature request details

I previously implemented this feature in the Processing 4 repository (PR #964), where it was approved. I'd like to port same functionality to the p5.js Web Editor to ensure consistency across Processing-related projects and improve the user experience.

Additionally, if this feature is added, I’d be happy to contribute documentation to ensure users can easily discover and use it.

I'm also interested in contributing to the p5.js Web Editor for Google Summer of Code 2025, and this would be a great opportunity to get familiar with the codebase while making meaningful improvements. Looking forward to feedback!

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the p5.js Web Editor's code editor and keyboard-shortcut handling, then compare the intended behavior with Processing 4 PR #964. The work is done when users can move selected lines up or down with a shortcut and the behavior is documented for discovery.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend, web-dev
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.