processing / processing/p5.js-web-editor

P5js editor unindenting code with TAB + SHIFT doesn't work anymore

Open
#3,440 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Area:Editor Bug On Hold
Dominant language
JavaScript
Stars
1.7k
Forks
1.7k
Avg merge
3d 4h
Merged PRs (30d)
8

Description

p5.js version

No response

What is your operating system?

Windows

Web browser and version

Chrome 134.0.6998.179 (official build) (64 bits) and Edge Version 135.0.3179.54 (official build) (64 bits)

Actual Behavior

Hi everybody,

Common and universal shortcut keys TAB + SHIFT to unindent code is no more working in editor.p5js.org editor. TAB shortcut for indentation is still working. Any ideas? Does an update cause this issue? Or could the origin of this problem be found in web browser (in this case Chrome).

Thanks a lot for your precious help!

Laurent

Expected Behavior

Unindent code lines with TAB + SHIFT keys

Steps to reproduce

Just go into editor.p5js.org, add code, indent it with TAB key and then unindent with TAB + SHIFT key.

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 reproducing the shortcut in editor.p5js.org using the stated Chrome or Edge versions, then trace the editor's keyboard handling for TAB and SHIFT+TAB. Done means TAB still indents selected code and SHIFT+TAB reliably unindents it.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.