Skip navigation.

Log in | Sign up

Linux for Designers

a blog by Eckhard M. Jäger

gEdit improved Search Plugins

, , , ,

I improved the "Find in Files" and "Find in open Documents" plugins for gEdit written by Mike Doty.

* Both have now a german localisation too (de_DE)
* Bigger size of search entry at both
* Both show now the code line where the search term is located
* "Find in Files" is now at the bottom panel located
* "Find in Files" shows now the complete file path
* "Find in Files" has now a extension filter
* Added a subdirectory option to "Find in Files"
* "Find in Files" and "Find in open Documents" can now be used together

Download:
http://files.myopera.com/area42/files/gedit-find-plugins.zip

Installation:
* Extract the archive and copy all files to ~/.gnome2/gedit/plugins
* Enable them in the Preferences at the "Plugins" tab

gEdit plugins i wrote too:
http://my.opera.com/area42/blog/gedit-language-reference-plugin
http://my.opera.com/area42/blog/gedit-template-plugin
http://my.opera.com/area42/blog/gedit-browser-preview-plugin

A lot of other gEdit plugins can be found here.
Ckeck out the External Tools Plugin Command Collection too.

^Blender News

Comments

area42 7. April 2009, 10:41

gEdit is the standard editor of the Gnome Desktop, so you do not have to download it.

area42 7. April 2009, 14:45

Don't ask what is the best, i'm sure there a quite good editors for KDE too:
http://www.kde-apps.org/index.php?xcontentmode=241&PHPSESSID=0b46568425da847fe10a189c513c1523

As i renember Kate was quite good too.

Anonymous 15. April 2009, 16:49

Steve Love writes:

Hi, Eckhard. I've extracted the plugin contents to the gEdit plugins directory, but it doesn't show up in the list of available plugins. The same thing is happening with the Templates plugin. Any ideas what I'm doing wrong? I'm running Jaunty. Could something have changed? Thanks for any help (and for the great website!).

area42 15. April 2009, 20:28

First try to install the gedit plugins package, someone reported that additional plugins work after he installed it.

stevelove 16. April 2009, 13:55

Hmm. No luck. I've tried on two machines. The plugins package from the repository is installed with no problems and they appear in the list. I just can't get these to appear. I'll keep working on it and let you know if I come up with anything. Thanks again.

area42 17. April 2009, 13:34

Hello Steve,

i will check this when i switch to Jaunty in the next month. Did you tried to start gEdit from a shell? Is there any error message available?

stevelove 17. April 2009, 19:22

Mark it down as user error. :whistle: I was looking for a plugin beginning with the word "Template" but now I see that it's "New File From a Template".

Anonymous 29. May 2009, 11:37

Rulatir writes:

How does find-in-files determine the directory where it starts the search? Is it currently highlighted directory in the file browser? Current root of the filebrowser? Directory of the file in the active tab? Or what?

I am asking because I don't seem to be able to get your find-in-files plugin to do anything. The Find button just springs back immediately and nothing happens at all, even if I specifically create a file that is bound to match the search criteria.

Btw. I am trying to search files on an sftp share via gvfs (or how it is called these days). Could it be that your find-in-files doesn't support that?

Anonymous 29. May 2009, 11:42

Rulatir writes:

Same with find-in-open-documents: I open several PHP files with function definitions, type function in the search field, press Find, and nothing is found.

Gedit is 2.26.2.

Anonymous 29. May 2009, 11:48

Anonim writes:

Indeed the problem is lack of support for remote shares. Output indicates that both search plugins are simply wrappers around find and grep... disappointing...

area42 30. May 2009, 19:30

The Plugin uses the directory of the actual opened file. I'm using now Ubuntu Jaunty 9.04 and have to check it out again. It seems various plugins didn't work on gEdit 2.26 anymore :frown:

Anonymous 28. July 2009, 18:04

Waceck writes:

It is not working. Ubuntu Jaunty 9.04, gedit 2.26.1 - it start search, and find something like:
new document - line 7
new document - line 8
.... etc
but when I click on "new document - line 7" it open new tab in gedit and... do nothing else.

area42 28. July 2009, 19:56

I'm using Jaunty and it still works. What did you try to find? It searches at the directory setted at the file pan.

Anonymous 23. October 2009, 16:03

house9 writes:


Thanks for the plugin! works great

I am using gedit (with gmate package - http://github.com/lexrupy/gmate)
for rails development

is there an easy way to exclude log files from the find in files?

How to use Quote function:

  1. Select some text
  2. Click on the Quote link

Write a comment

Comment
(BBcode and HTML is turned off for anonymous user comments.)

If you can't read the words, press the small reload icon.


Smilies