mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-07 14:34:31 +08:00
add repl stuff to usage docs
This commit is contained in:
@@ -1,18 +0,0 @@
|
|||||||
.. include:: ../global.rst
|
|
||||||
|
|
||||||
Tab completion in the Python Shell
|
|
||||||
==================================
|
|
||||||
|
|
||||||
There are two different options how you can use Jedi autocompletion in
|
|
||||||
your Python interpreter. One with your custom ``$HOME/.pythonrc.py`` file
|
|
||||||
and one that uses ``PYTHONSTARTUP``.
|
|
||||||
|
|
||||||
Using ``PYTHONSTARTUP``
|
|
||||||
-----------------------
|
|
||||||
|
|
||||||
.. automodule:: jedi.replstartup
|
|
||||||
|
|
||||||
Using a custom ``$HOME/.pythonrc.py``
|
|
||||||
-------------------------------------
|
|
||||||
|
|
||||||
.. autofunction:: jedi.utils.setup_readline
|
|
||||||
@@ -4,8 +4,8 @@ End User Usage
|
|||||||
==============
|
==============
|
||||||
|
|
||||||
If you are a not an IDE Developer, than chances are pretty high, that you just
|
If you are a not an IDE Developer, than chances are pretty high, that you just
|
||||||
want to use |jedi| as a browser plugin or in the shell. Yes that's also
|
want to use |jedi| as a browser plugin or in the shell. Yes that's :ref:`also
|
||||||
possible!
|
possible <repl-completion>``!
|
||||||
|
|
||||||
|jedi| is relatively young and can be used in a variety of Plugins and
|
|jedi| is relatively young and can be used in a variety of Plugins and
|
||||||
Software. If your Editor/IDE is not among them, recommend |jedi| to your IDE
|
Software. If your Editor/IDE is not among them, recommend |jedi| to your IDE
|
||||||
@@ -38,3 +38,23 @@ Other Software Using Jedi
|
|||||||
-------------------------
|
-------------------------
|
||||||
|
|
||||||
- `wdb <https://github.com/Kozea/wdb>`_
|
- `wdb <https://github.com/Kozea/wdb>`_
|
||||||
|
|
||||||
|
|
||||||
|
.. _repl-completion:
|
||||||
|
|
||||||
|
Tab completion in the Python Shell
|
||||||
|
----------------------------------
|
||||||
|
|
||||||
|
There are two different options how you can use Jedi autocompletion in
|
||||||
|
your Python interpreter. One with your custom ``$HOME/.pythonrc.py`` file
|
||||||
|
and one that uses ``PYTHONSTARTUP``.
|
||||||
|
|
||||||
|
Using ``PYTHONSTARTUP``
|
||||||
|
~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
.. automodule:: jedi.replstartup
|
||||||
|
|
||||||
|
Using a custom ``$HOME/.pythonrc.py``
|
||||||
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
.. autofunction:: jedi.utils.setup_readline
|
||||||
|
|||||||
Reference in New Issue
Block a user