Skip to content

Issue with Acode Text Editor's File Management Behavior #1173

Closed as not planned
@HeH-DG

Description

@HeH-DG

Issue with Acode Text Editor's File Management Behavior

I'm experiencing an issue with the Acode text editor regarding its file management behavior. While Acode supports multi-tab functionality and allows opening multiple files simultaneously, there's a significant workflow problem when creating new files.

The Issue:
When attempting to create a new file, Acode forces me to save it immediately before I can even start editing. This behavior differs from standard text editors, which typically:

  1. Allow creating new, unsaved files without immediate save prompts
  2. Don't show any prompts when closing an empty, unmodified file
  3. Only prompt to save when closing a file that contains modifications

The Current Behavior:

  • Forces immediate file saving when creating a new file
  • Requires file path and name before allowing any editing
  • No option for temporary/unsaved files

Expected Behavior (Based on Standard Text Editors):

  • Allow creation of new, unsaved files
  • Only prompt for saving if the file contains modifications
  • Provide the option to close unmodified files without prompts
  • Show save/discard prompts only when closing modified files

Use Case Example:
While working on a programming project, I often need to create temporary files for testing code snippets or making quick notes. With the current behavior, I'm forced to save these temporary files, leading to an accumulation of unnecessary files in my workspace. This is both impractical and counterintuitive to standard coding workflows.

Request:
Is there a way to modify this behavior to align with standard text editor functionality? The current forced-save approach significantly hampers productivity and creates unnecessary file management overhead.

This issue needs addressing as it affects the basic workflow of the editor and creates unnecessary friction in the development process.

If applicable, add mockups / screenshots to help present your vision of the feature

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions