Hi All,
I am binding semantic-complete-analyze-inline to M-TAB.
It seems that I need twice hits of M-TAB to complete a symbol.
The first one to enter the completion sub-mode, and the second one to
complete the symbol to the maximal without ambiguity.
For example:
#include <algorithm>
using namespace std;
void main() {
pri // here if I type M-TAB once, it will just enter the completion
// sub-mode; and I need to type M-TAB again to get "printf",
// although "printf" is the only possible completion here.
}
Another example:
#include <algorithm>
using namespace std;
void main() {
so // here if I type M-TAB once, it will just enter the completion
// sub-mode; and I need to type M-TAB again to get "sort",
// because there are "sort" and "sort_heap" two completions; and
// "sort" is the maximal completion without ambiguity.
}
Can we set it up such that with only ONE hit, it will complete the
symbol to the maximal completion? This is very useful especially when
there is only one possible completion.
Cheers,
poppyer
|