Skip to content
This repository has been archived by the owner on Mar 3, 2023. It is now read-only.

Add a directory searcher that uses ripgrep as the backend #19348

Merged
merged 14 commits into from
May 23, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 21 additions & 19 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@
"tree-view": "https://www.atom.io/api/packages/tree-view/versions/0.228.0/tarball",
"typescript-simple": "1.0.0",
"update-package-dependencies": "https://www.atom.io/api/packages/update-package-dependencies/versions/0.13.1/tarball",
"vscode-ripgrep": "^1.2.5",
"welcome": "https://www.atom.io/api/packages/welcome/versions/0.36.9/tarball",
"whitespace": "https://www.atom.io/api/packages/whitespace/versions/0.37.7/tarball",
"winreg": "^1.2.1",
Expand Down
1 change: 1 addition & 0 deletions script/lib/generate-startup-snapshot.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ module.exports = function (packagedAppPath) {
requiredModuleRelativePath === path.join('..', 'node_modules', 'yauzl', 'index.js') ||
requiredModuleRelativePath === path.join('..', 'node_modules', 'winreg', 'lib', 'registry.js') ||
requiredModuleRelativePath === path.join('..', 'node_modules', '@atom', 'fuzzy-native', 'lib', 'main.js') ||
requiredModuleRelativePath === path.join('..', 'node_modules', 'vscode-ripgrep', 'lib', 'index.js') ||
// The startup-time script is used by both the renderer and the main process and having it in the
// snapshot causes issues.
requiredModuleRelativePath === path.join('..', 'src', 'startup-time.js')
Expand Down
19 changes: 19 additions & 0 deletions spec/fixtures/dir/c
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
line 1
line 2
line 3
line 4
line 5
result 1
line 6
line 7
line 8
line 9
line 10
result 2
result 3
line 11
line 12
result 4
line 13
line 14
line 15
7 changes: 7 additions & 0 deletions spec/fixtures/dir/file-with-newline-literal
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
newline1
newline2
newline3
first
second\nthird
newline4
newline5
1 change: 1 addition & 0 deletions spec/fixtures/dir/file-with-unicode
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ДДДДДДДДДДДДДДДДДД line with unicode
Loading