Skip to content

lukas-adrian/FindInFiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About the Project

A small and fast tool to find a search term in text, pdf or Microsoft Office files. Created with Rider/Visual Studio and .NET 8

main.png

To avoid for example to open big files in the preview window or search just for a limited range of files I added some settings:

settings.png

Download

Just download the zip file and extract it somewhere. There is no setup file.

Download (latest version): [https://github.com/lukas-adrian/FindInFiles/releases/download/2025.05.26.12/FindInFiles-2025.05.26.12.zip)

Additional libraries

All libraries links are listed in the plugin folders in the README

PlugIns Example

See: FindInFiles.PlugIns

To create some plugin just reference PlugInBase and inherit from ISearchInFolderPlugIn. You can use my plugIn SearchInTextFilesKMP as a template

  public Task<List<FileSearchEventArgs>> SearchInFolder(
     List<String> lstAllFiles,
     String searchTerm,
     bool matchCase,
     bool wholeWord,
     IProgress<Int32> progress,
     CancellationToken cancellationToken);
  • path, is the folder path where you will search for the files
  • extension, extension of the files. Just one extension because in the application is a loop for multiple extensions
  • searchTerm, some text
  • searchTerm, some search term
  • matchCase, match case only
  • progress, is for the waiting bar
  • cancellationToken, for cancelling

Ideas/ToDo's

  • (todo) add more PlugIns like PDF, Office Documents, etc
  • (idea) export of the results (csv, txt, clipboard, etc. no ideas yet)
  • (idea) treeview, add some columns for filesize and amount of results
  • (idea) Tabs (I don't like that idea anymore)
  • (todo) change the design like files in a different color, dark theme, etc
  • (todo) add optional page number and not only row number for PDFs
  • (todo) expand the tree is too slow if there are a lot of nodes
  • (todo) searching in multiple folder. Still not sure if I will add multiple folder as a group into the history or each?
  • (todo) PlugIns including PreViewWindow like TextFiles + TextPreViewWindow, PDF + PDF PreViewWindow
  • (idea) optional profiles for the history (Every Profile has a different history?). Not sure about that idea

License

This project is licensed under the MIT License. See the LICENSE file for more details.

About

Tool to find text in text files

Resources

License

Stars

Watchers

Forks

Packages

No packages published