emacs-python-pytest icon indicating copy to clipboard operation
emacs-python-pytest copied to clipboard

PDB autocompletion

Open matthew-piziak opened this issue 5 years ago • 3 comments

It would be nice to have dot-completion on locals, for example. Maybe some integration with realgud?

matthew-piziak avatar Mar 12 '19 20:03 matthew-piziak

tbh i would have no idea how to approach this without massively complicating things.

comint specific (not emacs-python-pytest specific) solutions will likely work for this package as well, btw

wbolster avatar Nov 05 '21 19:11 wbolster

@matthew-piziak Take a look at https://github.com/muffinmad/emacs-pdb-capf ;)

muffinmad avatar Feb 04 '22 15:02 muffinmad

Example configuration:

(add-hook 'python-pytest-mode-hook
          (lambda ()
            (add-hook 'completion-at-point-functions
                      'pdb-capf nil t)))

muffinmad avatar Feb 04 '22 15:02 muffinmad