- Don’t forget to uncomment
python
ininit.el
- Change enable
lsp
under:tools
and changepython
to(python +lsp)
if you’re planning to use a Language Protocol Server using lsp-mode. - Enable
(company +childframe)
under:complection
as well.
- Change enable
M-x run-python
to open a python shell.python-shell-send-region
orC-c C-r
to send a selected region to the shell.python-shell-send-file
orC-c C-l
to send another file to the shell.python-shell-send-buffer
orC-c C-c
to send a selected region to the shell.
lsp-update-server
select a language server to update.flycheck-list-errors
to see the errors detected by LSP.lsp-find-definition
to jump to where a symbol has been defined.lsp-find-references
to get list of all the places where a symbol has been used.lsp-rename
to rename a symbol across the file.