Skip to content

Commit

Permalink
Jedi 0.12 (#1418)
Browse files Browse the repository at this point in the history
* Undo changes

* Test fixes

* Increase timeout

* Remove double event listening

* Remove test

* Revert "Remove test"

This reverts commit e240c3f.

* Revert "Remove double event listening"

This reverts commit af573be.

* #1096 The if statement is automatically formatted incorrectly

* Merge fix

* Add more tests

* More tests

* Typo

* Test

* Also better handle multiline arguments

* Add a couple missing periods

[skip ci]

* Undo changes

* Test fixes

* Increase timeout

* Remove double event listening

* Remove test

* Revert "Remove test"

This reverts commit e240c3f.

* Revert "Remove double event listening"

This reverts commit af573be.

* Merge fix

* #1257 On type formatting errors for args and kwargs

* Handle f-strings

* Stop importing from test code

* #1308 Single line statements leading to an indentation on the next line

* #726 editing python after inline if statement invalid indent

* Undo change

* Move constant

* Harden LS startup error checks

* #1364 Intellisense doesn't work after specific const string

* Telemetry for the analysis enging

* PR feedback

* Fix typo

* Test baseline update

* Jedi 0.12

* Priority to goto_defition

* News
  • Loading branch information
Mikhail Arkhipov authored Apr 17, 2018
1 parent 157f392 commit 102d577
Show file tree
Hide file tree
Showing 85 changed files with 4,525 additions and 2,613 deletions.
1 change: 1 addition & 0 deletions news/1 Enhancements/1400.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Intergrate Jedi 0.12. See https://github.com/davidhalter/jedi/issues/1063#issuecomment-381417297 for details.
1 change: 1 addition & 0 deletions news/2 Fixes/1033.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix go to definition functionality across files.
2 changes: 1 addition & 1 deletion pythonFiles/completion.py
Original file line number Diff line number Diff line change
Expand Up @@ -570,7 +570,7 @@ def _process_request(self, request):
if lookup == 'definitions':
defs = []
try:
defs = self._get_definitionsx(script.goto_assignments(follow_imports=False), request['id'])
defs = self._get_definitionsx(script.goto_definitions(follow_imports=False), request['id'])
except:
pass
try:
Expand Down
6 changes: 5 additions & 1 deletion pythonFiles/jedi/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,12 @@
good text editor, while still having very good IDE features for Python.
"""

__version__ = '0.11.1'
__version__ = '0.12.0'

from jedi.api import Script, Interpreter, set_debug_function, \
preload_module, names
from jedi import settings
from jedi.api.environment import find_virtualenvs, find_system_environments, \
get_default_environment, InvalidPythonEnvironment, create_environment, \
get_system_environment
from jedi.api.exceptions import InternalError
Loading

0 comments on commit 102d577

Please sign in to comment.