You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+18-4Lines changed: 18 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ Python language support for [Atom-IDE](https://ide.atom.io/), powered by the [Py
8
8
9
9
## Requirements
10
10
11
-
[`ide-python`](https://atom.io/packages/ide-python) requires [Atom `1.21+`](https://atom.io/) and the [`atom-ide-ui`](https://atom.io/packages/atom-ide-ui) package to expose the functionality within Atom.
11
+
[`ide-python`](https://atom.io/packages/ide-python) requires [Atom `1.21+`](https://atom.io/), [Python language server 0.17+`](https://github.com/palantir/python-language-server) and the [`atom-ide-ui`](https://atom.io/packages/atom-ide-ui) package to expose the functionality within Atom.
12
12
13
13
## Feature Providers
14
14
@@ -18,16 +18,21 @@ Python language support for [Atom-IDE](https://ide.atom.io/), powered by the [Py
18
18
*[McCabe](https://github.com/PyCQA/mccabe) linter for complexity checking
19
19
*[pycodestyle](https://github.com/PyCQA/pycodestyle) linter for style checking
20
20
*[pydocstyle](https://github.com/PyCQA/pydocstyle) linter for docstring style checking
21
+
*[autopep8](https://github.com/hhatto/autopep8) for code formatting (preferred over YAPF)
21
22
*[YAPF](https://github.com/google/yapf) for code formatting
22
23
23
24
## Installation
24
25
25
-
Install the language server (we recommend version `0.14.0` or newer) with
26
+
### Language Server
27
+
28
+
Install the language server (we recommend version 0.17.0 or newer) with:
26
29
27
30
```bash
28
-
pip install python-language-server
31
+
pip install 'python-language-server[all]'
29
32
```
30
33
34
+
This command will install the language server and all supported feature providers, which can be enabled or disabled in the settings. Checkout the [official installation instructions](https://github.com/palantir/python-language-server#installation) on how to install only the providers you need.
35
+
31
36
Verify that everything is correctly installed and `pyls` is on your `PATH` by running `pyls --help` from the command line.
32
37
It should return
33
38
@@ -41,11 +46,20 @@ Python Language Server
41
46
42
47
Depending on your Python setup `pyls` may be installed in a non default folder. In this case either add the directory to your `PATH` or edit the "Python Language Server Path" setting of `ide-python` to point to the `pyls` executable.
43
48
49
+
### Atom Package
50
+
51
+
Install `ide-python` and [`atom-ide-ui`](https://atom.io/packages/atom-ide-ui) from _Install_ in Atom's settings or run:
52
+
53
+
```bash
54
+
apm install atom-ide-ui
55
+
apm install ide-python
56
+
```
57
+
44
58
## Configuration
45
59
46
60
Configuration is loaded from zero or more configuration sources.
47
61
48
-
*`pycodestyle` (default): discovered in `~/.config/pycodestyle`, `setup.cfg`, `tox.ini` and `pycodestyle.cfg`
62
+
*`pycodestyle`: discovered in `~/.config/pycodestyle`, `setup.cfg`, `tox.ini` and `pycodestyle.cfg`
49
63
*`flake8`: discovered in `~/.config/flake8`, `setup.cfg`, `tox.ini` and `flake8.cfg`
50
64
51
65
Overall configuration is computed first from user configuration (in home directory), overridden by configuration in the `ide-python` settings, and then overridden by configuration discovered in the current project.
Copy file name to clipboardExpand all lines: lib/main.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -63,7 +63,7 @@ class PythonLanguageClient extends AutoLanguageClient {
63
63
}
64
64
],
65
65
description:
66
-
"This can occur if you do not have Python installed or if it is not in your path.\n\n Make sure to install `pyls` by running:\n```\npip install python-language-server\n```"
66
+
"This can occur if you do not have Python installed or if it is not in your path.\n\n Make sure to install `pyls` by running:\n```\npip install 'python-language-server[all]'\n```"
0 commit comments