1
0
forked from VimPlug/jedi
Commit Graph

63 Commits

Author SHA1 Message Date
Peter Law
664b10a5c6 Update mypy to the latest
This includes updating the ignore comments for things which mypy
now knows about or now complains about, as well as pulling in some
typeshed packages for things outside the standard library.
2023-02-13 19:40:16 +00:00
Peter Law
b892c07841 Merge branch 'master' into mypy 2020-07-26 12:25:19 +01:00
Dave Halter
9d1587a41d Don't need to inherit from object anymore 2020-07-26 00:11:57 +02:00
Peter Law
a2d9fbcd42 Ignore this runtime-only import
I've queried this in https://github.com/python/typeshed/issues/4360,
though I suspect the answer is going to be to have an ignore comment
like this.
2020-07-24 20:25:55 +01:00
Dave Halter
ef96c4c66b Remove __future__ usages 2020-07-02 03:15:07 +02:00
Dave Halter
c39326616c A lot of improvements for the features & limitations docs 2020-03-19 01:04:48 +01:00
Dave Halter
50be49544d Move indent_block to common 2020-02-19 09:15:39 +01:00
Dave Halter
b1d3c7ef52 Move indent_block to a separate utils 2020-02-18 18:50:40 +01:00
Dave Halter
5bf6e7048b A few renames for readability in the api/completion.py file 2019-12-20 17:40:04 +01:00
Johannes Maria Frank
f7fae4dde7 Added file fuzzy match and refactored 2019-10-22 15:50:16 +01:00
Dave Halter
38e0cbc1d2 Fix the REPL completer for file path completions 2019-08-04 23:08:25 +02:00
Daniel Hahler
10b61c41f4 Some minor flake8 fixes 2018-07-16 23:41:42 +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
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
54a8db503d Fix shell completion issues and documentation
This issue was raised in #990. The completer was never used in Python3.4+,
because it was overwritten by Python's completer. Oddly enough it has always
worked in Python2.7/3.3.

The documentation was also slightly modified. os.path.join was always a
complex beast.
2018-03-09 22:39:00 +01:00
Dave Halter
d986c44b94 Merge with master
The deprecation of Python2.6 and the insertion of environments made it quite difficult to merge.
2018-01-20 19:32:59 +01:00
Dave Halter
882f8029ea Use split_lines and python_bytes_to_unicode directly. 2017-09-03 18:38:00 +02:00
Dave Halter
f9e31dc941 Refactor splitlines -> split_lines. 2017-08-15 19:55:50 +02:00
Dave Halter
50c7137437 splitlines and source_to_unicode are utils of parso. 2017-05-20 09:55:16 -04:00
Dave Halter
ce0a02f6c1 Fix an issue with executed python objects. 2016-12-17 14:08:49 +01:00
Dave Halter
7c5e75f31b Make it possible to debug the REPL. 2016-08-02 23:21:53 +02:00
Dave Halter
aeb734564c Finally fix all tests. 2016-07-25 00:15:58 +02:00
Dave Halter
7f2f66f011 Trying to refactor the completion stack finding. 2016-07-24 17:06:54 +02:00
Dave Halter
73e71b3c1a Finally able to remove the user_context. This is awesome!
Now we only use the syntax tree to understand where the user is doing something.
2016-06-23 16:26:28 +02:00
Dave Halter
ad8d730a57 More test fixes. 2016-05-31 01:12:07 +02:00
Dave Halter
cc331d62e0 Get closer to fixing a lot of issues with the completion for repl. 2016-05-15 14:26:22 +02:00
Dave Halter
91710e0310 Versions should be PEP440 compatible, fixes #521. 2015-01-05 13:15:34 +01:00
Dave Halter
36de8c427f moved more functions from api to helpers 2014-01-29 00:28:31 +01:00
Dave Halter
a9efa3db33 make utils feel more pythonic 2014-01-14 00:02:09 +01:00
Dave Halter
7dff41c6b7 added a utils.version_info function to make it easy to check Jedi's version. #350 2014-01-13 21:40:16 +01:00
David Halter
a1e232bcbf fix local imports in repl completion 2013-08-17 22:43:20 +04:30
David Halter
878f88b4b9 don't repeat all the things written in the readline all the time 2013-08-17 19:48:32 +04:30
David Halter
2097eca646 hit tab once in readline instead of twice 2013-08-17 19:25:54 +04:30
David Halter
1ce4babe36 fix a problem in readline completion with upper/lower cases 2013-08-17 19:19:47 +04:30
David Halter
e46d33be90 move completion to interpreter, which improves shell completion 2013-08-17 10:49:23 +04:30
David Halter
4b0465a2d1 REPL completion deletes the line sometimes, fixes #293 2013-08-16 10:00:52 +04:30
David Halter
8b5e130e55 fix a problem with setup_readline, using __dict__ instead of a simple dir(), #280 2013-08-16 01:38:58 +04:30
David Halter
17d7870b3b first import tests for repl completion, #280 2013-08-15 14:25:28 +04:30
David Halter
6718020fac failing import tests for #280 2013-08-15 14:10:41 +04:30
David Halter
c4e07cae11 rename name_with_signs to name_with_symbols 2013-08-15 14:04:08 +04:30
David Halter
d6e9732064 added a method 'api_classes.Completion.name_with_signs', because this is important for #280 2013-08-15 13:56:43 +04:30
David Halter
5c0dec6106 test of repl autocompletion, #280 2013-08-15 13:36:12 +04:30
David Halter
9a3ea38b1c use builtin repl completion after all, but written by us not the std lib module, which doesn't seem to work really, #280 2013-08-15 12:47:10 +04:30
Aaron Meurer
5e81fc22e1 Skip doctests that are just completion examples 2013-08-10 11:20:31 -06:00
Aaron Meurer
754835bec5 Add some print statements to the .pythonrc.py example 2013-08-10 10:34:30 -06:00
Aaron Meurer
1ac6d779a1 Cleanup to the Jedi .pythonrc.py example 2013-08-10 10:28:09 -06:00
Aaron Meurer
8b3a62a76f Indent code blocks in the docstring 2013-08-10 00:50:26 -06:00
Aaron Meurer
7c53988bae Note that you have to add PYTHONSTARTUP to your profile 2013-08-10 00:44:30 -06:00
Aaron Meurer
6f9da26593 Show how to fallback to regular readline completion 2013-08-10 00:43:37 -06:00
Aaron Meurer
c60fd21805 Don't make it sound like Jedi has to be installed with pip 2013-08-10 00:42:34 -06:00