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

GH-1584: Fixed file search in Windows. #1587

Merged
merged 1 commit into from
Apr 1, 2018
Merged

GH-1584: Fixed file search in Windows. #1587

merged 1 commit into from
Apr 1, 2018

Conversation

kittaakos
Copy link
Contributor

@kittaakos kittaakos commented Mar 27, 2018

  • Updated to the most recent vscode-ripgrep version. It fixes the .exe issue on Windows.
  • Fixed the rootPath.
  • Replaced it with a URI, so that backend can resolve it.
  • Enabled the search service tests. Set the failing Git ignored test to pending.
  • Got rid of the obsolete type definitions.

Closes #1584

Signed-off-by: Akos Kitta kittaakos@gmail.com

@simark
Copy link
Contributor

simark commented Mar 27, 2018

LGTM for the search-in-workspace part.

@kittaakos
Copy link
Contributor Author

I have fixed the .exe issue in vscode-ripgrep, and updated to the latest version. It works, but strangely, the UI looks different on OS X and on Windows when searing for files:

Windows:
screen shot 2018-03-27 at 18 43 09

OS X:
screen shot 2018-03-27 at 18 42 59

I will check in the context of this PR, what's going on.

@kittaakos
Copy link
Contributor Author

Also, as one can see, we use the (encoded) URI segments instead of the FS path, that's why it shows %40phosphor instead of @phosphor.

@kittaakos
Copy link
Contributor Author

I have opened a follow-up for the UI issues: #1591.
I would consider this PR ready for review.

CC: @svenefftinge

 - Updated to the most recent `vscode-ripgrep` version. It fixes the `.exe` issue on Windows.
 - Fixed the `rootPath`.
 - Replaced it with a URI, so that backend can resolve it.
 - Enabled the search service tests. Set the failing Git ignored test to pending.
 - Got rid of the obsolete type definitions.

Closes #1584

Signed-off-by: Akos Kitta <kittaakos@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[windows] Workspace search is broken
3 participants