Skip to content
This repository was archived by the owner on Jun 25, 2020. It is now read-only.
This repository was archived by the owner on Jun 25, 2020. It is now read-only.

close all open files when loading a new folder / project #360

Open

Description

@underdoeg

I just wrote into the wrong main.cpp because I didn't realize that it was the file from the older project and not the new one

Activity

  1. eidheim commented on Feb 5, 2018

    @eidheim
    Member

    Thank you again, but we try to keep automatic intrusive actions such as closing open files down to a minimum.

  2. zalox commented on Feb 6, 2018

    @zalox
    Member

    Hi, @eidheim!

    I have also encountered this use case. I would suggest that we add the subdirectory name to open files with the same name:

    // as it is right now:
    main.cxx
    main.cxx
    // suggestion:
    project/src/main.cxx
    projectX/src/main.cxx
    // or even:
    project/../main.cxx
    projectX/../main.cxx
  3. eidheim commented on Feb 6, 2018

    @eidheim
    Member

    Good idea @zalox , this would definitely be an improvement

  4. zalox commented on Feb 7, 2018

    @zalox
    Member

    I'll try to implement this tonight.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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