Questions tagged [python-mode]
The python-mode tag has no summary.
7 questions
1 vote
1 answer
645 views
Why doesn't my emacs use lsp-pyright?
I've desperately been trying to use the lsp-pyright server, but Emacs doesn't seem to recognize that it's installed... What I did: Configured it like described in the docs: (use-package lsp-pyright :...
0 votes
0 answers
65 views
Python-mode code navigation
How can I navigate from an abstract class/method to the implementations of that class/method? Using the M-. I can jump to function definition but I can't find a way to easily find the implementation.
0 votes
1 answer
119 views
How do I assign Ctrl-C Ctrl-D to menu Python/Debugger in my ~/.emacs file?
With a .py file open in my buffer, and the major mode being Python, there is a menu called Python. There is a item in it called Debugger. It has no associated keyboard shortcut. What is the lisp ...
0 votes
0 answers
36 views
py-indent-or-complete, make hitting-tab in python mode move the cursor at first try
when I press tab in python mode py-indent-or-complete execute. When I'm at a new line, it takes two tab keys for the cursor to move to a position. I'd like to hit just one tab to do that. eg) Suppose ...