Skip to content

What working directory should be set when a project is closed? #74

@ccordoba12

Description

@ccordoba12
  • At the moment we remove all consoles and create a new one when a project is closed. The question is what should be the cwd of that console.
  • With the changes made in PR PR: Fix syncing IPython console cwd with the Working directory toolbar spyder#19068, that is going to be the user home directory. Should it be a different one? For instance, @dalthviz suggested that we should set the last cwd before the project is opened. However, that could be confusing for users in case they have multiple consoles and they don't remember the cwd of the last one with focus. In that case, they could feel that Spyder is setting a random directory as the new cwd.
  • Another option (discussed before) would be to not remove all consoles when closing a project. In that case, this problem would become inexistent.
  • This emerged from the discussion on PR PR: Fix syncing IPython console cwd with the Working directory toolbar spyder#19068.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions