Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open in new editor problem #2625

Closed
trstringer opened this issue Feb 1, 2016 · 2 comments
Closed

Open in new editor problem #2625

trstringer opened this issue Feb 1, 2016 · 2 comments
Assignees
Labels
ux User experience issues

Comments

@trstringer
Copy link
Contributor

Here's the repro of the problem:

  1. Open up a workspace/folder in VS Code that contains 3+ files

  2. Open up file1 in a new editor

  3. Hold CTRL while opening file2, which opens it in a new editor

    Current state: two editors open, and the cursor is on the left editor

  4. Hold down CTRL while opening file3

What this does, instead of creating a third editor and having file3 open in this new editor (with file1 and file2 already opened in their respective editor), it opens file3 in the second editor where file2 was previously living, and therefore replacing file2 in this second editor.

I believe a better behavior would be for file3 to open up in a new editor, no matter which editor the current cursor/focus is on. The end state here should have been all three editors open with each file in the open editors.

@bpasero bpasero added the ux User experience issues label Feb 2, 2016
@bpasero bpasero assigned stevencl and unassigned bpasero Feb 2, 2016
@bpasero
Copy link
Member

bpasero commented Feb 2, 2016

This behavior is intentional because we do not want to move focus to the second editor when you press Ctrl key. This allows to use the side editor as an assistant to the main editor without having to manage focus all the time.

@stevencl
Copy link
Member

stevencl commented Feb 2, 2016

Yes, this is one of the ways we try to avoid proliferating open files. I've referenced this issue from the main workspace management task that we will work on soon.

@stevencl stevencl closed this as completed Feb 2, 2016
@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
ux User experience issues
Projects
None yet
Development

No branches or pull requests

3 participants