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

"Search Editor" searches .git folder #99216

Closed
bramus opened this issue Jun 3, 2020 · 2 comments
Closed

"Search Editor" searches .git folder #99216

bramus opened this issue Jun 3, 2020 · 2 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug *duplicate Issue identified as a duplicate of another issue(s) search-editor

Comments

@bramus
Copy link

bramus commented Jun 3, 2020

When searching your codebase – either using the Search pane in the sidebar or through a Search Editor – VS Code will ignore some folders, such as the .git folder. However, when opening the search results from the sidebar in a Search Editor, it won't adhere to this behavior.

  • VSCode Version: 1.45.1
  • OS Version: Darwin x64 19.5.0

Steps to Reproduce:

  1. Search for a term using the search in the sidebar
  2. Click on "Open in editor"
  3. In the opened Search Editor search for a new term (or the same term by focussing it and hitting RETURN)

Upon step 2 all goes well. However, upon searching for a new (or the same) term, VS Code will now also search folders such as .git. The screenshot below shows the result of the steps above:

Screenshot 2020-06-03 at 06 51 10

To be complete: When manually opening a Search Editor and searching with the same settings as in the screenshot, it does not search the .git folder.

Does this issue occur when all extensions are disabled?: Yes

@JacksonKearl JacksonKearl self-assigned this Jun 3, 2020
@JacksonKearl JacksonKearl added search-editor bug Issue identified by VS Code Team member as probable bug labels Jun 3, 2020
@JacksonKearl
Copy link
Contributor

\duplicate #97180

@github-actions github-actions bot locked and limited conversation to collaborators Jul 18, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug *duplicate Issue identified as a duplicate of another issue(s) search-editor
Projects
None yet
Development

No branches or pull requests

3 participants
@bramus @JacksonKearl and others