I've written some plugins that I use daily for similar purposes, but unfortunately I still have to update them to work with the latest geany (pull requests welcome ;-)

I have a similar quick-opener <https://github.com/sblatnick/geany-plugins/blob/master/quick-opener/src/quick-opener.c> plugin, which takes 2 shortcuts, one to quickly open from the current project tree, and another for a custom path:


To navigate within a file, I use an case-insensitive search I call quick-search <https://github.com/sblatnick/geany-plugins/blob/master/quick-search/src/quick-search.c> that also highlights all matches as you type and allows keyboard shortcuts to navigate quickly from match to match. The search box overlays the top left corner of the text field, so it doesn't take up any additional space like the toolbar does:

I'd really like to see our plugins in geany-plugins, but I just haven't gotten around to updating the plugins recently and getting them integrated with the geany-plugins build system. (The biggest problem with my plugins is updating function calls that call functions that have been restricted as not part of the plugin APIs.)

I hope this helps,

Steve

On 07/21/2016 05:16 AM, Thomas Martitz wrote:
Am 21.07.2016 um 12:42 schrieb Leif Persson:
Hi

I have made some plugins for Geany. They really speed up my workflow and hopefully anyone else will find them useful.

Ctrl-Tab
https://github.com/leifmariposa/geany-ctrl-tab-plugin
This plugin is supposed to replace the original Ctrl+Tab dialog so it should be hooked up to the keybinding Ctrl-Tab. It shows a dialog with open files and "tool-windows". When opened the dialog will show open files in the order of last used. Ctrl-Tab and Ctrl-Shift-Tab and also arrow keys can be used to select any file or tool windows to switch to.

Goto Function
https://github.com/leifmariposa/geany-goto-function-plugin
This plugin shows a list of all the functions of the current document and has a quick search text box at the top. It allows to very quickly jump to any function in he document even if you only remember a part of the functionname.

Switch Document
https://github.com/leifmariposa/geany-switch-document-plugin
I often have many documents open and I wanted a quicker way of switching among them than using the document tabs or the documents view. This plugin lists all open documents in a dialog and it has a quick search text box at the top. Just write a part of the document name and the list is reduced. Very quick and handy!

Open File
https://github.com/leifmariposa/geany-open-file-plugin
Shows a dialog for quickly open a file from a preconfigured location. The dialog has a quick search field that filters out and displays only the files that matches the entered search word. (It is not possible to open files from other location than the preconfigured locations.)

I use them under both Linux and Windows.
If anyone wants to try them out please do so and give me feedback!



Nice. I was also working on a plugin that allows to switch documents and go to functions more quickly [1]. However, it's not released yet, as it's part of my peasy plugin effort (peasy is a plugin that allows for writing plugins in python and other languages, using libpeas [2]).

[1] https://github.com/kugel-/peasy/blob/master/plugins/quickswitch.py
[2] https://github.com/kugel-/peasy/

Nice to see someone who's also not fully satisfied with how quickly you can go to functions or tabs :-)

Best regards
_______________________________________________
Devel mailing list
Devel@lists.geany.org
https://lists.geany.org/cgi-bin/mailman/listinfo/devel

_______________________________________________
Devel mailing list
Devel@lists.geany.org
https://lists.geany.org/cgi-bin/mailman/listinfo/devel

Reply via email to