RFC: bash completion

2018-04-24 Thread Martin Liška
Hi. Some time ago, I investigated quite new feature of clang which is support of --autocomplete argument. That can be run from bash completion script and one gets more precise completion hints: http://blog.llvm.org/2017/09/clang-bash-better-auto-completion-is.html https://www.youtube.com/watch?v=

Re: RFC: bash completion

2018-04-24 Thread David Malcolm
On Tue, 2018-04-24 at 16:45 +0200, Martin Liška wrote: > Hi. > > Some time ago, I investigated quite new feature of clang which > is support of --autocomplete argument. That can be run from bash > completion > script and one gets more precise completion hints: > > http://blog.llvm.org/2017/09/cla

Re: RFC: bash completion

2018-04-25 Thread Martin Liška
On 04/24/2018 06:27 PM, David Malcolm wrote: > On Tue, 2018-04-24 at 16:45 +0200, Martin Liška wrote: >> Hi. >> >> Some time ago, I investigated quite new feature of clang which >> is support of --autocomplete argument. That can be run from bash >> completion >> script and one gets more precise com

Re: RFC: bash completion

2018-04-25 Thread Martin Liška
On 04/24/2018 06:27 PM, David Malcolm wrote: > The patch doesn't have tests. There would need to be some way to > achieve test coverage for the completion code (especially as we start > to tackle the more interesting cases). I wonder what the best way to > do that is; perhaps a combination of sel