Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ychclone/blink
GUI of live indexed grep for source code. Fuzzy suggestion in auto complete. Files locator, search and replace. Index management for multiple projects.
https://github.com/ychclone/blink
ack ag appimage autocomplete code-navigation code-search code-search-engine codesearch ctags fzf grep indexing-engine livegrep opengrok qt ripgrep vim
Last synced: 3 months ago
JSON representation
GUI of live indexed grep for source code. Fuzzy suggestion in auto complete. Files locator, search and replace. Index management for multiple projects.
- Host: GitHub
- URL: https://github.com/ychclone/blink
- Owner: ychclone
- License: gpl-3.0
- Created: 2020-08-12T05:25:23.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2024-05-13T07:01:01.000Z (6 months ago)
- Last Synced: 2024-05-17T23:33:39.263Z (6 months ago)
- Topics: ack, ag, appimage, autocomplete, code-navigation, code-search, code-search-engine, codesearch, ctags, fzf, grep, indexing-engine, livegrep, opengrok, qt, ripgrep, vim
- Language: C++
- Homepage:
- Size: 31.6 MB
- Stars: 51
- Watchers: 5
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-starred - ychclone/blink - GUI of live indexed grep for source code. Fuzzy suggestion in auto complete. Files locator, search and replace. Index management for multiple projects. (vim)
README
![Blink logo](https://raw.githubusercontent.com/ychclone/blink/master/Resources/Images/graphics3.png)
# Blink code search
GUI of live indexed grep for source code. Fuzzy suggestion in autocomplete.
Files locator, search and replace. Switch different projects and start searching.
Drag and drop of filenames to your favourite editor.[![Build status](https://ci.appveyor.com/api/projects/status/afn8q3ai3e7wphrf?svg=true)](https://ci.appveyor.com/project/ychclone/blink)
# Screenshots
![Screencast](https://raw.githubusercontent.com/ychclone/blink/master/Screencast/Usage.gif)# 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.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
![Code search](https://raw.githubusercontent.com/ychclone/blink/master/Screenshot/blink_codesearch.png)# File listing
![File listing](https://raw.githubusercontent.com/ychclone/blink/master/Screenshot/blink_filelisting.png)# Usage
1. Drop the folder (e.g. from file explorer, nautilus) into the window below
project tab.
![Drop folder](https://raw.githubusercontent.com/ychclone/blink/master/Screenshot/usage_drop_folder.png)2. A new project dialog will appears. Type the file extensions that you want to index.
3. Right click on the project name
4. Click "Rebuild Symbol"
5. Double click the project name to make it the active project.
Or right click and select "Load"![Load project](https://raw.githubusercontent.com/ychclone/blink/master/Screenshot/usage_load_project.png)
6. 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 PatternToExcludeIn 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
![Multiple lines](https://raw.githubusercontent.com/ychclone/blink/master/Screenshot/blink_multiple_lines.png)## Match for multiple symbol
Multiple symbols (and condition) could be input for symbol queries.
e.g. Multiple match are input "CMainWindow", "_on" as queries.
![Multiple symbols](https://raw.githubusercontent.com/ychclone/blink/master/Screenshot/blink_multiple_symbols.png)## 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.
![Regular expression](https://raw.githubusercontent.com/ychclone/blink/master/Screenshot/blink_regular_expression.png)# 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
```