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 cc60239 + f905294 commit 037eb4cCopy full SHA for 037eb4c
lldb/source/Expression/REPL.cpp
@@ -472,6 +472,10 @@ void REPL::IOHandlerComplete(IOHandler &io_handler,
472
debugger.GetCommandInterpreter().HandleCompletion(sub_request);
473
StringList matches, descriptions;
474
sub_result.GetMatches(matches);
475
+ // Prepend command prefix that was excluded in the completion request.
476
+ if (request.GetCursorIndex() == 0)
477
+ for (auto &match : matches)
478
+ match.insert(0, 1, ':');
479
sub_result.GetDescriptions(descriptions);
480
request.AddCompletions(matches, descriptions);
481
return;
0 commit comments