Dave Halter
47e2cf95d2
Change ModuleValue param order and add defaults
2020-01-01 17:07:19 +01:00
Dave Halter
66ad620692
Get rid of a lot of flake8 errors
2020-01-01 02:42:31 +01:00
Dave Halter
818577f423
Make sure to get completions for backticks in docstrings work, see #860
2020-01-01 01:53:55 +01:00
Dave Halter
cea7a12908
Some more clarifications around docstrings, see #860
2020-01-01 01:45:58 +01:00
Dave Halter
50c5eb5786
Get doctest completions working, fixes #860
2020-01-01 00:59:44 +01:00
Dave Halter
e4cf9293c2
Clarify a sentence around virtualenv security, see #1250
2019-12-31 19:20:59 +01:00
Dave Halter
83ce8b1162
Make the completions possible for Interpreter objects
2019-12-31 18:34:50 +01:00
Dave Halter
ca13c44788
Make sure to avoid duplicates in completions
2019-12-31 11:16:11 +01:00
Dave Halter
94a97ff8e8
Fix remaining issues with dict completions
2019-12-30 22:59:01 +01:00
Dave Halter
46ac4371df
Make most dict completions possible
2019-12-30 14:15:32 +01:00
Dave Halter
9fa4811425
Get dict completions mostly working
2019-12-30 03:34:18 +01:00
Dave Halter
7e769b87f3
Fix some more dict tests
2019-12-30 00:29:55 +01:00
Dave Halter
c7296ade68
Merge branch 'master' into dict
2019-12-28 12:17:04 +01:00
Dave Halter
4c22f4dbb1
Fix completion for non-pytest params
2019-12-27 13:02:16 +01:00
Dave Halter
31936776a5
Make completion of pytest fixtures possible
2019-12-27 12:29:18 +01:00
Dave Halter
a8782d0070
Make sure param completions work the right way
2019-12-27 11:48:39 +01:00
Dave Halter
f3c8bc10f5
Keyword completion after ... should not work, fixes davidhalter/jedi-vim#506
2019-12-25 14:44:25 +01:00
Dave Halter
9578e4252b
Goto on a function/attribute in a class now goes to the definition in its super class, fixes #1175
2019-12-24 12:49:23 +01:00
Dave Halter
1d17033717
Add support for completion even when __getattr__ is present, fixes #997
2019-12-24 01:44:53 +01:00
Dave Halter
eca8278eef
Fix an error recovery goto issue, fixes davidhalter/jedi-vim#962
2019-12-23 10:09:45 +01:00
Dave Halter
f2a64e24c8
Catch an additional case for get_context where the cursor is e.g. on the function name
2019-12-22 17:35:40 +01:00
Dave Halter
fcf8506531
Add Script().get_context, fixes #253
2019-12-22 17:19:01 +01:00
Dave Halter
22c3beffd0
Fix some issues with Definition.parent()
2019-12-22 15:37:53 +01:00
Dave Halter
290d1c151a
Remove the _Help class completely
2019-12-21 20:07:43 +01:00
Dave Halter
fcede44c2a
Move the docstring checking code to the names
2019-12-21 20:06:37 +01:00
Dave Halter
536fd8c7c0
Add the Script.help function, fixes #392
2019-12-21 12:46:58 +01:00
Dave Halter
5fc308f1f8
call signature -> signature
2019-12-20 19:41:57 +01:00
Dave Halter
bd861e40a8
Rename references file
2019-12-20 19:25:46 +01:00
Dave Halter
e1d787821b
usages -> find_references
2019-12-20 19:23:26 +01:00
Dave Halter
adff6d34a4
goto_assignment -> goto everywhere where it was left
2019-12-20 19:15:41 +01:00
Dave Halter
4bbaec68e8
Make sure goto_definitions is no longer used in the main code
2019-12-20 18:47:04 +01:00
Dave Halter
f90aeceb27
Move names to Script and mark deprecations
2019-12-20 17:55:45 +01:00
Dave Halter
5bf6e7048b
A few renames for readability in the api/completion.py file
2019-12-20 17:40:04 +01:00
Dave Halter
ebe9921208
Try to use the new API names everywhere
2019-12-20 17:29:42 +01:00
Dave Halter
f03c70e577
Refactor run.py to use the new API
2019-12-20 17:25:44 +01:00
Dave Halter
2cc898ba35
Get rid of completions in tests
2019-12-20 16:54:51 +01:00
Dave Halter
2b5af19989
Fix signature issues
2019-12-20 16:14:01 +01:00
Dave Halter
bcf726054e
Make sure the line numbers are validated for the new API methods
2019-12-20 16:00:49 +01:00
Dave Halter
1514695fc1
usages -> find_references, see #1166
2019-12-20 15:46:17 +01:00
Dave Halter
f32b0aebeb
call_signatures -> find_signatures
2019-12-20 15:41:20 +01:00
Dave Halter
6c7b8f669f
goto_definitions -> infer; goto_assignments -> goto, see #1166
2019-12-20 15:35:19 +01:00
Dave Halter
87d5334b9e
completions -> complete, see #1166
2019-12-20 15:30:35 +01:00
Dave Halter
1f4be4bc51
Make sure that goto is used instead of goto_assignments
2019-12-20 14:31:42 +01:00
Dave Halter
45edfbdeeb
Goto definition doesn't work on strings anymore, fixes microsoft/vscode#81520
2019-12-20 10:29:54 +01:00
Dave Halter
41a6591d88
Completions.complete returns None for fuzzy completions #1409
2019-12-15 19:56:56 +01:00
Dave Halter
ec2391c74f
Merge branch 'feature_827_fuzzy_search' of https://github.com/jmfrank63/jedi
2019-12-15 19:08:33 +01:00
Dave Halter
621e280451
Make sure that you can select virtualenvs more precisely, fixes #1407
2019-12-13 21:00:34 +01:00
Shane Steinert-Threlkeld
bd5909e7b2
Find active conda environment and set it as default (if there is one) ( #1440 )
...
* add detection of conda environments
* changed get_default_environment to look for conda
* updated comment on get_default_environment to mention CONDA_PREFIX
* added myself to authors
* simple fix for mistaken conda paths
2019-12-07 01:04:41 +01:00
Dave Halter
700bd12122
Improve call signature detection by a lot
...
Fixes #1399
2019-12-04 23:55:26 +01:00
Dave Halter
8aee1e6213
Make sure that decorator signature completion is working, see #1433
2019-12-03 22:20:38 +01:00