Dave Halter
d7d9c9642a
Don't use goto_definitions anymore, use infer
2019-12-20 19:06:24 +01:00
Dave Halter
dbb61357c3
Make sure that jedi.names is not references anymore
2019-12-20 18:04:47 +01:00
Dave Halter
2cc898ba35
Get rid of completions in tests
2019-12-20 16:54:51 +01:00
Dave Halter
38460ce9d7
Use complete instead of completions in test_api/
2019-12-20 16:16:01 +01:00
Dave Halter
39605bfa08
Make sure goto_assignments is no longer used on Definition
2019-12-20 14:43:20 +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
f91f655d55
Cleanup fuzzy tests a bit, see #1409
2019-12-15 19:50:43 +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
a6bf49783f
Make sure param annotation completions work
2019-12-14 02:55:11 +01:00
Dave Halter
6b9add4264
Python 2 compatibility
2019-12-13 16:58:56 +01:00
Dave Halter
923fcf95d9
Make sure that __getattr__ is always working with Interpreter
...
fixes #1378
2019-12-13 16:07:38 +01:00
Dave Halter
769b3556d2
Make sure warnings are not shown if a property is executed, fixes #1383
2019-12-13 01:48:56 +01:00
Dave Halter
a2cebc4b92
Make sure docstrings can always be inferred for builtins modules, fixes #1432
2019-12-11 00:06:58 +01:00
Dave Halter
8e33fd1931
Get the context of a class name right, fixes #1396
2019-12-09 09:56:03 +01:00
Dave Halter
759808e8bb
Fix a tuple test
2019-12-05 20:01:27 +01:00
Dave Halter
7e64bfa075
Avoid more Python 2
2019-12-05 17:44:47 +01:00
Dave Halter
54f4bd0bad
Fix issues with interpreter completions on unittest.mock.
...
For 3.6+ an error was ignored that lead to crashes. In 3.5 the OOM killer
eventually arrived...
Fixes #1415
2019-12-05 10:09:22 +01:00
Dave Halter
700bd12122
Improve call signature detection by a lot
...
Fixes #1399
2019-12-04 23:55:26 +01:00
Dave Halter
7254bec92c
Upgrade typeshed to the latest commits
...
Also fixes some small Jedi issues with it (None interpretation in annoations mostly)
2019-12-02 10:14:59 +01:00
Dave Halter
6ffeea7eea
Make sure code_lines works on stubs, even if they are builtins
2019-12-01 19:10:08 +01:00
Dave Halter
0e92be66db
Fix an issue around completions in comments before strings
2019-11-29 13:44:12 +01:00
Johannes Maria Frank
2039ab9a3c
Fixed pytest fixtures for test_api
2019-10-22 16:47:06 +01:00
Johannes Maria Frank
d48816603e
Sorted scandir results to have completions ordered
2019-10-22 16:34:47 +01:00
Johannes Maria Frank
f7fae4dde7
Added file fuzzy match and refactored
2019-10-22 15:50:16 +01:00
Johannes Maria Frank
2653752f9c
Corrected formatting
2019-10-21 15:44:03 +01:00
Johannes Maria Frank
d73f32745d
Fixed bug for python 2
2019-10-10 15:02:00 +02:00
Johannes Maria Frank
1fa678e3fe
Corrected an error in the math fuzzy completion test
2019-10-10 13:23:33 +02:00
Johannes Maria Frank
a84087682d
Adopted results for different python versions
2019-10-10 12:10:19 +02:00
Johannes Maria Frank
48ffc5473a
Added test for math og
2019-10-09 10:37:46 +02:00
Johannes Maria Frank
0b56bf8f08
Added completions test with fuzzy=True
2019-10-04 17:18:01 +01:00
Johannes Maria Frank
85278242c3
Switched to fuzzy boolean
2019-10-02 00:28:31 +01:00
Johannes Maria Frank
8f306953da
Added experimental substring and fuzzysearch
2019-09-26 08:17:30 +01:00
Dave Halter
88ebb3e140
Get a few more tests passing about dict key strings
2019-09-23 21:05:01 +02:00
Dave Halter
954fd56fcc
Get some more dict completions working
2019-09-23 09:21:43 +02:00
Dave Halter
e8afb46cde
Get the first dict completions passing
2019-09-23 09:18:26 +02:00
Dave Halter
a6fcf779d4
Fix a small issue created in #1398
2019-09-21 23:29:07 +02:00
Maxim Cournoyer
96d650cab3
test: test_completion: Dynamically resolve current directory name.
...
This fixes issue #1395 (see:
https://github.com/davidhalter/jedi/issues/1395 ).
* test/test_api/test_completion.py(current_dirname): New variable.
(test_file_path_completions): Use it.
2019-09-19 23:35:18 +02:00
Dave Halter
e179b3e526
Add a test for dict key completions
2019-09-07 02:58:21 +02:00
Dave Halter
a9f1d3d9bb
Reenable a test
2019-09-05 10:09:33 +02:00
Dave Halter
1db3e9a65d
Disable a test in Python2
2019-09-05 10:03:50 +02:00
Dave Halter
286d2c9b1a
Make the order of overloaded functions correct
2019-08-30 01:11:11 +02:00
Matthias Bussonnier
5329f95096
Attempt at a test of completion of filepath after ~.
...
I'm not quite sure how this will behave on windows, and we can't really
create a tempdir (as we don't want to mess with path on home.
One possibility would be to mock/monkeypatch scandir, listdir and
os.path.expanduser or set $HOME in env; but I'm quite unsure we want to
go that route.
2019-08-25 19:55:33 +02:00
Dave Halter
6d361e03ac
Avoid import recursions in other ways
2019-08-24 02:06:57 +02:00
Dave Halter
ecc574025c
Merge branch 'ngates/comprehension-parent' of https://github.com/gatesn/jedi into refactoring
2019-08-23 13:52:25 +02:00
Dave Halter
84f6d95fde
Fix a python 2 dynamic issue
2019-08-21 09:16:48 +02:00
Dave Halter
03920502c4
infer_state -> inference_state
2019-08-16 11:44:30 +02:00
Dave Halter
9986d8c9aa
Context -> Value
2019-08-15 01:26:11 +02:00
Dave Halter
ad4f546aca
context -> value
2019-08-15 01:23:06 +02:00