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 does not take *.txt documents that are not opened #44921

Closed
oliviermilla opened this issue Mar 2, 2018 · 3 comments
Closed

Search does not take *.txt documents that are not opened #44921

oliviermilla opened this issue Mar 2, 2018 · 3 comments
Assignees
Labels
*duplicate Issue identified as a duplicate of another issue(s) search Search widget and operation issues

Comments

@oliviermilla
Copy link

  • VSCode Version: 1.20.1
  • OS Version: Windows 10 Professionel 10.0.16299

Steps to Reproduce:

  1. Open a folder with only text files
    image

  2. Go to search Tab and search for a string. Nothing shows up.
    image

  3. Now open a file from the folder and search for the same string. Now results show up.
    image

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

@vscodebot
Copy link

vscodebot bot commented Mar 2, 2018

(Experimental duplicate detection)
Thanks for submitting this issue. Please also check if it is already covered by an existing one, like:

@vscodebot vscodebot bot added the search Search widget and operation issues label Mar 2, 2018
@oliviermilla
Copy link
Author

I found the issue. It seems that if the folder is synced with OneDrive, vscode deosn't get access to the folder and hence cannot search of anything. If I move the folder to another directory, things work as expected.

An error for not being able to access the folder would be nice. :) Cheers and sorry for the noise.

@roblourens
Copy link
Member

#35433 - will be fixed in the release later this week.

@roblourens roblourens added the *duplicate Issue identified as a duplicate of another issue(s) label Mar 6, 2018
@vscodebot vscodebot bot locked and limited conversation to collaborators Apr 16, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*duplicate Issue identified as a duplicate of another issue(s) search Search widget and operation issues
Projects
None yet
Development

No branches or pull requests

2 participants