public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug ada/28727] New: add context-sensitive completion
@ 2021-12-26 17:48 tromey at sourceware dot org
2022-02-22 15:11 ` [Bug ada/28727] " tromey at sourceware dot org
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: tromey at sourceware dot org @ 2021-12-26 17:48 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=28727
Bug ID: 28727
Summary: add context-sensitive completion
Product: gdb
Version: unknown
Status: NEW
Severity: enhancement
Priority: P2
Component: ada
Assignee: unassigned at sourceware dot org
Reporter: tromey at sourceware dot org
Target Milestone: ---
C++ and Rust have a feature where an expression like:
"print object.<TAB>" will only complete field names of "object".
Ada is missing this feature, but it could be added.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug ada/28727] add context-sensitive completion
2021-12-26 17:48 [Bug ada/28727] New: add context-sensitive completion tromey at sourceware dot org
@ 2022-02-22 15:11 ` tromey at sourceware dot org
2022-02-24 21:32 ` tromey at sourceware dot org
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: tromey at sourceware dot org @ 2022-02-22 15:11 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=28727
--- Comment #1 from Tom Tromey <tromey at sourceware dot org> ---
It should also be possible to complete attribute names,
like "print x'ad<TAB>" -> "x'address".
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug ada/28727] add context-sensitive completion
2021-12-26 17:48 [Bug ada/28727] New: add context-sensitive completion tromey at sourceware dot org
2022-02-22 15:11 ` [Bug ada/28727] " tromey at sourceware dot org
@ 2022-02-24 21:32 ` tromey at sourceware dot org
2022-03-07 19:36 ` tromey at sourceware dot org
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: tromey at sourceware dot org @ 2022-02-24 21:32 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=28727
Tom Tromey <tromey at sourceware dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Assignee|unassigned at sourceware dot org |tromey at sourceware dot org
--- Comment #2 from Tom Tromey <tromey at sourceware dot org> ---
I have some patches.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug ada/28727] add context-sensitive completion
2021-12-26 17:48 [Bug ada/28727] New: add context-sensitive completion tromey at sourceware dot org
2022-02-22 15:11 ` [Bug ada/28727] " tromey at sourceware dot org
2022-02-24 21:32 ` tromey at sourceware dot org
@ 2022-03-07 19:36 ` tromey at sourceware dot org
2022-04-04 18:51 ` cvs-commit at gcc dot gnu.org
2022-04-04 18:53 ` tromey at sourceware dot org
4 siblings, 0 replies; 6+ messages in thread
From: tromey at sourceware dot org @ 2022-03-07 19:36 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=28727
--- Comment #3 from Tom Tromey <tromey at sourceware dot org> ---
https://sourceware.org/pipermail/gdb-patches/2022-March/186398.html
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug ada/28727] add context-sensitive completion
2021-12-26 17:48 [Bug ada/28727] New: add context-sensitive completion tromey at sourceware dot org
` (2 preceding siblings ...)
2022-03-07 19:36 ` tromey at sourceware dot org
@ 2022-04-04 18:51 ` cvs-commit at gcc dot gnu.org
2022-04-04 18:53 ` tromey at sourceware dot org
4 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2022-04-04 18:51 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=28727
--- Comment #4 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Tom Tromey <tromey@sourceware.org>:
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=d4da1b2c1b7b85968da608dde03e054cc0b1f7ca
commit d4da1b2c1b7b85968da608dde03e054cc0b1f7ca
Author: Tom Tromey <tromey@adacore.com>
Date: Tue Feb 22 13:12:02 2022 -0700
Add context-sensitive field name completion to Ada parser
This updates the Ada expression parser to implement context-sensitive
field name completion. This is PR ada/28727.
This is somewhat complicated due to some choices in the Ada lexer --
it chooses to represent a sequence of "."-separated identifiers as a
single token, so the parser must partially recreate the completer's
logic to find the completion word boundaries.
Despite the minor warts in this patch, though, it is a decent
improvement. It's possible that the DWARF reader rewrite will help
fix the package completion problem pointed out in this patch as well.
Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=28727
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug ada/28727] add context-sensitive completion
2021-12-26 17:48 [Bug ada/28727] New: add context-sensitive completion tromey at sourceware dot org
` (3 preceding siblings ...)
2022-04-04 18:51 ` cvs-commit at gcc dot gnu.org
@ 2022-04-04 18:53 ` tromey at sourceware dot org
4 siblings, 0 replies; 6+ messages in thread
From: tromey at sourceware dot org @ 2022-04-04 18:53 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=28727
Tom Tromey <tromey at sourceware dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Target Milestone|--- |13.1
Resolution|--- |FIXED
--- Comment #5 from Tom Tromey <tromey at sourceware dot org> ---
Fixed.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2022-04-04 18:53 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-26 17:48 [Bug ada/28727] New: add context-sensitive completion tromey at sourceware dot org
2022-02-22 15:11 ` [Bug ada/28727] " tromey at sourceware dot org
2022-02-24 21:32 ` tromey at sourceware dot org
2022-03-07 19:36 ` tromey at sourceware dot org
2022-04-04 18:51 ` cvs-commit at gcc dot gnu.org
2022-04-04 18:53 ` tromey at sourceware dot org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).