1
0
forked from VimPlug/jedi
Commit Graph

169 Commits

Author SHA1 Message Date
Johannes Maria Frank
f7fae4dde7 Added file fuzzy match and refactored 2019-10-22 15:50:16 +01: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
Dave Halter
6baa3ae8e1 Start working on uniting parts of code of file path/dict completion 2019-09-27 09:36:37 +02:00
Johannes Maria Frank
0bbc8d6e9a Added match_method parameter 2019-09-26 09:12:15 +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
e86a2ec566 Small rename 2019-09-08 03:32:47 +02:00
Dave Halter
60a73f6bac Move get_global_filters to the context module 2019-08-23 21:19:17 +02:00
Dave Halter
86f4f7be45 Remove a private access 2019-08-23 11:55:49 +02:00
Dave Halter
9f3a2f93c4 Remove get_statement_of_position. It's not used anymore 2019-08-23 00:13:18 +02:00
Dave Halter
193ba47f50 Simplify get_user_context 2019-08-23 00:10:56 +02:00
Dave Halter
05fe29a156 Get rid of the node_is_value parameter 2019-08-23 00:02:39 +02:00
Dave Halter
faf6752ff8 Move create_context to a context 2019-08-22 22:47:26 +02:00
Dave Halter
eee6810576 Small cleanup of code 2019-08-22 17:20:07 +02:00
Dave Halter
02c96b37db Some more value -> context renames 2019-08-21 09:31:23 +02:00
Dave Halter
8a2b7f18cd Get all tests working except usage tests 2019-08-21 00:50:34 +02:00
Dave Halter
85f8f2a764 Fix os path resolving issues 2019-08-21 00:22:34 +02:00
Dave Halter
0c419a5094 Fix class tests 2019-08-17 23:52:52 +02:00
Dave Halter
2629ff55f3 Fix some array tests 2019-08-17 15:42:13 +02:00
Dave Halter
165639c1dd Start implementing the bulk of the context/value separation 2019-08-16 16:12:12 +02:00
Dave Halter
03920502c4 infer_state -> inference_state 2019-08-16 11:44:30 +02:00
Dave Halter
ad4f546aca context -> value 2019-08-15 01:23:06 +02:00
Dave Halter
a5dff65142 Evaluator -> InferState 2019-08-15 00:37:51 +02:00
Dave Halter
3b4f292464 Move the evaluate package to inference 2019-08-15 00:14:26 +02:00
Dave Halter
4619552589 Evaluation -> type inference 2019-08-13 01:29:50 +02:00
Dave Halter
3d0ac09fc9 Don't add quotes after paths if they are already there 2019-08-10 18:37:10 +02:00
Dave Halter
822394663c Make join detection much easier 2019-08-08 01:04:08 +02:00
Dave Halter
8108122347 Make string additions work for file path completion
With this most simple cases of file path completions should be working now, fixes #493
2019-08-05 01:43:50 +02:00
Dave Halter
e008a515e3 Fix a few more file name completion cases 2019-08-04 22:43:23 +02:00
Dave Halter
fd1e6afd07 A first iteration for file path completions 2019-08-04 13:50:23 +02:00
Dave Halter
fafd6b2ac6 Keyword completions are no longer possible directly after a number, fixes #1085 2019-06-26 15:04:46 +02:00
Dave Halter
5ef0563abe Don't use stub_to_python_context_set anymore 2019-06-10 19:39:26 +02:00
Dave Halter
95f3aed82c Eliminate more actual appearances 2019-06-10 16:16:34 +02:00
Dave Halter
1213b51c66 Imports completions after a semicolon work now 2019-06-02 17:54:00 +02:00
Dave Halter
ac962ea6db Refactor stub completions a bit 2019-05-17 16:21:13 +02:00
Dave Halter
e70c49fea2 Use completions from both stubs and actual modules 2019-05-17 16:04:16 +02:00
Dave Halter
f4c17e578c Make it possible to use goto_definition on "broken" imports 2019-03-27 00:39:51 +01:00
Dave Halter
7856d27724 Clarify something about contexts 2018-10-24 00:45:06 +02:00
Dave Halter
511ba5231a Get an own class for type aliases 2018-08-29 22:46:28 +02:00
Dave Halter
68974aee58 Don't use internal parso APIs if possible 2018-06-29 10:04:03 +02:00
Dave Halter
38474061cf Make jedi work with the next parso release 2018-06-29 09:54:57 +02:00
Dave Halter
ba96c21f83 Follow up from the last async issue, fixes more related things about #1092. 2018-04-24 01:02:31 +02:00
Dave Halter
4e5cbe8832 Some code cleanup 2018-03-20 01:40:16 +01:00
Dave Halter
5d36114be4 Use inspect.Parameter.kind for better differentiation between param types
Refs #292
2018-03-13 22:47:08 +01:00
Dave Halter
f9ec989835 Fix REPL completion param name completion
There were two issues:
1. The filter for parameters was wrong
2. In general the equal sign would not be added in some circumstances
2018-03-13 21:36:04 +01:00
Dave Halter
a7168db1ea Remove unused keyword code 2017-12-26 14:13:56 +01:00
Dave Halter
63edbdcc5b Better context completions for finally/except/else/elif
Fixes #837
2017-09-15 00:48:56 +02:00