Skip to content

Add an option to disable closing open files that are removed from the directory #11642

@noedlm

Description

@noedlm
  • VSCode Version: 1.4
  • OS Version: Windows 10

The main scenario here is when the user switches git branches where the starting branch has a file that the branch being switched to does not. What I'm seeing is the file in question is removed from the open editor. I would like for that file to remain open, just unsaved. Similar to how Sublime handles it.

might be similar to issue #101

steps to reproduce:

  • add new file to git branch, leave the file open in the editor
  • switch branches to one that doesn't have the file

expected behavior:
file remains open in editor unsaved.

actual behavior:
file is removed from the editor.

Metadata

Metadata

Assignees

Labels

feature-requestRequest for new features or functionalityfile-explorerExplorer widget issuesverification-neededVerification of issue is requestedverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions