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

feat: add a find in files API to Project #143

Merged
merged 1 commit into from
Aug 21, 2024

Conversation

smnppKDAB
Copy link
Collaborator

@smnppKDAB smnppKDAB commented Aug 7, 2024

The methode return a list of document + position of the find items.
The method uses ripgrep (rg) for searching, which must be installed and accessible in PATH.
The pattern parameter should be a valid regular expression.
Fixes #21

@smnppKDAB smnppKDAB requested a review from dfaure-kdab August 7, 2024 13:50
@smnppKDAB smnppKDAB force-pushed the sperret-findInFile branch from 2aa57db to 911d9d9 Compare August 7, 2024 15:57
@smnppKDAB smnppKDAB requested a review from dfaure-kdab August 7, 2024 15:58
@smnppKDAB smnppKDAB force-pushed the sperret-findInFile branch 3 times, most recently from 66fecd4 to 5f37628 Compare August 7, 2024 16:26
@smnppKDAB smnppKDAB force-pushed the sperret-findInFile branch from 5f37628 to 0800c1c Compare August 8, 2024 08:33
@smnppKDAB smnppKDAB requested a review from dfaure-kdab August 8, 2024 08:33
@smnppKDAB smnppKDAB force-pushed the sperret-findInFile branch from 0800c1c to 39569de Compare August 8, 2024 11:26
@smnppKDAB smnppKDAB requested a review from dfaure-kdab August 8, 2024 11:26
@smnppKDAB smnppKDAB force-pushed the sperret-findInFile branch from 39569de to cb1d611 Compare August 8, 2024 14:09
@smnppKDAB smnppKDAB force-pushed the sperret-findInFile branch from cb1d611 to 7b1d813 Compare August 9, 2024 12:19
@smnppKDAB smnppKDAB requested a review from dfaure-kdab August 9, 2024 12:20
dfaure-kdab
dfaure-kdab previously approved these changes Aug 9, 2024
@smnppKDAB smnppKDAB force-pushed the sperret-findInFile branch 2 times, most recently from 10ea426 to e36bbd9 Compare August 9, 2024 14:38
@smnppKDAB smnppKDAB force-pushed the sperret-findInFile branch 2 times, most recently from 85b19f8 to 014aac7 Compare August 20, 2024 12:56
@smnppKDAB smnppKDAB requested a review from narnaud August 20, 2024 12:57
narnaud
narnaud previously approved these changes Aug 20, 2024
The API return a list of document + position of the find items.
The method uses ripgrep (rg) for searching, which must be installed and accessible in PATH.
The `pattern` parameter should be a valid regular expression.
Fixes KDAB#21
@dfaure-kdab dfaure-kdab merged commit 6041dbf into KDAB:main Aug 21, 2024
5 checks passed
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.

Add a find in files API to Project
3 participants