1
0
forked from VimPlug/jedi
Commit Graph

222 Commits

Author SHA1 Message Date
Dave Halter bd304d33c7 Get rid of Function's get_magic_function_X, they are not used anymore. 2015-01-08 14:17:33 +01:00
Dave Halter 83a94c12c9 Correct global name issues. 2015-01-08 01:20:53 +01:00
Dave Halter f5e687bc22 Use names_dicts now for all completions. 2015-01-07 23:49:13 +01:00
Dave Halter c451c0b29e Private variable filtering improved. 2015-01-07 14:44:19 +01:00
Dave Halter 987121ae5c Filter names in a separate function so that it can be used for both completion and name lookups. 2015-01-07 13:56:35 +01:00
Dave Halter ec76d57679 Start using names_dicts for completion as well. 2015-01-07 01:49:38 +01:00
Dave Halter 36819b3241 Filtering private variables seems to be working now at least in the evaluation engine. 2015-01-02 01:50:14 +01:00
Dave Halter 1fb13837c4 Fix import completion issues. 2014-12-18 02:55:03 +01:00
Dave Halter 7f95a9806a api cleanup. 2014-12-16 18:13:49 +01:00
Dave Halter 9431d89797 Imports cleanup. 2014-12-15 16:07:43 +01:00
Dave Halter f2d35c3ff1 Reenable star import caching. 2014-12-15 15:19:22 +01:00
Dave Halter c3106c10ef Fix flow's AttributeError detection. 2014-12-11 19:26:49 +01:00
Dave Halter d11ea73ef4 Re-enable AttributeError/NameError detection for more complicated occurances than just statements. 2014-12-11 19:18:00 +01:00
Dave Halter 6818d3affa Implement Import.is_nested method. 2014-12-11 16:17:07 +01:00
Dave Halter 6406bfb3c2 First static analysis test working. 2014-12-11 15:42:16 +01:00
Dave Halter 003d1249c5 empty import statement completion. 2014-12-11 15:24:19 +01:00
Dave Halter c4c3ef5a21 goto_definition on a name definition (statement) should land on the statement. 2014-12-11 12:48:23 +01:00
Dave Halter 48d2e99e55 os.path handling. 2014-12-11 01:49:59 +01:00
Dave Halter bb7bbf51ec Deprecate jedi.defined_names in favor of jedi.names. 2014-12-11 00:41:36 +01:00
Dave Halter 51d309b0a8 Moved keyword completion around to get it working in all cases. 2014-12-08 15:52:05 +01:00
Dave Halter 01b9361b33 Reenable keyword completion. 2014-12-08 15:14:27 +01:00
Dave Halter 5cc9dd57a6 Finally fixed the last on_import issue, which was that goto was not working on incomplete import statements. Still a bit messy, though. 2014-12-08 15:02:35 +01:00
Dave Halter 034d782e65 Last few on_import fixes. 2014-12-08 14:15:21 +01:00
Dave Halter 6cc4d71822 Import completion improvements. 2014-12-08 13:47:23 +01:00
Dave Halter dffce937f2 With the old parser we did more complicated checking for invalid statements, now the new parser does it by itself. Therefore we can stop doing crazy regex stuff in the API. 2014-12-08 00:52:40 +01:00
Dave Halter f0c430e20c On import problem with name completion of modules. 2014-12-08 00:16:01 +01:00
Dave Halter b24bf29fc2 Fixed named argument call signature stuff and issues with classes and call signature params. 2014-12-07 23:55:44 +01:00
Dave Halter ea4f7053d6 Fix completion/definition.py tests. 2014-12-07 14:13:59 +01:00
Dave Halter e1e5c3a6c7 Progress with call signatures. 2014-12-07 13:56:40 +01:00
Dave Halter 24903739f2 A first implementation of call signatures. 2014-12-05 16:05:54 +01:00
Dave Halter 09ad3411da Goto fixes. 2014-12-03 17:01:29 +01:00
Dave Halter 6bf154de5e Better goto for imports, which helps usages. 2014-12-03 16:15:31 +01:00
Dave Halter 3928f466cf Fix positioning of the user statements. 2014-11-29 16:20:12 +01:00
Dave Halter cd7044cae3 Don't use NotFoundError anymore, since it's very ambiguous what that would imply. 2014-11-29 15:57:18 +01:00
Dave Halter e1d6511f2f Trying to move the indent/dedent logic back into the tokenizer. 2014-11-28 02:04:04 +01:00
Dave Halter cd1e07a532 The now passing on_import tests should not worsen the performance of the other tests. 2014-11-26 03:11:22 +01:00
Dave Halter f24a3bf997 Fix on_import tests. 2014-11-26 03:07:41 +01:00
Dave Halter a940c31a86 Improvments to on import completion. 2014-11-26 02:13:24 +01:00
Dave Halter 149b4d8ad5 Import completion on syntactically correct imports. 2014-11-26 01:15:40 +01:00
Dave Halter 5d82b11f59 First implementation to be ready to complete corrupt imports. Working ok. 2014-11-25 19:35:27 +01:00
Dave Halter 9f45f18ad1 Added a grammar param to the parser. 2014-11-24 01:10:39 +01:00
Dave Halter c152a1c58b Actually replace tree with representation (in all the imports). 2014-11-23 19:46:52 +01:00
Dave Halter f1cbd45575 Usages are pretty solid now except for parser issues. 2014-11-22 15:43:23 +01:00
Dave Halter eb0bfb4381 get_code in Definition.description should not return first prefix. 2014-11-21 15:33:38 +01:00
Dave Halter f604066288 First small implementation of goto. 2014-11-21 14:21:00 +01:00
Dave Halter bb9d6b4832 Temporarily disable on import completion. Not sure if we're going to do it with the normal parser. 2014-11-19 13:24:45 +01:00
Dave Halter afca0ef047 The user context parser should ignore keywords if they are not standing alone. 2014-10-30 01:56:08 +01:00
Dave Halter 1c09a90ac1 Disable usage of filter_private_variable for now. 2014-10-28 17:00:12 +01:00
Dave Halter 0def3afaaa A move function for Nodes. 2014-10-12 23:37:46 +02:00
Dave Halter 3bf1fec568 Start implementing an algorithm for actually evaluating the parser tree. 2014-10-10 11:29:22 +02:00