Update docs about the default version of Python used for completion
Jedi now picks the version of Python running the ycmd server.
This commit is contained in:
parent
5c722bbfbb
commit
0ac80ab619
@ -1146,9 +1146,9 @@ present so we'd love to hear your feedback! Please do remember to check
|
|||||||
### Python Semantic Completion
|
### Python Semantic Completion
|
||||||
|
|
||||||
YCM relies on the [Jedi][] engine to provide completion and code navigation. By
|
YCM relies on the [Jedi][] engine to provide completion and code navigation. By
|
||||||
default, it will pick the latest version of Python available on your system and
|
default, it will pick the version of Python running the [ycmd server][ycmd] and
|
||||||
use its default `sys.path`. While this is fine for simple projects, this needs
|
use its `sys.path`. While this is fine for simple projects, this needs to be
|
||||||
to be configurable when working with virtual environments or in a project with
|
configurable when working with virtual environments or in a project with
|
||||||
third-party packages. The next sections explain how to do that.
|
third-party packages. The next sections explain how to do that.
|
||||||
|
|
||||||
#### Working with virtual environments
|
#### Working with virtual environments
|
||||||
|
@ -1375,10 +1375,10 @@ for the list of diagnostics we'll need.
|
|||||||
Python Semantic Completion ~
|
Python Semantic Completion ~
|
||||||
|
|
||||||
YCM relies on the Jedi [12] engine to provide completion and code navigation.
|
YCM relies on the Jedi [12] engine to provide completion and code navigation.
|
||||||
By default, it will pick the latest version of Python available on your system
|
By default, it will pick the version of Python running the ycmd server [46] and
|
||||||
and use its default 'sys.path'. While this is fine for simple projects, this
|
use its 'sys.path'. While this is fine for simple projects, this needs to be
|
||||||
needs to be configurable when working with virtual environments or in a project
|
configurable when working with virtual environments or in a project with third-
|
||||||
with third-party packages. The next sections explain how to do that.
|
party packages. The next sections explain how to do that.
|
||||||
|
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
*youcompleteme-working-with-virtual-environments*
|
*youcompleteme-working-with-virtual-environments*
|
||||||
|
Loading…
Reference in New Issue
Block a user