Skip to content

Commit

Permalink
doc: Add mention on PYTHONPATH config for IDEs
Browse files Browse the repository at this point in the history
  • Loading branch information
achimnol committed Jul 1, 2022
1 parent 05ce1fc commit b6cab74
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/dev/daily-workflows.rst
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,10 @@ Then configure your IDEs/editors to use
interpreter for your code, where ``VERSION`` is the interpreter version
specified in ``pants.toml``.

To make LSP (language server protocol) services like PyLance to detect our source packages correctly,
you should also configure ``PYTHONPATH`` to include the repository root's ``src`` directory and
``plugins/*/`` directories if you have added Backend.AI plugin checkouts.

.. tip::

To activate flake8/mypy checks (in Vim) and get proper intelli-sense support
Expand Down

0 comments on commit b6cab74

Please sign in to comment.