Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Wildernesss opened this issue Apr 7, 2025 · 1 comment
Open
Labels

Comments

@Wildernesss
Copy link

Wildernesss commented Apr 7, 2025

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.

@Wildernesss Wildernesss added the Bug label Apr 7, 2025
@mattbesancon
Copy link

mattbesancon commented Apr 9, 2025

I believe it comes from the CodeMirror update to version 6 as @raclim explained in previous issue. Are you using v5 of CodeMirror? In the meantime, the issue should be put on hold while waiting for the full implementation of v6.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants