oliver / gedit-file-search

Gedit plugin to search a text in all files in a directory
https://oliver.github.io/gedit-file-search/
43 stars 11 forks source link
gedit gedit-plugin

File Search Plugin for Gedit

This is a search plugin for Gedit to search for a text inside a directory.

The plugin was tested with Gedit 3.4.1 under Ubuntu 12.04, and with Gedit 3.8.3 under Fedora 19. It should also work under other versions of Gedit 3.

Note that Gedit 2 and older are not supported by this plugin any more (there is an old version of this plugin available, though, which supports Gedit 2).

Installation (from TGZ file)

Use Search -> Find in files, or right-click in a document and select Search files... to open the search dialog.

Note: if the plugin cannot be enabled, you might need to install support for Python-based plugins. For Ubuntu-like systems, run "sudo apt-get install gir1.2-gtksource-3.0" in terminal. For other systems, look for a software package like "gedit-plugins" - installing it should fix the problem.

Building from source

Prerequisites: install GNU Make, GNU Gettext, glib-compile-schemas, and Git. On Ubuntu, run "sudo apt-get install make gettext libglib2.0-bin git" to install these.

Then run:

git clone https://github.com/oliver/gedit-file-search.git
cd gedit-file-search
make tgz

This will compile translation files and gschema files, and will create a TGZ file containing the entire plugin ready for installation.