@@ -12,23 +12,41 @@ Python Language Server
1212
1313A Python 2.7 and 3.4+ implementation of the `Language Server Protocol `_.
1414
15- Feature Providers
16- -----------------
17- * Jedi _ for Completions, Definitions, Hover, References, Signature Help, and Symbols
15+ Installation
16+ ------------
17+
18+ The base language server requires Jedi _ to provide Completions, Definitions, Hover, References, Signature Help, and
19+ Symbols:
20+
21+ ``pip install python-language-server ``
22+
23+ If the respective dependencies are found, the following optional providers will be enabled:
24+
1825* Rope _ for Completions and renaming
1926* Pyflakes _ linter to detect various errors
2027* McCabe _ linter for complexity checking
2128* pycodestyle _ linter for style checking
2229* pydocstyle _ linter for docstring style checking
2330* YAPF _ for code formatting
2431
32+ Optional providers can be installed using the `extras ` syntax. To install YAPF _ formatting for example:
33+
34+ ``pip install 'python-language-server[yapf]' ``
35+
36+ All optional providers can be installed using:
37+
38+ ``pip install 'python-language-server[all]' ``
39+
25403rd Party Plugins
2641~~~~~~~~~~~~~~~~~
2742Installing these plugins will add extra functionality to the language server:
2843
2944* pyls-mypy _ Mypy type checking for Python 3
3045* pyls-isort _ Isort import sort code formatting
3146
47+ Please see the above repositories for examples on how to write plugins for the Python Language Server. Please file an
48+ issue if you require assistance writing a plugin.
49+
3250Configuration
3351-------------
3452
@@ -78,11 +96,6 @@ Document Formatting:
7896
7997.. image :: https://raw.githubusercontent.com/palantir/python-language-server/develop/resources/document-format.gif
8098
81- Installation
82- ------------
83-
84- ``pip install python-language-server ``
85-
8699Development
87100-----------
88101
0 commit comments