> Be nice to find a universal solution though.

Well Geany could use *[scope::]func_name(params) -> return_type* format for C++ 
calltips. It should be familiar to any modern C++ developer and `->` is fairly 
intuitive anyway. It would be especially useful when there are overloads 
returning different types, otherwise clicking through the calltip arrows to 
find the one is awkward to read. Like that, overloads with different scope are 
immediately obvious. Looking for a scope and/or parameter overload is more 
common than looking for return type (and even if looking for the latter you can 
just look to the end of the calltip). Also the calltips are not even sorted by 
return type, so that alone is evidence the return type is not the salient info.

Aside: annoyingly, Scintilla doesn't seem to support selecting a calltip from a 
drop down list of overloads so you have to manually go through each one. Could 
probably be implemented outside Scintilla maybe.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/3459#issuecomment-1511518061
You are receiving this because you are subscribed to this thread.

Message ID: <geany/geany/issues/3459/[email protected]>

Reply via email to