class MyClass
{
MyClass();
};
int main (void)
{
M|
}
Where the | represents the cursor position. I would like to complete the type name MyClass. However, when I press TAB (or RET) here, it completes to MyClass()
The completion I want is being passed back from the async process, because the clang-complete buffer includes:
So something in the elisp is causing the completion of the type to be ignored, but only when there is a constructor. If I don't declare the constructor in my example above, I can complete MyClass.
Consider the following code:
Where the
|
represents the cursor position. I would like to complete the type nameMyClass
. However, when I press TAB (or RET) here, it completes toMyClass()
The completion I want is being passed back from the async process, because the clang-complete buffer includes:
So something in the elisp is causing the completion of the type to be ignored, but only when there is a constructor. If I don't declare the constructor in my example above, I can complete
MyClass
.