[PATCH 0/9] Context-sensitive completion for Ada
Tom Tromey
tromey@adacore.com
Mon Mar 7 16:04:43 GMT 2022
This updates the Ada parser to allow context-sensitive completion, as
is already done for C, C++, and Rust.
In addition to the usual field name completion, Ada now also allows
completion of Ada attributes.
A hack was needed in the last patch in order to work around problems
with the word breaking algorithm. I didn't see a way to handle this
without a larger rewrite of the Ada parser.
I think the only non-Ada-specific changes are the expression
completion refactoring in patch #4, and then a minor addition to this
code in patch #9.
Regression tested on x86-64 Fedora 34.
Tom
More information about the Gdb-patches
mailing list