Skip to content

Implement Shortcut for Creating New Folder #3376

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
takshittt opened this issue Mar 8, 2025 · 4 comments
Open

Implement Shortcut for Creating New Folder #3376

takshittt opened this issue Mar 8, 2025 · 4 comments
Labels
Feature Request Proposal for adding a new functionality Needs Discussion Requires further conversation or consensus

Comments

@takshittt
Copy link
Contributor

Increasing Access

Description: Currently, users must manually click a button or use a menu option to create a new folder in the application. To improve usability and efficiency, I propose adding a keyboard shortcut for this functionality.

Feature request details

Proposed Solution:

  • Add a keyboard shortcut(eg. cmd/ctrl +shift+N) to create a new folder.
  • Ensure the shortcut is clearly documented in the application's help or settings menu.

Accessibility Considerations:

  • Ensure the shortcut does not conflict with existing browser or system shortcuts.
@takshittt takshittt added the Feature Request Proposal for adding a new functionality label Mar 8, 2025
Copy link

welcome bot commented Mar 8, 2025

Welcome! 👋 Thanks for opening your first issue here! And to ensure the community is able to respond to your issue, be sure to follow the issue template if you haven't already.

@raclim raclim added the Needs Discussion Requires further conversation or consensus label Mar 10, 2025
@raclim
Copy link
Collaborator

raclim commented Mar 10, 2025

Thanks for opening this @takshittt!

I also mentioned this in #3383, but adding my thoughts here as well:

Before implementing this, I think we might need to take a step back to discuss and reach a communal consensus on what the specific shortcut key should be, ensure that it makes sense across different operating systems, won't conflict with and is easy to use relative to other keys on the editor, and also check if it's commonly used keys on other platforms as well.

I think the key that you're proposing here is already being used for 'New File', so I think we might want some discussion first on what this key should be.

@Jatin24062005
Copy link
Contributor

Jatin24062005 commented Mar 10, 2025

@takshittt @raclim maybe We can use 'cmd/ctrl +shift+N' to create folder because
1.This shortcut is already widely used in Windows and macOS to create new folders, making it intuitive for users.
2.Users won’t have to memorize a new shortcut, as many are already familiar with this combination.
3.Also the issue already suggest the same.
What are your thoughts on this?

@takshittt
Copy link
Contributor Author

I propose assigning the shortcut Alt+Shift+N on Windows/Linux and Option+Shift+N on macOS for the "New Folder" action in the p5.js Web Editor.

  1. This key combination is intuitive, easy to remember, and avoids conflicts with existing shortcuts used by the editor or browsers—such as 'Ctrl/Cmd+N' for creating a new sketch file and 'Ctrl/Cmd+Shift+N' for opening a new private browser window.
  2. Additionally, this shortcut aligns with conventions in other development environments (e.g., Eclipse uses it for "New Resource"), making it familiar to users with prior coding experience.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Request Proposal for adding a new functionality Needs Discussion Requires further conversation or consensus
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants