processing / processing/p5.js-web-editor
P5js editor unindenting code with TAB + SHIFT doesn't work anymore
Nobody has claimed this yet.
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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