phoenix icon indicating copy to clipboard operation
phoenix copied to clipboard

[feat] Drag and Drop File/Folder Opening in Phoenix Code Editor

Open charlypa opened this issue 1 year ago • 3 comments

Feature Request: Drag and Drop File/Folder Opening in Phoenix Code Editor

Problem Description

In the current iteration of the Phoenix Code Editor, opening files such as images and HTML requires navigating through a series of clicks. This process can be cumbersome, particularly for users handling a large number of files or needing to frequently switch between different files and folders. The need for multiple clicks to open files interrupts the workflow and hampers productivity.

Proposed Solution

The introduction of a drag and drop feature for opening files and folders would significantly enhance the user experience in Phoenix Code Editor. This feature would allow users to drag files or folders from their desktop or file explorer and drop them into the Phoenix interface to open them.

Key Features

  • Ease of Use: Enable dragging and dropping of files/folders into a designated area in the Phoenix interface.
  • Multi-File Handling: Allow multiple files to be dragged and dropped simultaneously.
  • Folder Recognition: Support opening all files within a dropped folder or displaying the folder's contents in the file explorer panel.
  • Format Compatibility: Ensure support for common file formats like HTML, CSS, JS, and image files.

Alternatives Considered

  1. Quick-Access Toolbar or Recently Opened Files Section: This could reduce the number of clicks but may not be as efficient as drag and drop.
  2. Keyboard Shortcuts for Opening Files: While this could improve efficiency, it might not be as intuitive for users who prefer a graphical interface and may still be less efficient for handling multiple files.

Additional Context

Implementing drag and drop functionality aligns with modern application standards and user expectations. It is particularly beneficial for web developers and designers who work with various file types and require efficient switching between different files and contexts.

charlypa avatar Dec 06 '23 08:12 charlypa