Skip to content

Make pdb completion work with alias, convenience variables etc. #110944

Closed
@gaogaotiantian

Description

@gaogaotiantian

Feature or enhancement

Proposal:

The current pdb completion could be improved for the following scenarios:

  1. It should support alias if there is any
  2. Convenience variables (starting with the $) should be supported as an expression
  3. For the "command" completion, if there's no command matches, then the user is probably typing an expression to display and we should just complete as expression.
# The user probably wants $_frame
(pdb) $<tab>

Has this already been discussed elsewhere?

This is a minor feature, which does not need previous discussion elsewhere

Links to previous discussion of this feature:

No response

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    type-featureA feature request or enhancement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions