[Github-comments] [geany/geany] [Enhancement request] Can complete from other opened file. (Issue #3123)

elextr notifications at xxxxx
Thu Feb 10 11:35:11 UTC 2022


> Because I have a file containing many Cairo library functions

Do you mean the source of Cairo or do you mean your own code which just happens to use Cairo functions?

>  I want to complete these functions in a new file

Function _defined_ in an open file in the same (or similar, eg C/C++) language will be available for autocomplete in other files of the same language.   But just using a function in your file is not a definition and is not recognised for autocomplete or the symbol pane.  Also files included in your files are not parsed, so `#include <cairo.h>` will not make cairo functions available for autocomplete.

> I've tried geany -g -P

You probably don't want the -P, you want the preprocessor to pull in the headers included from `cairo.h`

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

Message ID: <geany/geany/issues/3123/1034815159 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20220210/0a7ba383/attachment.htm>


More information about the Github-comments mailing list