I’ve been using Geany with patches whereby [typeahead search](https://developer.gnome.org/gtk3/stable/GtkTreeView.html#gtk-tree-v… in the symbols list and in [TreeBrowser](http://plugins.geany.org/treebrowser.html) uses [`g_str_match_string`](https://developer.gnome.org/glib/stable/glib-String-Utility-Functions.html#g-str-match-string) instead of simply matching by prefix.
Now, when I type “ba”, it finds not just `bar` but also `foo_bar` and `foo-bar`, etc. (not `FooBar` though).
It’s convenient.
The change itself is simple (all the heavy lifting is in GTK+/GLib), but I’m pretty sure this behavior cannot be made the default, as it might cause too many false positives, and would break habits.
What do you think of having such a feature as an option?
If suitable, what do you think its granularity should be? Should it be a checkbox for every tree view where it makes sense, like “Use fuzzy search in symbols list”, “Use fuzzy search in documents list” and so on?
(Also, I’m not sure it should be just [`g_str_match_string`](https://developer.gnome.org/glib/stable/glib-String-Utility-Functions.html#g-str-match-string). Maybe typing “ba” should find `FooBar` as well. Maybe typing “fb” should find `foo_bar`, like in [Commander](http://plugins.geany.org/commander.html).)
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/1466
Add `parsers/c-based.c` from ctags (the only change was to remove the `macroConditionRoleIndex` argument to `cppInit` as our ctags doesn't have it yet).
This is work in progress, I am making a list of things which aren't handled correctly that were by Geany:
* function template calltips - the runtime parameter list is not shown
* `template` decl members don't have parent
* TODO other things
Improvements:
* `alias foo = bar;` now parsed
* `static if` bodies now parsed but don't set parent
* more tag types rather than reusing existing types, listed under templates, aliases, mixins
* mixin statements now parsed
You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany/pull/3479
-- Commit Summary --
* Add warning that geany_c.c is not used for C & C++
* [D] Switch to mainline ctags parser
* Tweak tagmanager types
-- File Changes --
M ctags/Makefile.am (1)
A ctags/parsers/c-based.c (3073)
M ctags/parsers/geany_c.c (11)
M meson.build (1)
M src/tagmanager/tm_parser.c (20)
-- Patch Links --
https://github.com/geany/geany/pull/3479.patchhttps://github.com/geany/geany/pull/3479.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/3479
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany/pull/3479(a)github.com>
This enables a family of word-related text object commands such as:
"ciw", "diw", "viw" etc.
Fixes https://github.com/geany/geany-plugins/issues/1155.
You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany-plugins/pull/1240
-- Commit Summary --
* vimode: Refactor motion-word.c so the motion commands can be reused
* vimode: implement "iw", "ow", "iW" and "oW" text objects
-- File Changes --
M vimode/README (4)
M vimode/src/cmd-runner.c (4)
M vimode/src/cmds/motion-word.c (323)
M vimode/src/cmds/motion-word.h (3)
M vimode/src/cmds/txtobjs.c (44)
M vimode/src/cmds/txtobjs.h (4)
-- Patch Links --
https://github.com/geany/geany-plugins/pull/1240.patchhttps://github.com/geany/geany-plugins/pull/1240.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/pull/1240
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany-plugins/pull/1240(a)github.com>
While it would be nice to get rid of some extra tags, this field is generated in ctags using file name and also some questionable heuristics which doesn't lead to completely reliable results so better to avoid this field.
Reverts #3268.
Fixes #3454.
You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany/pull/3457
-- Commit Summary --
* Don't use ctags isFileScope tag information
-- File Changes --
M src/tagmanager/tm_workspace.c (5)
-- Patch Links --
https://github.com/geany/geany/pull/3457.patchhttps://github.com/geany/geany/pull/3457.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/3457
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany/pull/3457(a)github.com>
When there are multiple symbols with the same name it's useful to have tooltips with the function signatures/variable declarations showing types etc, just like we do for the symbol list.
You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany/pull/3467
-- Commit Summary --
* Add tooltips for goto tag menu items
-- File Changes --
M src/symbols.c (4)
-- Patch Links --
https://github.com/geany/geany/pull/3467.patchhttps://github.com/geany/geany/pull/3467.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/3467
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany/pull/3467(a)github.com>
This pull request consists of 2 patches:
1. It remembers selection in the sidebar and on project reload the selected row is restored.
2. It stores/loads expanded paths to/from the project file so the state of the tree gets restored when switching between projects.
You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany-plugins/pull/1144
-- Commit Summary --
* projectorganizer: Remember selected row in sidebar when reloading
* projectorganizer: Store/load expanded paths in the sidebar to project file
-- File Changes --
M projectorganizer/src/prjorg-main.c (5)
M projectorganizer/src/prjorg-project.c (25)
M projectorganizer/src/prjorg-project.h (1)
M projectorganizer/src/prjorg-sidebar.c (48)
M projectorganizer/src/prjorg-sidebar.h (2)
-- Patch Links --
https://github.com/geany/geany-plugins/pull/1144.patchhttps://github.com/geany/geany-plugins/pull/1144.diff
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/pull/1144