Skip to content

Recursive search for AutoHotkey code on your hard drive modified for easier handling and for more informations

Notifications You must be signed in to change notification settings

Ixiko/AHK-CodeSearch

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CodeSearchLogo

Original code from fishgeek / modified last on 29.08.2023 (V1.5alpha) from Ixiko

Original text from fischgeek's repository

Remember that bit of code you wrote, but can't remember exactly where you wrote it?
Try using this tool to target a directory and search for a keyword inside of your code files.

AHK-CodeSearch I have made for [AHK-libs-and-classes-collection]

modified original AHK-CodeSearch Screenshot - Ixiko

I haven’t yet to find anything better for finding program code on my computers than Fishgeek's codesearch program. Other programs certainly achieve greater speed, but the foundation Fishgeek has laid and the ease with which further code highlighting can be integrated are unique. The nicest thing is how few resources an AHK script consumes in contrast to e.g. Python, and just copying the entire Codesearch directory is enough to run the code on any other client.

You still find bugs? Do you think there is still room for improvement? Then you are more than right!

VERSION HISTORY

V1.5 (alpha)

I have made a lot of changes. Not all functions are adapted to the changes, so there is still some work to be done before this version is fully functional.

  • You can enter a list of directories in which to search. The script determines the file endings contained in each directory. This allows you to include or exclude certain directories for the search to speed up the search.
  • all directories are checked for their existence before they are taken over
  • Highlighting for Python and Ruby language and .ini files added
  • additional file types can be entered and will included in search
  • your checked filetypes will be saved at gui close, as well as the directory list

V1.45

  • Displaying line numbers
  • The gui colours have been adapted to the codestyle
  • Fixed incorrect behaviour when resizing the Treeview and RichCode controls

V1.44

  • Search in files and/or file names
  • Added an RichCode (/Edit)-Control to show your found code highlighted
  • class_RichCode.ahk got additional functions
  • Removed the ListView for a TreeView control
  • Click on a sub-item in TreeView and it scrolls into view!
  • Add a context menu to the TreeView control with the options to Edit, Execute and Open Script Folder
  • The width of TreeView and RichEdit-Control can be adjusted with a mouse drag in the gap between both controls
  • Window position, size and the sizes of TreeView and RichCode control will be stored after closing the Gui

V1.3

  • Gui Resize for ListView control is working
  • Showing the last number of files in directory
  • Change the code to the coding conventions of AHK_L V 1.1.30.0
  • Ready to enter the search string right after the start
  • Pressing Enter after entering the search string starts the search immediately
  • The buttons R, W, C now show their long names

V1.2

  • Stop/Resume Button is added - so the process can be interrupted even to start a new search
  • a. from fischgeek Todo - Find an icon - i take yours and it looks great!

V1.1

  • the window displays the number of files read so far and the number of digits found during the search process
  • Font size and window size is adapted to 4k monitors (Size of Gui is huge - over 3000 pixel width) - at the moment, no resize or any settings for the size of the contents is possible - i'm sorry for that

About

Recursive search for AutoHotkey code on your hard drive modified for easier handling and for more informations

Topics

Resources

Stars

Watchers

Forks

Languages

  • AutoHotkey 100.0%