Emacs documentation popup

Is it possible for Emacs to provide a short list of possible function arguments whenever you intend to call a function?

For example, if I print this:

Foo( 

I would like to see something like

 Foo(int x) Foo(std::string x) Foo(int x, int y, int z = 5) 

pop out under my Foo(

I am currently using Emacs to work in C ++, but would like to know about such functions for other languages ​​like Lisps, Python, etc. Also, I'm not sure what is called this function, so I would appreciate it if you told me that too.

+4
source share
1 answer

Take a look at GCCSense . This is a tool from the autocomplete author, and it uses gcc to find candidates for code completion, as the name suggests. CEDET also provides an intelligent completion mechanism for C / C ++ (and other languages). This article about setting up CEDET might be useful for you.

+3
source

Source: https://habr.com/ru/post/1393470/


All Articles