Skip to content

Commit 102d577

Browse files
author
Mikhail Arkhipov
authored
Jedi 0.12 (#1418)
* 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
1 parent 157f392 commit 102d577

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

85 files changed

+4525
-2613
lines changed

news/1 Enhancements/1400.md

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Intergrate Jedi 0.12. See https://github.com/davidhalter/jedi/issues/1063#issuecomment-381417297 for details.

news/2 Fixes/1033.md

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fix go to definition functionality across files.

pythonFiles/completion.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -570,7 +570,7 @@ def _process_request(self, request):
570570
if lookup == 'definitions':
571571
defs = []
572572
try:
573-
defs = self._get_definitionsx(script.goto_assignments(follow_imports=False), request['id'])
573+
defs = self._get_definitionsx(script.goto_definitions(follow_imports=False), request['id'])
574574
except:
575575
pass
576576
try:

pythonFiles/jedi/__init__.py

+5-1
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,12 @@
3636
good text editor, while still having very good IDE features for Python.
3737
"""
3838

39-
__version__ = '0.11.1'
39+
__version__ = '0.12.0'
4040

4141
from jedi.api import Script, Interpreter, set_debug_function, \
4242
preload_module, names
4343
from jedi import settings
44+
from jedi.api.environment import find_virtualenvs, find_system_environments, \
45+
get_default_environment, InvalidPythonEnvironment, create_environment, \
46+
get_system_environment
47+
from jedi.api.exceptions import InternalError

0 commit comments

Comments
 (0)