1
0
forked from VimPlug/jedi
Commit Graph

913 Commits

Author SHA1 Message Date
Dave Halter 4619552589 Evaluation -> type inference 2019-08-13 01:29:50 +02:00
Dave Halter 467839a9ea execute_evaluated -> execute_with_values 2019-08-13 01:29:50 +02:00
Matthias Bussonnier ecca190462 Remove forgotten debug/print in filename completion. (#1380)
This is in the latest 0.15, and when forwarding path completions to
jedi, print a lot of stuff on the screen.
2019-08-12 12:37:21 +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 3d0ac09fc9 Don't add quotes after paths if they are already there 2019-08-10 18:37:10 +02:00
Dave Halter 03608151e8 Fix more issues with os.path path completion 2019-08-08 01:48:25 +02:00
Dave Halter 822394663c Make join detection much easier 2019-08-08 01:04:08 +02:00
Dave Halter 52517f78b1 Fix some remaining issues with file path completions 2019-08-07 23:00:27 +02:00
Dave Halter a191b7b458 A few more tests for path completions (join) 2019-08-07 21:11:48 +02:00
Dave Halter e68273c0ff Fix quote completions for os.path.join path completions 2019-08-07 20:55:12 +02:00
Dave Halter aeff5faa3d Fix first param argument of os.path.join file completions 2019-08-07 20:39:47 +02:00
Dave Halter 0fd3757a51 Fix arglist/trailer issues 2019-08-07 10:16:05 +02:00
Dave Halter 1b064c1078 in os.path.join completions, directories should not end in a slash 2019-08-07 01:37:58 +02:00
Dave Halter 5726c29385 Make some file path completions in os.path.join work 2019-08-07 01:34:46 +02:00
Dave Halter 99008eef43 Fix string name completion for stuff like dirname and abspath 2019-08-06 19:38:16 +02:00
Dave Halter 3a9dc0ca2e Fix bytes issue with file path adding 2019-08-06 01:08:57 +02:00
Dave Halter b7c2bacbd2 Fix string additions when used in certain ways 2019-08-05 10:11:36 +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 45dada9552 Fix interpeter project path 2019-08-05 00:43:37 +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 8e1417e3ce Add Definition.execute, fixes #1076 2019-08-03 02:01:30 +02:00
Dave Halter 16e0351897 List possible Definition.type in its docstring, fixes #1069. 2019-08-02 21:16:58 +02:00
Dave Halter 6a82f60901 Parameter.kind is not avaialble in Python 3.5 2019-08-02 13:49:01 +02:00
Dave Halter a22c6da89f Add a few docstrings to make some things clearer 2019-08-02 13:16:18 +02:00
Dave Halter 876a6a5c22 Add ParamDefinition.kind, fixes #1361 2019-08-02 13:11:41 +02:00
Dave Halter d58bbce24f Add Signature.to_string() with proper tests, fixes #779, fixes #780 2019-08-02 12:17:13 +02:00
Dave Halter 93b7548f1a Use a helper to create definitions 2019-08-02 10:30:23 +02:00
Dave Halter 24db05841b Add a execute_annotation option to infer_annotation 2019-08-02 10:24:15 +02:00
Dave Halter 375d1d57fb Test infer_annotation 2019-08-02 10:00:17 +02:00
Dave Halter c2e50e1d0d Make it possible for users to infer annotations/defaults
Fixes #1039
2019-08-01 18:27:37 +02:00
Dave Halter 7988c1d11b A first iteration of adding signatures to the API, fixes #1139 2019-08-01 17:48:10 +02:00
Dave Halter a739c17a6f Turn around resolve_stars, it shouldn't by default be resolved 2019-07-31 18:51:31 +02:00
Dave Halter a5a544cb09 Revert "Use __str__ instead of to_string"
This reverts commit 1151700114.
2019-07-31 18:39:17 +02:00
Dave Halter 1151700114 Use __str__ instead of to_string 2019-07-31 00:07:38 +02:00
Dave Halter 75f654b944 Better repr for CallSignature 2019-07-30 23:55:58 +02:00
Dave Halter e85fba844c Fix some call signature tests 2019-07-09 00:46:53 -07:00
Dave Halter 374721b789 Fix a case with errors 2019-07-09 00:04:53 -07:00
Dave Halter 3fb89f9f9b Fix some kwargs cases 2019-07-08 22:38:22 -07:00
Dave Halter a0b4e76c1a Fix some *args issues 2019-07-08 17:03:45 -07:00
Dave Halter 97bf83aa03 Deal better with some error nodes 2019-07-08 14:26:11 -07:00
Dave Halter ca7658cab7 Delete unused code 2019-07-08 13:29:46 -07:00
Dave Halter dd78f4cfbf Fix some error node handling for call signatures 2019-07-08 13:22:07 -07:00
Dave Halter 08019075c3 Fix CallSignature index for a looot of cases, fixes #1364,#1363 2019-07-08 12:40:58 -07:00
Dave Halter 943617a94f Use recursion rather than other stuff 2019-07-05 23:51:24 -07: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 947bfe7b78 Fix an issue with keyword params, fixes #1356 2019-07-03 22:35:46 -07:00
Dave Halter b382f06be0 A better repr for Definition 2019-07-01 19:40:06 -07:00