Dave Halter
473dbb0f69
Create separate classes for FakeSequence
2019-08-25 14:31:15 +02:00
Dave Halter
51912db46a
Remove _FakeArray, because it's no longer needed
2019-08-25 13:58:35 +02:00
Dave Halter
41dc514546
Enable a sys path test that is working now
2019-08-25 13:20:37 +02:00
Dave Halter
e3d2bce7ff
Reenable some tests
2019-08-25 02:37:52 +02:00
Dave Halter
9b21c02819
Add a method implementation, that doesn't seem to be used, but it might one day be.
2019-08-24 14:50:59 +02:00
Dave Halter
c94bce315a
Merge branch 'refactoring'
2019-08-24 14:38:45 +02:00
Dave Halter
8beea77bc8
Merge branch 'master' of github.com:davidhalter/jedi
2019-08-24 14:34:09 +02:00
Dave Halter
9290b7291b
get_param -> get_executed_param_name
2019-08-24 14:33:19 +02:00
Dave Halter
4969b52ddf
Reuse a function
2019-08-24 14:18:08 +02:00
Dave Halter
06a6cea02d
DynamicExecutedParams -> DynamicExecutedParamName
2019-08-24 14:14:45 +02:00
Dave Halter
9469533b9f
Make InstanceExecutedParam a ParamName
2019-08-24 14:08:11 +02:00
Dave Halter
98d0fc632e
Some more renames
2019-08-24 14:02:04 +02:00
Dave Halter
622db8d2d7
Actually start using names for executed param names
2019-08-24 13:52:50 +02:00
Dave Halter
0619d58cd3
search_params -> search_param_names
2019-08-24 13:47:19 +02:00
Dave Halter
b1d2f2462b
get_executed_params_and_issues -> get_executed_param_names_and_issues
2019-08-24 13:45:47 +02:00
Dave Halter
bccc85f453
Remove a strange comment
2019-08-24 13:41:41 +02:00
Dave Halter
4db6793719
Remove an isisinstance check that is no longer needed
2019-08-24 13:40:03 +02:00
Dave Halter
ec6fa0c97c
Differentiate between a public name and an internal string_name
2019-08-24 13:35:15 +02:00
Dave Halter
8b1f35a8b1
Use get_kind in ExecutedParam
2019-08-24 13:20:53 +02:00
Dave Halter
e7020bea3d
Use infer_annotation only from param name
2019-08-24 13:09:00 +02:00
Dave Halter
bb3eb23864
Move docstring param recognizing
2019-08-24 12:32:50 +02:00
Dave Halter
88cf198552
Avoid function executions if they are not necessary
...
This also means that annotations are prefered to docstring types
2019-08-24 12:23:33 +02:00
Dave Halter
e0f26dd7a1
get_function_execution -> as_context
2019-08-24 11:16:20 +02:00
Dave Halter
d913d7d701
Don't use filter_name for global completions
2019-08-24 11:02:45 +02:00
Dave Halter
dd6befdc52
Cosmetics
2019-08-24 03:22:26 +02:00
Dave Halter
c1d8454f0c
Finally get rid of NameFinder
2019-08-24 03:21:00 +02:00
Dave Halter
c4b0b45a1d
Move the isinstance checks out of finder
2019-08-24 03:09:40 +02:00
Dave Halter
eba088b049
Move some static analysis details out of finder
2019-08-24 02:51:11 +02:00
Dave Halter
ba67d384c1
Remove predefined_names from value, it's not needed anymore
2019-08-24 02:41:10 +02:00
Dave Halter
ba9c318d22
Move predefine_names to context
2019-08-24 02:39:51 +02:00
Dave Halter
ce3ec4eecb
Rename value -> context for some more places
2019-08-24 02:36:29 +02:00
Dave Halter
e148d5120f
Move some finder stuff around
2019-08-24 02:28:58 +02:00
Dave Halter
3828532065
Move a debugging statement out of finder
2019-08-24 02:13:52 +02:00
Dave Halter
6d361e03ac
Avoid import recursions in other ways
2019-08-24 02:06:57 +02:00
Dave Halter
250ac77f4a
Remove a check that is not needed
2019-08-24 01:11:31 +02:00
Dave Halter
ddb2ccb657
Move error handling for py__getattribute__
2019-08-24 00:59:48 +02:00
Dave Halter
bd24ee2ab3
Move a paragraph
2019-08-24 00:46:16 +02:00
Dave Halter
b13a9f7d5b
Trying to move towards unifying goto and py__getattribute__
2019-08-24 00:18:48 +02:00
Dave Halter
fcec30dff6
Use py__getattribute__alternatives instead of overwriting py__getattribute__
2019-08-23 23:04:17 +02:00
Dave Halter
0992dc7ae9
Move __getattr__ and __getattribute__ logic to instance
...
Now getattr warnings might be wrong
2019-08-23 21:59:01 +02:00
Dave Halter
60a73f6bac
Move get_global_filters to the context module
2019-08-23 21:19:17 +02:00
Dave Halter
a9d8f389a9
Avoid using get_global_filters if it's not needed
2019-08-23 20:56:00 +02:00
Matthias Bussonnier
9a3f41e63b
Complete path after ~.
...
Note this is mostly to discuss as if I understood one of your message on
Twitter, this was not possible without fuzzy completion.
I tried with just this patch and that works great.
Note that unlike IPython that right now does :
~/<tab> -> /Full/Path/to/user/home
But with this patch this just complete things correctly without
expanding the tab. And I think not expanding the tab is actually better.
Anyway, open that to better understand the why you were waiting for
fuzzy completion.
2019-08-23 17:57:12 +02:00
Dave Halter
3fcecb3d6d
Move the filter search to a different place
2019-08-23 16:29:13 +02:00
Dave Halter
ead0964282
_get_origin_scope is no longer really used
2019-08-23 16:21:14 +02:00
Dave Halter
0cbd1e6cff
Avoid passing of contexts in multiple ways for self name filters
2019-08-23 15:45:26 +02:00
Dave Halter
b38da47981
Prefer readability
2019-08-23 15:33:15 +02:00
Dave Halter
c393a406ee
Refactoring of the contexts to properly use inheritance
2019-08-23 15:28:55 +02:00
Dave Halter
7573e2033a
Fix comprehension parent issues, fixes #1215
2019-08-23 14:34:16 +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