| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| Blink-x86_64.AppImage | 2024-09-10 | 40.7 MB | |
| README.md | 2024-09-10 | 5.4 kB | |
| blink-1.10.0-setup.exe | 2024-09-10 | 16.6 MB | |
| Totals: 3 Items | 57.3 MB | 2 | |

Blink code search
GUI of indexed grep in Windows and Linux. A source code indexing tool, near instant code search tool and navigation. Good for small to medium size code base. It supports fuzzy matching, auto complete, and live grep for real time query. Manage different projects and switch for different projects Drag and drop of filenames to your favourite editor.
Screenshots

Features
- Fast search using prebuilt index
- Fuzzy suggestion in autocomplete
- Live grep
- Drag and drop for filename to your favourite editor
- Switch between multiple projects
- Very small index size compared to trigram
- Replaces in files for searched symbol
- Cross platform
Download, Install
Windows and Linux binaries are available in * https://sourceforge.net/projects/blink-code-search/files/
Source code is avaliable in * https://github.com/ychclone/blink
Change Log
version [1.10.0]
- Editor can go back and forward for navigation
- Advanced option in search combo box
- Right click close all tab, close all to left, close all to right, copy file path, copy filename, and copy file
- Detect if file opened got modification by other program and prompt reload
- Fix for find before line match
- Fix for cursor line highlight
- Fix for symbol regular expression escaped html string
version [1.9.4]
- Change default source mask from *.* to * to include file without extension
version [1.9.3]
- Support directory to exclude and file mask to exclude
version [1.9.2]
- can now use *.* as source file mask to process all text file. Binary files will be skipped.
- default source file mask set to *.*
Code search

File listing

Usage
-
Drop the folder (e.g. from file explorer, nautilus) into the window below project tab.

-
A new project dialog will appears. Type the file extensions that you want to index.

- Right click on the project name
- Click "Rebuild Symbol"
- Double click the project name to make it the active project. Or right click and select "Load"

- Start file filtering and code search on the file and symbol tab
Advanced Usage
For symbol queries, advanced options can be entered: There is no spacing in between e.g. /a10, /n3, /xinclude
- /a NumberOfLinesAfter
- /b NumberOfLinesBefore
- /n NumberOfLinesBeforeAndAFter
- /f FileNameToMatch
- /x PatternToExclude
In addition, regular expression can be entered for the queries: e.g. .*mainWindows, (_clicked|_Pressed) It will match all ("and" condition) if multiple symbols are entered for queries.
Configuration
The text editor when double clicking the filename in file tab could be set in configuration. The filename could be dropped to other editor. Option->Setting->Main->Default Editor
Tips
Display result lines before and after
In the text field for symbol, "/n3" could be used to display 3 lines before and after

Match for multiple symbol
Multiple symbols (and condition) could be input for symbol queries.
e.g. Multiple match are input "CMainWindow", "_on" as queries.

Show multiple project
Regular expression could be used to filter the project name and source filename name.
e.g. "Or" condition for project name using the pipe "|" regular expression.

Troubleshooting
/usr/bin/ld: cannot find -lGL; collect2: error: ld returned 1 exit status
Sol: sudo apt install libgl1-mesa-dev
Qt version not match
sudo rm /usr/bin/qmake
sudo ln -s /home/ychclone/Qt5.14.2/5.14.2/gcc_64/bin/qmake /usr/bin/qmake
Segmentation fault (core dumped) when start
Please cp ./blink to build directory. Please make sure the following config files existed in build directory: - blink.ini - qtag.conf - qt.conf - record.xml
qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in ""
Error message: This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Sol:
export QT_QPA_PLATFORM_PLUGIN_PATH=/home/ychclone/Qt5.14.2/5.14.2/gcc_64/plugins/platforms