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
[`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
12
12
13
## Feature Providers
14
+
13
15
*[Jedi](https://github.com/davidhalter/jedi) for Completions, Definitions, Hover, References, Signature Help, and Symbols
14
16
*[Rope](https://github.com/python-rope/rope) for Completions and renaming
15
17
*[Pyflakes](https://github.com/PyCQA/pyflakes) linter to detect various errors
@@ -19,13 +21,16 @@ Python language support for [Atom-IDE](https://ide.atom.io/), powered by the [Py
19
21
*[YAPF](https://github.com/google/yapf) for code formatting
20
22
21
23
## Installation
24
+
22
25
Install the language server with
26
+
23
27
```bash
24
28
pip install python-language-server
25
29
```
26
30
27
31
Verify that everything is correctly installed and `pyls` is on your `PATH` by running `pyls --help` from the command line.
Always feel free to help out! Whether it's [filing bugs and feature requests](https://github.com/lgeiger/ide-python/issues/new) or working on some of the [open issues](https://github.com/lgeiger/ide-python/issues), Atom's [guide for contributing to packages](https://github.com/atom/atom/blob/master/docs/contributing-to-packages.md) will help get you started.
43
+
44
+
Always feel free to help out! Whether it's [filing bugs and feature requests](https://github.com/lgeiger/ide-python/issues/new) or working on some of the [open issues](https://github.com/lgeiger/ide-python/issues), Atom's [guide for contributing to packages](https://github.com/atom/atom/blob/master/docs/contributing-to-packages.md) will help get you started.
39
45
40
46
## License
41
-
MIT License. See [the license](LICENSE.md) for more details.
47
+
48
+
MIT License. See [the license](LICENSE.md) for more details.
"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```"
65
-
}
66
-
)
47
+
atom.notifications.addError("Unable to start the Python language server.",{
"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```"
61
+
})
67
62
);
68
63
returnchildProcess;
69
64
}
@@ -81,9 +76,7 @@ class PythonLanguageClient extends AutoLanguageClient {
81
76
returnnewPromise((resolve,reject)=>{
82
77
lettimeout=setTimeout(()=>{
83
78
clearTimeout(timeout);
84
-
this.logger.error(
85
-
`Server failed to shutdown in ${milliseconds}ms, forcing termination`
86
-
);
79
+
this.logger.error(`Server failed to shutdown in ${milliseconds}ms, forcing termination`);
0 commit comments