1
0
forked from VimPlug/jedi
Commit Graph

184 Commits

Author SHA1 Message Date
Takafumi Arakaki 9490730d59 Treat case like f() 2013-03-10 21:27:34 +01:00
Takafumi Arakaki a25aa884d6 Make Script.definition work inside function call 2013-03-10 21:27:34 +01:00
Takafumi Arakaki 0a09d8a813 Refactor function_definition 2013-03-10 21:27:34 +01:00
Takafumi Arakaki a02940f3c1 Rename api.get_definitions to defined_names
Do the same for Definition.get_definitions also.
2013-03-10 20:40:52 +01:00
Takafumi Arakaki 39feecee04 Add new API: jedi.api.get_definitions 2013-03-10 20:40:14 +01:00
Takafumi Arakaki 9ba9e2c3a6 Make doctest work on Python 2.5 2013-02-26 10:58:24 +01:00
Takafumi Arakaki 95a98c9033 Do not use >>> for non-doctest code example
Use literal block instead.
2013-02-26 10:36:08 +01:00
David Halter b0c3fd5439 api.Script.get_definition -> definition, to be consistent in the api naming. deprecated api.Script.get_definition 2013-02-21 22:12:51 +04:30
David Halter f8e0c78f77 Script.get_in_function_call -> Script.function_definition 2013-02-21 22:05:39 +04:30
David Halter f2cdf03e6e fixed dict problems 2013-02-20 22:44:02 +04:30
David Halter 06a54f30a8 some renaming fixes 2013-02-19 00:32:47 +04:30
David Halter 1b7fc1ee50 fixes for goto 2013-02-19 00:21:04 +04:30
David Halter c3fe5d04dd line_offset to offset in Parser, which is important for exact positioning 2013-02-18 23:17:41 +04:30
David Halter 52b32a01c1 move default arguments [] to (), because mutable may be dangerous (especially in a recursive environment 2013-02-11 01:21:51 +01:00
David Halter 5722cd2382 fix parts of helpers.search_function_definition 2013-02-10 22:40:28 +01:00
David Halter 70f07320aa Statement.get_assignment_details -> get_commands (makes more sense) 2013-02-08 16:19:05 +01:00
David Halter 6c0a0e889c fix start_pos of multiple elements 2013-02-08 15:14:43 +01:00
David Halter 650b96dbda improve docstrings of evaluate 2013-02-05 18:21:38 +01:00
David Halter 1474dcb91c other modules also adapt to the new evaluate_representation now 2013-02-05 17:09:57 +01:00
David Halter b3a0249475 fix the remaining refactoring problems 2013-02-05 16:38:39 +01:00
David Halter bc08ea9630 renamed all occurences of parsing 2013-02-05 16:29:39 +01:00
David Halter 95c5b9a5e3 parsing.PyFuzzyParser -> Parser 2013-02-04 16:18:24 +01:00
David Halter 6d733f124d remove old unused function 2013-01-15 00:18:59 +01:00
David Halter f3f7eacae3 fix a little problem with import keyword autocompletion 2013-01-14 22:35:32 +01:00
David Halter 35e55fab25 improved import statement keyword autocompletion, #111 2013-01-14 22:32:34 +01:00
David Halter c16c66d895 improve debugging speed messages 2013-01-12 00:49:54 +01:00
David Halter 2efb93273a merged module_cache into parser_cache 2013-01-11 23:19:22 +01:00
David Halter 1017db903c basic pickle implementation #102 2013-01-11 22:00:03 +01:00
David Halter 8987ecf3a8 forgot some fragments of CachedModule.cache 2013-01-08 12:53:02 +01:00
David Halter de45c277c1 broke the api again (unintentionally) 2013-01-07 20:55:05 +01:00
David Halter f192259383 use absolute paths as the default for 'Script' 2013-01-07 14:29:34 +01:00
David Halter 082db3fdbd scan_array_for_pos -> search_function_call, which makes much more sense 2013-01-07 14:11:45 +01:00
David Halter 54ac9b3292 add __repr__ to api.Script 2013-01-07 01:07:49 +01:00
David Halter 48c04b2fcd move script in refactorings to be the default first parameter 2013-01-06 01:57:02 +01:00
David Halter 4b98321796 Merge branch 'dev' of github.com:davidhalter/jedi into dev 2013-01-05 14:33:06 +01:00
David Halter f3e71a220f basic exctract refactoring (not working yet) 2013-01-05 14:22:24 +01:00
Danilo Bargen c14feb3f86 Renamed quick_complete to _quick_complete 2013-01-05 01:48:39 +01:00
David Halter 3f5e9d6bca some docstring improvements 2013-01-04 20:07:20 +01:00
David Halter 903626f4f9 change default sorting of related names to a more natural 2013-01-04 14:46:42 +01:00
Danilo Bargen 12b726c5a5 Added quick_complete convenience function 2013-01-03 23:10:35 +01:00
Danilo Bargen a4e1fe47fd Improved plugin api documentation 2013-01-02 20:10:59 +01:00
David Halter 19084616ea sphinx: update api return types 2012-12-29 20:39:55 +01:00
David Halter 1700b37f64 same_name_completions -> _same_name_completions, #97 2012-12-29 20:20:26 +01:00
David Halter 86f37261a2 the bool variable of #97 was defined wrong, fixes #97 2012-12-29 20:07:45 +01:00
David Halter 968f9bdf60 fix completion duplication problem with upper/lower case 2012-12-29 02:18:05 +01:00
David Halter 406233b62d ignore duplicates of completion outputs, #97 2012-12-29 01:59:34 +01:00
David Halter 3f90055c69 improve docs again 2012-12-27 19:48:19 +01:00
David Halter d7e06b1d69 add an api docstring again 2012-12-27 19:18:38 +01:00
David Halter 464685f433 move docsring of api.py to __init__.py 2012-12-27 19:07:49 +01:00
David Halter 4c2c86ae72 ignore completion in import aliases 2012-12-27 16:22:25 +01:00