mirror of
https://github.com/davidhalter/jedi.git
synced 2026-05-18 06:19:39 +08:00
REPL docs improvements
This commit is contained in:
+5
-4
@@ -132,11 +132,12 @@ The returned objects are very powerful and are really all you might need.
|
|||||||
Autocompletion in your REPL (IPython, etc.)
|
Autocompletion in your REPL (IPython, etc.)
|
||||||
-------------------------------------------
|
-------------------------------------------
|
||||||
|
|
||||||
Starting with IPython `6.0.0` Jedi is a dependency of IPython. Autocompletion
|
Jedi is a dependency of IPython. Autocompletion in IPython with Jedi is
|
||||||
in IPython is therefore possible without additional configuration.
|
therefore possible without additional configuration.
|
||||||
|
|
||||||
It's possible to have Jedi autocompletion in REPL modes - `example video <https://vimeo.com/122332037>`_.
|
Here is an `example video <https://vimeo.com/122332037>`_ how REPL completion
|
||||||
This means that in Python you can enable tab completion in a `REPL
|
can look like.
|
||||||
|
For the ``python`` shell you can enable tab completion in a `REPL
|
||||||
<https://jedi.readthedocs.org/en/latest/docs/usage.html#tab-completion-in-the-python-shell>`_.
|
<https://jedi.readthedocs.org/en/latest/docs/usage.html#tab-completion-in-the-python-shell>`_.
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
+6
-3
@@ -90,11 +90,14 @@ and many more!
|
|||||||
Tab Completion in the Python Shell
|
Tab Completion in the Python Shell
|
||||||
----------------------------------
|
----------------------------------
|
||||||
|
|
||||||
Starting with Ipython `6.0.0` Jedi is a dependency of IPython. Autocompletion
|
Jedi is a dependency of IPython. Autocompletion in IPython is therefore
|
||||||
in IPython is therefore possible without additional configuration.
|
possible without additional configuration.
|
||||||
|
|
||||||
|
Here is an `example video <https://vimeo.com/122332037>`_ how REPL completion
|
||||||
|
can look like in a different shell.
|
||||||
|
|
||||||
There are two different options how you can use Jedi autocompletion in
|
There are two different options how you can use Jedi autocompletion in
|
||||||
your Python interpreter. One with your custom ``$HOME/.pythonrc.py`` file
|
your ``python`` interpreter. One with your custom ``$HOME/.pythonrc.py`` file
|
||||||
and one that uses ``PYTHONSTARTUP``.
|
and one that uses ``PYTHONSTARTUP``.
|
||||||
|
|
||||||
Using ``PYTHONSTARTUP``
|
Using ``PYTHONSTARTUP``
|
||||||
|
|||||||
Reference in New Issue
Block a user