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

quickopen and search command doesn't work #40884

Closed
shunjinchan opened this issue Dec 28, 2017 · 6 comments
Closed

quickopen and search command doesn't work #40884

shunjinchan opened this issue Dec 28, 2017 · 6 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug search Search widget and operation issues verified Verification succeeded
Milestone

Comments

@shunjinchan
Copy link

  • VSCode Version: 1.19.1
  • OS Version: macOS High Sierra

Steps to Reproduce:

  1. cmd + p, type filename.**
  2. cannot find filename.** in ./src and ./dest

  • Reproduces with extensions: Yes
  • Reproduces without extensions: Yes

search.action.focusActiveEditor had the same problem. But they were working normally on the vscode 1.18.1

@vscodebot vscodebot bot added the search Search widget and operation issues label Dec 28, 2017
@roblourens
Copy link
Member

Do you have any file.exclude or search.exclude settings that could impact this? Can you run a search that should find a result in that config.js, and show the output of the search output pane?

image

@shunjinchan
Copy link
Author

@roblourens


./src and ./dest folders are not exclude.

Search modules/site-info

Search modules/site-info with ./src, 5 modules/site-info were found

I think search modules/site-info in project root path, 1 modules/site-info was found because ./src/core/config.js was open. It's really weird.

My English is very poor, hope you can understand it. 😂

@shunjinchan
Copy link
Author

@roblourens

I found another strange problem, use the same workspace settings, quickopen and search.action.focusActiveEditor work normally. Maybe this is the problem of my project, not the bug of vscode.

@shunjinchan
Copy link
Author

shunjinchan commented Dec 28, 2017

@roblourens

I found the cause of this problem.

The project (A) is the submodule of another project (B), and the .gitignore file of B project had /static/src and /static/dest configuration. so vscode exclude these two folders.

Delete /static/src and /static/dest, quickopen and search.action.focusActiveEditor work normally.

@roblourens
Copy link
Member

roblourens commented Dec 28, 2017

Thanks for the investigation - you can also set "search.useIgnoreFiles": false to disable using gitignore files.

What was your problem with search.action.focusActiveEditor? I don't understand that part.

@roblourens
Copy link
Member

I think it's confusing to use .gitignore files from parent directories... I will push a fix to not do that.

@roblourens roblourens added the bug Issue identified by VS Code Team member as probable bug label Dec 28, 2017
@roblourens roblourens added this to the December 2017/January 2018 milestone Dec 28, 2017
roblourens added a commit that referenced this issue Dec 28, 2017
@rebornix rebornix added the verified Verification succeeded label Feb 2, 2018
@vscodebot vscodebot bot locked and limited conversation to collaborators Feb 11, 2018
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 search Search widget and operation issues verified Verification succeeded
Projects
None yet
Development

No branches or pull requests

3 participants