I created function read_scope_prefix which is similar to read_current_word. It gets the scope of the word the cursor is on:
if the user types: ScopeA::ScopeB::Function
it will return ScopeA::ScopeB
Then I used my read_scope_prefix function in editor_show_calltip where find_calltips is called. To find_calltips I added an argument const gchar *scope to send the value over. find_calltips now passes scope argument to tm_workspace_find function. If no tags are found within the typed scope, find_calltips falls back to its original behavior, which does not account for scope when displaying function calltips.
https://github.com/geany/geany/pull/1177
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.