1
0
forked from VimPlug/jedi
Commit Graph

168 Commits

Author SHA1 Message Date
Dave Halter
78973a9f35 Move execute_evaluated to HelperContextMixin 2019-06-11 17:46:30 +02:00
Dave Halter
65d5c6eb2b Disable some more tests in Python 2 2019-06-07 02:45:48 +02:00
Dave Halter
94dfe7bf69 Use even more stubs to get more complex completions for e.g. strings working 2019-06-07 02:37:51 +02:00
Dave Halter
6cdde65052 Fix an issue with namedtuples 2019-05-31 15:21:03 +02:00
Dave Halter
f9eedfbf64 Remove FUNCTION_CLASS, in favor of a typeshed solution 2019-05-19 14:19:30 +02:00
Dave Halter
eb0977b700 helpers.is_compiled -> context.is_compiled 2019-05-05 20:55:18 +02:00
Dave Halter
3c74b9bf10 Remove some code that is not necessary anmore, because of an improvment in get_parent_scope 2019-04-13 01:57:50 +02:00
Dave Halter
05eb06d91b Merge remote-tracking branch 'origin/master' into typeshed 2019-04-13 01:52:15 +02:00
forest93
1e12e1e318 Make get_module_names return top-level async functions when all_scopes=False. 2019-04-11 23:38:55 +08:00
Dave Halter
31442ecb3b Merge branch 'master' into typeshed 2019-04-09 22:58:30 +02:00
Dave Halter
2ad652a071 Fix a few more goto_definition error_node imports 2019-03-28 09:34:57 +01:00
Dave Halter
f4c17e578c Make it possible to use goto_definition on "broken" imports 2019-03-27 00:39:51 +01:00
Dave Halter
2a9e678877 Merge branch 'master' into typeshed 2019-02-27 13:13:17 +01:00
Dave Halter
94f2677752 Fix names selection and params, fixes #1283 2019-02-26 00:20:33 +01:00
immerrr
1e8674b51c get_module_names: fix "all_scopes=False" handling
Previously, names defined within the scope of first-level classes or functions
were returned.
2018-10-18 14:47:20 +03:00
Dave Halter
75a02a13d9 Use ContextSet closer to they way how Python's set works 2018-09-24 20:30:57 +02:00
Dave Halter
62df944c47 Fix a few issues with the newly defined CompiledValue 2018-09-17 02:10:27 +02:00
Dave Halter
fe78fa9850 Move to using py__getitem__ and py__simple_getitem__
This change is necessary to handle more complex cases with py__getitem__
2018-08-13 18:42:09 +02:00
Dave Halter
7a48fdc5f6 Move execute_evaluated to a helper function 2018-08-05 01:28:03 +02:00
Dave Halter
71cea7200b Don't use invalid escape sequences in regex, see https://github.com/davidhalter/jedi-vim/issues/843 2018-07-12 21:13:26 +02:00
Dave Halter
2b1cbe4d42 Fix a bug about fstring completion 2018-07-02 01:26:17 +02:00
Dave Halter
88243d2408 Don't catch IndexError where we don't have to 2018-04-20 01:46:32 +02:00
Dave Halter
8149eabdf9 Remove something that obviously never happened 2018-01-28 20:56:04 +01:00
Dave Halter
d7de3f3fec Fix pep0484 comments 2017-12-29 03:29:29 +01:00
Dave Halter
c43009d5dc Do more comparisons in the subprocess 2017-12-26 13:38:47 +01:00
Dave Halter
5f2b49d039 Merge branch 'master' into virtualenv 2017-12-18 01:41:29 +01:00
Dave Halter
02fb73655c Fix a slice test with a better helper function 2017-11-26 22:18:51 +01:00
Dave Halter
7263d8565b Add an access abstraction (only array tests work, yet)
The access abstraction will be the new way of accessing builtin objects. This way it will be easier to move that to another process
2017-11-25 19:47:49 +01:00
langsamer
1428b67c4d Replace TODO by explanation of the parameter 'cut_own_trailer'
(it cannot be dropped!) (#978)
2017-10-29 02:00:28 +02:00
Robin Roth
88cf592c95 Make goto work with await
Created together with @langsamer and @davidhalter
2017-10-28 14:10:05 +02:00
Dave Halter
e62d89bb03 Move the is_string etc functions to the helpers module. 2017-09-28 14:28:07 +02:00
Dave Halter
d584b698b7 Move eval_element and eval_stmt to the syntax tree module. 2017-09-27 18:14:04 +02:00
Dave Halter
5415a6164f Starting to try to move some functions away from Evaluator.
This time eval_trailer.
2017-09-27 16:21:02 +02:00
Dave Halter
a0bf465aee Fix an issue in stdlib path checking. 2017-09-07 01:10:54 +02:00
Dave Halter
d2b4e0511f Ignore stdlib paths for dynamic param inference. 2017-09-07 00:09:14 +02:00
Dave Halter
9bca3d39f5 Actually use parso now instead of Jedi. 2017-05-19 14:20:14 -04:00
Dave Halter
536e62e67d Move is_scope and get_parent_scope out of the parser. 2017-05-07 14:58:53 +02:00
Dave Halter
ac8ed62a77 Remove FakeName since it's not actually used anymore. 2017-04-20 09:52:31 +02:00
Dave Halter
a0b65b52c6 used_names -> get_used_names(). 2017-04-12 08:56:11 +02:00
Dave Halter
448bfd0992 Move the python parser tree. 2017-03-16 17:20:32 +01:00
Dave Halter
98185d530e Simplify deep_ast_parser a lot. 2017-01-12 21:51:02 +01:00
Dave Halter
9cbfb76eb5 Fix getting the names for specific scopes in jedi.names. 2016-12-17 17:50:41 +01:00
Dave Halter
5c52c7fb45 Completely remove names_dicts from the diff parser. 2016-12-17 17:15:44 +01:00
Dave Halter
589e1906e4 Cleanup the finder. 2016-12-17 16:59:21 +01:00
Dave Halter
dfc06dfe83 A lot of small bug fixes. 2016-12-02 15:08:54 +01:00
Dave Halter
f6070496ad Fixes to the isinstance tests. 2016-11-28 09:34:59 +01:00
Dave Halter
bad1f85f8f Improvements towards arrays / predefined names logic. 2016-11-25 23:31:45 +01:00
Dave Halter
7ed1c95737 Fix dynamic param tests. 2016-11-24 00:11:26 +01:00
Dave Halter
06efc8fb8c Fixing lambdas. 2016-11-20 22:09:45 +01:00
Dave Halter
05581714d9 Fix goto tests. 2016-11-17 23:28:47 +01:00