Any chance this is something we might see happen?
I don't think implement this feature is as easy as it may seem
Consider this simple
test.cpp file added to a new workspace:
Code: Select all
static int cdecl LineCompare(const void *p1, const void *p2)
{
return 1;
}
bool LineAbort()
{
return true;
}
void SortAbortCheck::LineCompare(const char *pszMessage, int sTimer)
{
return;
}
With the workspace open, if I create a new file and code complete on
Li I get this list of possible functions:
Code: Select all
Line
LineAbort
LineCompare
LineCompare
Now if I continue to type
LineCo Zeus will automatically select the
LineCompare item and I can then hit enter to have the enter completed into the document.
But if the code completion was changed the display the full names the list present would look more like the following:
Code: Select all
bool LineAbort()
static int cdecl LineCompare(const void *p1, const void *p2)
void SortAbortCheck::LineCompare(const char *pszMessage, int sTimer)
But with this new list it is impossible to implement the automatic selection feature without adding extensive language parsing logic into the code. With so many possible languages and so many combinations of syntax this is bound to not work as well as it should, if at all.
That means the only way to navigate the list would be to use the mouse out the up/down arrows, which sort of defeats the point of the code completion, dosn't it

.
Cheers Jussi