1
0
forked from VimPlug/jedi
Commit Graph

750 Commits

Author SHA1 Message Date
Dave Halter
118ba7d833 A lot of stuff is not needed anymore, because of the recent refactorings. 2016-06-14 08:31:36 +02:00
Dave Halter
6cf8ca03b2 Goto refactoring. Everything is now so much less complicated. 2016-06-14 00:10:14 +02:00
Dave Halter
a485412af0 Rename goto_definition to goto_definitions. 2016-06-11 23:16:44 +02:00
Dave Halter
c82691a12b Make goto_definitions a lot simpler. 2016-06-11 23:13:04 +02:00
Dave Halter
82c76fa689 Merge with the linter branch (especially the changes of pep484. 2016-06-07 13:51:25 +02:00
Dave Halter
23ff395754 Merge dev and the away branch. 2016-06-07 08:45:26 +02:00
Dave Halter
6b9f96ce13 Keyword completion is now possible in a semantic way. This includes better testing and documentation. 2016-06-06 18:32:00 +02:00
Dave Halter
028d0a2509 After as ther should not follow any completions. 2016-06-06 18:08:45 +02:00
Dave Halter
a74d3d6e9a Remove more unused code. 2016-06-06 09:29:05 +02:00
Dave Halter
87a75fdfe4 Remove old unused code. 2016-06-06 09:27:43 +02:00
Dave Halter
7a170532d9 Now finally all tests are running again (except the repl completion, which is a separate issue). 2016-06-06 09:22:50 +02:00
Dave Halter
6b63b9cf54 Further fixes for failing tests. 2016-06-04 00:59:17 +02:00
Dave Halter
5edcf47512 Break Interpreter completion even more in favor of a better solution in the future. 2016-06-03 19:31:42 +02:00
Dave Halter
ad8d730a57 More test fixes. 2016-05-31 01:12:07 +02:00
Dave Halter
c12dbe0b9e Fix a few tests that failed, because they were not correct python (the context was wrong). 2016-05-30 20:10:17 +02:00
Dave Halter
4f6368e7eb Now ErrorLeaf and ErrorNode are part of the syntax tree. This makes probably sense. The documentation will follow once it's clear how they will shape out. 2016-05-30 00:34:58 +02:00
Dave Halter
daa68b66ad Fix a few issues caused by the refactoring. 2016-05-29 19:49:35 +02:00
Dave Halter
feef45f4bb Fixed all on_import tests. 2016-05-29 12:08:53 +02:00
Dave Halter
4714b464a6 Further import completion improvements. 2016-05-28 02:08:43 +02:00
Dave Halter
e4fe2a6d09 Now some other tests are working again. 2016-05-26 00:35:56 +02:00
Dave Halter
cbba314286 Progress and actually passing a few tests. 2016-05-26 00:10:54 +02:00
Dave Halter
d4a10929e2 Starting to create a way of how context sensitive completions can be made.
This involves playing heavily with the parser pgen2. We use its stack to check for all possible tokens/keywords.
2016-05-23 18:11:44 +02:00
Dave Halter
479b3cfab2 More completion refactoring. Getting the structure for filtering names right. 2016-05-19 12:41:59 +02:00
Dave Halter
5059febed4 Fix an issue with a wrongly refactored name. 2016-05-19 11:49:59 +02:00
Dave Halter
055ff8be23 Readability for completion parts. 2016-05-19 11:33:17 +02:00
Dave Halter
323581e253 Refactor the completion module. 2016-05-19 11:13:42 +02:00
Dave Halter
cfa65a22fa Move the completion specific parts to api/completion.py. 2016-05-19 11:08:37 +02:00
Dave Halter
2e33394adb Move the type inference call of the api to inference.py 2016-05-19 10:40:22 +02:00
Dave Halter
da6486dc6d Start moving api stuff to the inference module. 2016-05-19 10:25:36 +02:00
Dave Halter
a08ad2d53d Further improvements to the interpreter refactoring. 2016-05-19 01:41:06 +02:00
Dave Halter
d93d31feb8 Make a first test working with mixed objects. 2016-05-18 11:49:50 +02:00
Dave Halter
ef314a5c38 Complete writing the full mixed objects module. 2016-05-17 17:44:22 +02:00
Dave Halter
33accb3dc6 It should be possible to pass class.__dict__ to Jedi. 2016-05-16 09:52:45 +02:00
Dave Halter
818730d6ea Fix descriptions for REPL. 2016-05-15 23:32:16 +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
Danilo Bargen
f5e594970a Enhance docs about debugging 2016-03-21 10:40:58 +01:00
Claude
d5f08f8bdd opting for skipping PEP492 backwards compatibility magic, instead directly making await and async keywords
See discussion at
https://github.com/davidhalter/jedi/pull/691#issuecomment-182815864
2016-02-11 19:30:01 +01:00
Dave Halter
eb2e41f771 Grammar versioning has now a smoother interface. 2015-12-25 19:30:25 +01:00
Dave Halter
a373e34229 The parser without error recovery raises an error now if he's not able to parse something. 2015-12-25 18:53:05 +01:00
Dave Halter
5791860861 Actual forward reference annotations are working pretty smooth now. 2015-12-20 22:57:41 +01:00
Dave Halter
c4906e0e3f Rework the parser so we can use arbitrary start nodes of the syntax.
This also includes a rework for error recovery in the parser. This is now just possible for file_input parsing, which means for full files.
Includes also a refactoring of the tokenizer. No more do we have to add an additional newline, because it now works correctly (removes certain confusion.
2015-12-20 22:25:41 +01:00
Dave Halter
7141158484 Merge master into linter. 2015-12-15 12:28:38 +01:00
Dave Halter
7b8d4e86ac The evaluator recursion limitations are now reset in static analysis for each node, otherwise it's incredibly unprecise. 2015-12-13 17:18:19 +01:00
Dave Halter
75ac2b9686 Enable better ways for analysis to analyze loop variables. 2015-12-11 20:25:49 +01:00
Dave Halter
9bd6e6c340 Fix: iterators are working smoothly now. Finally tests are passing again. 2015-12-10 04:37:23 +01:00
Dave Halter
e23f453a11 Fix all remaining issues from the compiled refactoring except static analysis. 2015-12-10 01:48:08 +01:00
Dave Halter
bef5fca516 Refactor compiled.CompiledObject so it always owns an evaluator instance. 2015-12-08 02:19:33 +01:00
Dave Halter
a99368c421 Fix: elifs where not considered for isinstance type inference. 2015-11-25 22:14:23 +01:00
Dave Halter
9dbfb90c20 Fix: Nested flows user scope detection was wrong. 2015-11-25 21:36:17 +01:00
Dave Halter
17ab7bbc3d prepare_goto -> type_inference. 2015-11-25 07:11:48 +01:00