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

Restrict quick open file to project files #19762

Closed
nurp opened this issue Feb 2, 2017 · 8 comments
Closed

Restrict quick open file to project files #19762

nurp opened this issue Feb 2, 2017 · 8 comments
Labels
feature-request Request for new features or functionality *out-of-scope Posted issue is not in scope of VS Code quick-pick Quick-pick widget issues search Search widget and operation issues
Milestone

Comments

@nurp
Copy link

nurp commented Feb 2, 2017

  • VSCode Version: 1.9.0
  • OS Version: Windows 10

Steps to Reproduce:

  1. ctrl+p
  2. type index.html

I expect the first result to be the file in the current project folder (because 1. it is in local project, 2. it is the most recently opened, 3. most recently edited).

But it is a file that exist in completely different folder and not in the project. Because of this, I keep editing the wrong file.

@bpasero bpasero added feature-request Request for new features or functionality workbench search Search widget and operation issues labels Feb 3, 2017
@bpasero bpasero removed their assignment Feb 3, 2017
@adambene
Copy link

+1

@shukerullah
Copy link

Any news on this issue?

@aliva
Copy link

aliva commented Apr 22, 2017

This is really annoying to see unrelated files.

@bpasero bpasero removed the workbench label Nov 16, 2017
@jpike88
Copy link

jpike88 commented Dec 6, 2017

This is seriously, SERIOUSLY annoying. I see files in my ~/Downloads folder, ~/Desktop, even when I have a workspace open that doesn't include those folders... how is this not being treated as a priority????

@jpike88
Copy link

jpike88 commented Dec 6, 2017

And this is incorrect labelled. This is not a feature request, it's a bug.

@jpike88
Copy link

jpike88 commented Dec 6, 2017

Running "Clear Editor History" via the command terminal fixed the problem, but that shouldn't be so hard to figure out. Why on earth do I want loads of files popping up in my quick open, if I'm in a particular workspace?

@roblourens
Copy link
Member

The only files that should show up there are files that have been opened in that workspace at some point. Some people want to be able to easily access these, some people don't want them at all. I think one thing that would help is being able to easily remove individual entries without clearing all editor history, e.g. an X icon on each row.

Also see issues here, #27317, #5806 to sort files closer to the current file, and I am pretty sure there is an issue to prioritize files in the current folder which I can't find right now.

@roblourens roblourens added this to the Backlog milestone Oct 27, 2019
@bpasero bpasero added the quick-pick Quick-pick widget issues label Mar 14, 2020
@bpasero bpasero added the *out-of-scope Posted issue is not in scope of VS Code label Nov 3, 2020
@bpasero bpasero closed this as completed Nov 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Request for new features or functionality *out-of-scope Posted issue is not in scope of VS Code quick-pick Quick-pick widget issues search Search widget and operation issues
Projects
None yet
Development

No branches or pull requests

8 participants
@roblourens @aliva @bpasero @shukerullah @adambene @nurp @jpike88 and others