Skip to content

Apply excludes to editor history quick open too #6502

Closed

Description

  • VSCode Version: 1.1.0-alpha
  • OS Version: Windows 10

Related #3615

Steps to Reproduce:

I'm working in the smoke test repo (link)

  1. Use quick open Ctrl+P to open some files in node_modules folder (I just used index.js as it occurs a lot)
  2. Add in settings
"search.exclude": {
    "**/node_modules": true
}
  1. Use Ctrl+P type 'index.js'

The list of recent files still includes files located in /node_modules. I found a previous thread that says using Ctrl+K W will remove them, but excluding them in user settings should also apply to recently opened files without having to use a command to close/remove them.

Activity

  1. changed the title [-]Quick open includes recent files that are excluded in user settings[/-] [+]Apply excludes to editor history quick open too[/+] on May 19, 2016
  2. added
    feature-request
    on May 19, 2016
  3. bpasero commented on May 19, 2016

    @bpasero
    Contributor

    We should apply the excludes to the editor history too.

  4. ChuckJonas commented on Nov 30, 2016

    @ChuckJonas

    +1 on fixing this...

  5. ChuckJonas commented on Jan 17, 2017

    @ChuckJonas

    I was very committed to using VS Code (authored 3 plugins for apex development and contributed to a 4th) but I'm sad to say abandoning it for now...

    This bug killing my productivity (even caused me to introduce a production bug) and there is no viable work around.

    Once you open an search excluded file, it will always seem to pop-up ahead of search included files. Even, if I exclude the file from the project, it still shows up.

  6. bpasero commented on Jan 19, 2017

    @bpasero
    Contributor

    Charlie Jonas (@ChuckJonas) as a workaround there is a command "Clear Editor History" (removes all) and "Remove from Editor History" to remove an individual entry.

  7. Xerillio commented on Oct 14, 2017

    @Xerillio

    Benjamin Pasero (@bpasero) Thanks for the workaround, I just bumped into this issue in v.1.17.1
    I see this issue has been closed, so is there no plan to apply the exclude setting on the history?

  8. locked and limited conversation to collaborators on Nov 17, 2017
  9. added a commit that references this issue on Sep 6, 2026
    bf9bde5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

feature-requestfile-explorer

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions