teemperor added a comment.

In D81001#2068925 <https://reviews.llvm.org/D81001#2068925>, @labath wrote:

> Thanks for the explanation Raphael. This makes more sense now, though I am 
> still not very clear on the distinction between "completions" and 
> "suggestions". The fish tutorial mentions command history -- that's something 
> that's not typically done as a part of tab completion (though maybe it could 
> be?). However, the rest -- file paths and command arguments -- that's clearly 
> in scope for tab completion too and our tab handlers already do that. So, the 
> idea of having "lightweight" completions which would also get run as a part 
> of "suggestions" does not seem completely off track. Unless I am completely 
> off track, that is...


It's more like a smarter and more user-friendly Ctrl+R search. Having it do 
something similar to tab completion is a stretch goal at the end. But at the 
moment the plan is to do just history based suggestions, then see if history + 
context is possible (i.e., make the suggestions paired to a specific target 
that you only get a suggestion for `b ASTContext.cpp:434` if you debug LLDB but 
not if you debug another random program) and then the lightweight completions 
if there is time left.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D81001/new/

https://reviews.llvm.org/D81001



_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to