[Geany-Devel] I'm thinking I like Geany...
Steven Blatnick
steve8track at yahoo.com
Fri Jan 11 00:40:37 UTC 2013
That's awesome! I hadn't tried the lua plugin features until I tried
your script (geany is still new to me). Can you create complex UIs with
them? If so, I suggest taking a look at gedit's snap-open plugin for
interface ideas. It filters a list of files as you type. The list
includes two column in a table: the filename, and the file path (for
context).
Here is a screenshot of how it works:
I've tweaked the gedit plugin a bit for my personal use so that it
always searches from my ~/work/ directory, so for geany I like that you
have it search from the project directory already :-)
This feature being missing from geany is one of the major reasons I
still use gedit for work (that and external tools, which I hope to write
my own plugin for geany unless I can get by with the build tools already
in geany). I hope with a little tweak/improvement here and there, I'll
feel comfortable completely abandoning gedit sooner than later.
Thanks,
Steve
On 01/10/2013 03:57 PM, Thrawn wrote:
> Hi, Steven.
>
> I love the idea of snap-open. I've been using 'Find in Files' as a clumsy workaround (search for any text and filter by filename), but it's not ideal...
>
> I've drafted a quick Lua script that does a basic job of this, and uploaded to wiki.geany.org/config/scripts/lua. What do you think?
>
> Enhancements currently planned include:
> - filtering of unlikely files/directories (.svn, compiled files like .class or .pyc, etc) unless explicitly in search string;
> - specifying directory patterns in search string (eg test/foo to search for 'foo*' in any subdirectory of 'test*');
> - searching through open files (probably only if searching the project fails).
> _______________________________________________
> Devel mailing list
> Devel at lists.geany.org
> https://lists.geany.org/cgi-bin/mailman/listinfo/devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.geany.org/pipermail/devel/attachments/20130110/abd1b40e/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gfihfeie.png
Type: image/png
Size: 22598 bytes
Desc: not available
URL: <http://lists.geany.org/pipermail/devel/attachments/20130110/abd1b40e/attachment-0001.png>
More information about the Devel
mailing list