1
0
forked from VimPlug/jedi
Commit Graph

4678 Commits

Author SHA1 Message Date
Dave Halter 04b7c99753 Make CompiledValue lazy
This definitely reduces debug output and it might be slightly faster, because some values are never asked for
2019-08-10 14:36:40 +02:00
Dave Halter 499408657b A python 2 fix 2019-08-08 17:07:54 +02:00
Dave Halter 4ec3fb6e12 Fix an error that occured because of some refactorings 2019-08-08 11:03:27 +02:00
Dave Halter 463cbb1595 Fix one more os.path.join issue 2019-08-08 09:31:13 +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 7c1c4981fb Fix os.path.join static value gathering 2019-08-06 22:48:28 +02:00
Dave Halter 81488bcd20 os.path.sep should always have a clear value 2019-08-06 19:57:16 +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 98a550e352 Python 2 compatibility 2019-08-06 00:42:02 +02:00
Dave Halter 4b8505b78d Make __file__ return the correct value 2019-08-06 00:30:31 +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 38e0cbc1d2 Fix the REPL completer for file path completions 2019-08-04 23:08:25 +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 8ab2a5320e Fix a caching issue 2019-08-01 02:10:46 +02:00
Dave Halter b5a62825ce Forgot the right resolve_stars parameters in one place 2019-07-31 23:05:24 +02:00
Dave Halter ec70815318 Cache getting resolved param names 2019-07-31 22:54:29 +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 ab5f4b6774 Remove a class that is not needed anymore 2019-07-31 18:44:57 +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 7d2374ed81 Fix the last remaining issues with function signature 2019-07-31 18:29:41 +02:00
Dave Halter 97b642a3e1 overloaded_functions should be private 2019-07-31 00:11:08 +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 bb852c3e85 Fix some minor signature issues 2019-07-30 23:48:54 +02:00
Dave Halter 1fbb69b35a Remove the unused function signature_matches 2019-07-30 10:01:50 +02:00
Dave Halter 0352c3250a Fix signatures for __init__ calls when used with supers, fixes #1163 2019-07-30 01:44:53 +02:00
Dave Halter 268f828963 Fix some issues for args resolving in method calls 2019-07-30 01:28:51 +02:00