Skip to content

Open file command ignores exclude filters #3615

Closed

Description

When opening a file Ctrl+E command the suggestions show files that are explicitly excluded by the settings. I tried both files.exclude and search.exclude but I still get the wrong hits.

Activity

  1. bpasero commented on Mar 2, 2016

    @bpasero
    Contributor

    Honza Rameš (@shadow-cs) are those in the "files and symbols" category or "recently opened"?

  2. added
    info-needed
    on Mar 2, 2016
  3. shadow-cs commented on Mar 11, 2016

    @shadow-cs
    Author

    Files and symbols category.
    Sorry about the delay...

  4. bpasero commented on Mar 11, 2016

    @bpasero
    Contributor
  5. serkanyersen commented on Aug 4, 2016

    @serkanyersen

    I'm having the same problem. I have dist folder which specifically ignored in the search and files. but files under this folder still shows up on quick open.

    // Place your settings in this file to overwrite default and user settings.
    {
        "files.trimTrailingWhitespace": true,
        "search.exclude": {
            "**/node_modules": true,
            "**/bower_components": true,
            "**/dist": true,
            "**/typings": true
        },
        "files.exclude": {
            "**/.git": true,
            "**/.svn": true,
            "**/.DS_Store": true,
            "**/dist": true
        }
    }

    screen shot 2016-08-03 at 17 04 59

    Restarting the editor does not help.

    I think this happens because of the recently opened thing. If I can clear that list it might help. how do you clear recently opened list?

  6. bpasero commented on Aug 6, 2016

    @bpasero
    Contributor

    There is a command: "Clear Editor History"

  7. locked and limited conversation to collaborators on Nov 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

info-needed

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions