1
0
forked from VimPlug/jedi
Commit Graph

68 Commits

Author SHA1 Message Date
Johannes Maria Frank
d48816603e Sorted scandir results to have completions ordered 2019-10-22 16:34:47 +01:00
Johannes Maria Frank
f7fae4dde7 Added file fuzzy match and refactored 2019-10-22 15:50:16 +01:00
Johannes Maria Frank
2653752f9c Corrected formatting 2019-10-21 15:44:03 +01:00
Johannes Maria Frank
d73f32745d Fixed bug for python 2 2019-10-10 15:02:00 +02:00
Johannes Maria Frank
1fa678e3fe Corrected an error in the math fuzzy completion test 2019-10-10 13:23:33 +02:00
Johannes Maria Frank
a84087682d Adopted results for different python versions 2019-10-10 12:10:19 +02:00
Johannes Maria Frank
48ffc5473a Added test for math og 2019-10-09 10:37:46 +02:00
Johannes Maria Frank
0b56bf8f08 Added completions test with fuzzy=True 2019-10-04 17:18:01 +01:00
Dave Halter
a9f1d3d9bb Reenable a test 2019-09-05 10:09:33 +02:00
Dave Halter
1db3e9a65d Disable a test in Python2 2019-09-05 10:03:50 +02:00
Dave Halter
6d361e03ac Avoid import recursions in other ways 2019-08-24 02:06:57 +02:00
Dave Halter
3b4f292464 Move the evaluate package to inference 2019-08-15 00:14:26 +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
eef02e5c56 Fix generator issues for typing 2019-06-08 01:50:38 +02:00
Dave Halter
4176af337f A few Python 2 fixes 2019-05-18 01:09:09 +02:00
Dave Halter
fa17681cf6 Goto definitions goto stubs now have a proper implementation 2019-04-03 00:28:15 +02:00
Dave Halter
7c56052d58 Make infer public on classes 2019-04-01 09:25:00 +02:00
Dave Halter
e2ab4c060f Move all the gradual typing stuff into one folder 2018-12-24 17:40:47 +01:00
Dave Halter
add33f5f80 Fix grammar cache problems, because multiple grammars were potentially loaded 2018-12-16 13:14:05 +01:00
Dave Halter
ab872b9a34 Fix some tests 2018-09-05 00:10:25 +02:00
Dave Halter
2500112f6c Don't follow builtin imports anymore by default when follow_imports is on (goto) 2018-07-04 00:01:03 +02:00
Dave Halter
60da6034c0 Fix some code_lines issues 2018-03-17 19:41:26 +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
Hugo
3e8cd9f128 Use set literals 2018-01-07 10:40:36 +02:00
Hugo
cc623218e5 Replace function call with set literal 2018-01-07 10:40:06 +02:00
Dave Halter
68381e09c9 Move the last test out of test_regressions and delete the file
This also deletes a test that probably has become useful because the issue it tested was caused by code that doesn't exist anymore
2017-12-29 20:38:30 +01:00
Dave Halter
01ffd2f981 Move most of the regression tests into other test files 2017-12-29 20:26:53 +01:00
Dave Halter
38cacba385 Differentiate between different Python versions in a specific test 2017-12-29 16:09:48 +01:00
Dave Halter
5efd67758e Start replacing Script calls with a fixture
This is important to migrate all tests to specific fixtures.
2017-12-29 15:51:16 +01:00
Dave Halter
4a544c29ea Fix a follow_imports (goto) issue. 2017-09-11 23:32:10 +02:00
Dave Halter
619acbd2ca Goto didn't work well on imports in __init__.py files.
Fixes #956.
2017-09-11 21:48:37 +02:00
Dave Halter
381fedddb4 Fix get_line_code().
Fixes #948.
2017-09-09 18:28:05 +02:00
Dave Halter
ef6a1ca10f Fix an issue with choosing the right lines in get_line_code. Refs #948. 2017-09-09 18:10:53 +02:00
Dave Halter
b9271cf5a5 Use the parser_cache correctly. 2017-05-26 13:43:18 -04:00
Dave Halter
76529ca34d The parser_cache contents have changed. Therefore adapt. 2017-05-26 12:52:52 -04:00
Dave Halter
9bca3d39f5 Actually use parso now instead of Jedi. 2017-05-19 14:20:14 -04:00
Dave Halter
35fd1c70bd Rename parser.utils to parser.cache. 2017-03-30 01:57:48 +02:00
Dave Halter
8059c3c2c8 Save a module instead of a parser when pickling. 2017-03-30 00:55:04 +02:00
Dave Halter
9341df11bf Fix the issues that were changed by removing start_pos from the api classes. 2017-01-04 22:24:25 +01:00
Dave Halter
01099ce5a9 Create a name for the generators. 2017-01-04 18:12:33 +01:00
Dave Halter
cd23499fbe Fix param issues in goto definition. 2017-01-04 08:58:29 +01:00
Dave Halter
4e62e98539 Fix an issue with displaying attribute errors. 2016-12-18 21:37:15 +01:00
Dave Halter
6940900c58 A lot more fixes - fix all evaluate integration tests. 2016-12-03 22:17:38 +01:00
Dave Halter
ebd080a0fd Implement goto_assignments(follow_imports=True). Fixes #382. 2016-08-03 18:05:08 +02:00
Dave Halter
5f064a2a0a Add a way to get the line in a BaseDefinition. Fixes #518. 2016-07-31 20:37:48 +02:00
Dave Halter
7f2f66f011 Trying to refactor the completion stack finding. 2016-07-24 17:06:54 +02:00
Dave Halter
b5bd8496b0 Fix the errors for the old octal tests. 2016-07-18 19:28:01 +02:00
Dave Halter
52c42c3392 Reenable call signature caching and move a lot of parser specific caching to the parser itself. 2016-06-28 08:46:29 +02:00
Dave Halter
1355ea01b3 Simplify completions further to eventually get rid of user_context. 2016-06-22 09:15:32 +02:00
Dave Halter
b036c88b73 True in Python 2 is still not a keyword, but a name. 2015-03-06 00:42:57 +01:00