2
votes
Accepted
how to configure Eglot over TRAMP?
eglot doesn't need any special config to work with tramp. You need to make tramp can find your remote pyright, maybe via:
(add-to-list 'tramp-remote-path 'tramp-own-remote-path)
For lsp-mode, you can ...
2
votes
Send to python-shell-interpreter from the project root
I don't know if there's a 'nicer' way using already existing stuff in python.el, but if you just want the interpreter to start at the project root while you're within that project, I'd do something ...
1
vote
Send to python-shell-interpreter from the project root
Importing modules is explained in this document.
For your case, in jitter.py write from . common import constants
(you can use full name for common)
EDIT:
The specified document treat also the case ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
python-lsp-server × 5python × 3
lsp × 3
lsp-mode × 2
eglot × 2
tramp × 1
compile-mode × 1
docker × 1