lsp-jedi icon indicating copy to clipboard operation
lsp-jedi copied to clipboard

A LSP client for Emacs using Python Jedi Language Server

======== lsp-jedi

A Emacs_ client for Python Jedi Language Server_ (LSP_ client plugin for lsp-mode_ Emacs_ extension).

Features

  • Renaming/Refactoring
  • Auto-completion
  • Definitions
  • References
  • Document Highlight
  • Document Symbols
  • Hover Request
  • Publish Diagnostics
  • Signature Help
  • Symbols

Install from repository

.. code-block::

M-x package-install lsp-jedi

Configure

.. code-block:: emacs-lisp

(use-package lsp-jedi :ensure t)

Virtual Environment Settings (built-in venv module)

.. code-block:: emacs-lisp

(setq lsp-jedi-workspace-extra-paths (vconcat lsp-jedi-workspace-extra-paths ["/home/me/src/my-project/.venv/lib/python3.10/site-packages"]))

License

This project is licensed under the GNU GPL License version 3 - see the LICENSE_ file for details

.. _Emacs: https://www.gnu.org/software/emacs/ .. _Jedi Language Server: https://pypi.org/project/jedi-language-server/ .. _LSP: https://langserver.org/ .. _lsp-mode: https://github.com/emacs-lsp/lsp-mode .. _LICENSE: https://github.com/fredcamps/lsp-jedi/blob/master/LICENSE