Closed
Description
p5.js version
v2.11.0
What is your operating system?
Mac OS
Web browser and version
Brave v1.61.109
Actual Behavior
When renaming a file from the side-bar, the blinking text cursor is placed at the end. But in general cases only the file name is to be changed not the extension ( .js
, .html
, .png
, etc).
Currently we have to explicitly, move the cursor back from the end.
Screen.Recording.2024-02-12.at.1.34.27.AM.mov
Expected Behavior
To solve this issue, when renaming we can auto-place the blinking text cursor at the end of the filename, excluding the extension
In addition, we can also have a confirmation when the user tries to change the extension for a file
Steps to reproduce
Steps:
- Visit https://editor.p5js.org/
- Try Renaming a file form the sidebar