1
0
forked from VimPlug/jedi
Commit Graph

453 Commits

Author SHA1 Message Date
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 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 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 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 45edfbdeeb Goto definition doesn't work on strings anymore, fixes microsoft/vscode#81520 2019-12-20 10:29:54 +01:00
Johannes Maria Frank f61d041830 Switched back to fuzzy off as default 2019-10-22 16:06:46 +01:00
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
Dave Halter 4d332c32c0 Use create_name instead of duplicated logic 2019-09-05 00:04:24 +02:00
Dave Halter 47d6ae3da1 SimpleParamName -> AnonymousParamName 2019-09-04 01:20:44 +02:00
Dave Halter a0cadd9375 Use Context.create_name instead of weird playing with params everywhere 2019-09-02 09:38:54 +02:00
Dave Halter edb17b8e7c Refactor params and what execution contexts need 2019-09-01 14:14:42 +02:00
Dave Halter 6d361e03ac Avoid import recursions in other ways 2019-08-24 02:06:57 +02:00
Dave Halter faf6752ff8 Move create_context to a context 2019-08-22 22:47:26 +02:00
Dave Halter 02c96b37db Some more value -> context renames 2019-08-21 09:31:23 +02:00
Dave Halter 39b294e085 Fix some interpreter issues 2019-08-20 09:09:19 +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 fffb39227e InferState -> InferenceState 2019-08-16 11:43:21 +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
Dave Halter 9e23f4d67b Move base_context -> base_value 2019-08-15 00:41:02 +02:00
Dave Halter a5dff65142 Evaluator -> InferState 2019-08-15 00:37:51 +02:00
Dave Halter 8157d119a7 eval_ -> infer_ 2019-08-15 00:20:01 +02:00
Dave Halter 3b4f292464 Move the evaluate package to inference 2019-08-15 00:14:26 +02:00
Dave Halter c3d40949b1 Make it possible to access properties again
This time we catch all exceptions and try to avoid issues for the user.

This is only happening when working with an Interpreter. I don't feel this is
necessary otherwise.

See #1299
2019-08-11 16:24:19 +02:00
Dave Halter 45dada9552 Fix interpeter project path 2019-08-05 00:43:37 +02:00
Dave Halter fd1e6afd07 A first iteration for file path completions 2019-08-04 13:50:23 +02:00
Dave Halter d579c0ad57 Even more refactorings 2019-07-05 15:24:39 -07:00
Dave Halter 76c6104415 small name refactoring 2019-07-05 14:35:48 -07:00
Dave Halter ef9d803ce3 Refactor some call details 2019-07-05 14:30:59 -07:00
Dave Halter b85c0db72e Fix a typo 2019-06-19 18:32:09 +02:00
Dave Halter 097b073d20 Undo the tensorflow speedups, because they seem to cause more harm than good, see #1116 2019-06-12 10:00:45 +02:00
Dave Halter 7f3e55df02 Fix conversion for contexts 2019-06-10 18:56:37 +02:00
Dave Halter c8937ccdbf Add only_stubs and prefer_stubs as parameters to goto_assignments/goto_definitions 2019-06-10 15:59:12 +02:00
Dave Halter fcf214b548 Start using file io when opening random modules 2019-05-31 23:42:19 +02:00