We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ac83e27 + 3f0e7dd commit fcb37a1Copy full SHA for fcb37a1
lldb/source/Expression/REPL.cpp
@@ -452,6 +452,10 @@ void REPL::IOHandlerComplete(IOHandler &io_handler,
452
debugger.GetCommandInterpreter().HandleCompletion(sub_request);
453
StringList matches, descriptions;
454
sub_result.GetMatches(matches);
455
+ // Prepend command prefix that was excluded in the completion request.
456
+ if (request.GetCursorIndex() == 0)
457
+ for (auto &match : matches)
458
+ match.insert(0, 1, ':');
459
sub_result.GetDescriptions(descriptions);
460
request.AddCompletions(matches, descriptions);
461
return;
0 commit comments