Choose folders to be ignored during search in VS Code

前端 未结 16 1046
既然无缘
既然无缘 2020-11-28 18:10

Right now when I use +O to search for files, the fuzzy matching appears to operate over all files in the current project. Unfortunately, this includes

16条回答
  •  旧巷少年郎
    2020-11-28 18:19

    The short answer is to comma-separate the folders you want to ignore in "files to exclude".

    1. Start workspace wide search: CTRL+SHIFT+f
    2. Expand the global search with the three-dot button
    3. Enter your search term
    4. As an example, in the files to exclude-input field write babel,concat to exclude the folder "babel" and the folder "concat" in the search (make sure the exclude button is enabled).
    5. Press enter to get the results.

提交回复
热议问题