Patch from https://github.com/geany/geany/pull/1177#issuecomment-241438625, plus an attempt at considering the current scope (which is likely riddled with bad stuff, but still a POC).
I can drop the second (toy) patch if the first is interesting enough, and possibly make a separate PR afterward if it's somehow interesting still. In any case, reviewing each commit separately is likely a better approach.
@techee @krogank9 You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany/pull/1188
-- Commit Summary --
* Add support for scoped calltips * FXIME: Attempt at using the current (implicit) scope for symbol scope search
-- File Changes --
M src/editor.c (155)
-- Patch Links --
https://github.com/geany/geany/pull/1188.patch https://github.com/geany/geany/pull/1188.diff