completion: place matching types at top of list
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
it would be nice if code completion placed all
suggestions with matching types at the top of the list,
as these most likely contain the completion the user
wants. it should be easy to deterine the type of an
rvalue based on the context. for example:
foo.h:
class Foo
{
public:
int foo_a();
bool foo_b();
double foo_c();
};
main.cpp:
#include "foo.h"
int main(int argc, char argv[])
{
Foo f;
bool b=f.foo_|; // * cursor at '|'
}
completion should place 'foo_b()' at the top of the
list, as the return type matches the type of the rvalue.
thanks,
alvin