-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
[Plug-in] workspace.findFiles not working as expected #4323
Comments
@evidolob : Is that something your team can take care off? |
Thanks @slemeur . I see it's been already implemented #3128 by @vparfonov but am experiencing above. |
Guys, any update on this thread. Thanks!! |
@invincibleJai I will take a look |
@vparfonov thanks and for testing https://github.com/redhat-developer/vscode-openshift-tools/wiki/Testing Will the changes be available there? |
@invincibleJai Yes, if you run in with "next" it should be available |
thanks @vparfonov, I tried on |
@invincibleJai Can, you, please build it from source and check again. Also can you share plugin what you try? Thanks |
@vparfonov am trying on https://marketplace.visualstudio.com/items?itemName=redhat.fabric8-analytics Can you pls help with some doc to build from src, i tried some time back but couldn't PS: it's using |
@vparfonov need your help, have tried with latest
but now even for this am getting an empty list. It'll be really nice if you can verify once. |
@vparfonov it's working even with |
Find files across all workspace folders in the workspace. https://code.visualstudio.com/api/references/vscode-api#workspace.findFiles
vscode.workspace.findFiles(include: GlobPattern, exclude?: GlobPattern | null, maxResults?: number, token?: CancellationToken): Thenable<Uri[]>
sample -
findFiles('package.json', '**/node_modules/**', 10)
It's listing all occurrences of
package.json
even one insidenode_modules
which should be excluded and even this parameter count has no effect.Currently, even relative pattern is not working as expected i.e
it returns empty
[]
The text was updated successfully, but these errors were encountered: