Commit Graph
100 Commits
Author SHA1 Message Date
David Halter ea7692e66b doc@api.Script 2012-09-15 16:04:17 +02:00
David Halter 9e7e5293d8 pep8 2012-09-15 16:02:39 +02:00
David Halter 7e62c47f22 functions -> api 2012-09-15 15:49:42 +02:00
David Halter e184bb441c huge functions refactoring 2012-09-15 15:44:51 +02:00
David Halter c3eab377f7 additional get_in_function_call tests 2012-09-15 12:12:27 +02:00
David Halter a56bc17f2c showing function calls works now. jedi is now offically *awesome*! 2012-09-15 11:33:20 +02:00
David Halter 3ac2b89fcf showing function params basically works - fine tuning needed 2012-09-15 04:14:58 +02:00
David Halter 9b7d82a251 showing function params working now on both sides, but not joined 2012-09-15 03:57:22 +02:00
David Halter 4a23a1d533 _scan_array didn't search for all names 2012-09-14 22:25:57 +02:00
David Halter fd37ae53f2 parsing refactorings, because the errors were not catched the right way 2012-09-14 21:00:57 +02:00
David Halter b073440369 jedi-vim preparations for showing function params 2012-09-14 19:54:34 +02:00
David Halter 444e4fd466 sys path modifications working not only on imports, but on everything 2012-09-14 04:03:32 +02:00
David Halter 9a2ec13230 sys path modifications 2012-09-14 03:05:31 +02:00
David Halter 65064b1312 vim: goto jumps now appear at the top of the screen 2012-09-14 00:44:16 +02:00
David Halter eb30530c06 removed unused code 2012-09-13 15:26:25 +02:00
David Halter 6f0cbf18db again all sort of import related stuff, relative imports work now! fixes #2 2012-09-13 15:03:10 +02:00
David Halter c2d1b2d865 readme 2012-09-13 02:29:41 +02:00
David Halter 77839b0a7d if tokenize died, the wrong tokenizer was created again 2012-09-13 02:29:17 +02:00
David Halter 1a4de1bc68 getattr() / __getattribute__ / __getattr__ implementation 2012-09-13 02:09:50 +02:00
David Halter dd8d1217c6 lgpl license, closes #5 2012-09-12 23:31:20 +02:00
David Halter d0406b416d fixed ModuleNotFound error 2012-09-12 23:19:53 +02:00
David Halter 0322aceeca fixed remainig problems with imports. detected with py3k 2012-09-12 22:56:29 +02:00
David Halter 44c96e5b98 typos 2012-09-12 22:32:43 +02:00
David Halter 119455c3b3 cleaned up and fixed most cases of import related stuff, fixes #2 2012-09-12 21:36:16 +02:00
David Halter 139eb1d642 vim: catch if get_definition is returning a keyword 2012-09-12 12:27:32 +02:00
David Halter 0024ab802b Merge pull request #10 from tek/dev
expand a:path when opening a new file with :edit by @tek
2012-09-12 01:55:30 -07:00
David Halter 74e90bf1d6 builtin modules should not be renamed 2012-09-12 01:27:25 +02:00
David Halter ebc81a1952 discussed in issue #7 2012-09-12 01:10:52 +02:00
David Halter a5d9d4e189 add param for rename function to switch each case as discussed in #7 2012-09-11 10:10:33 +02:00
David Halter 05cff2f27e readme description of the new functions 2012-09-11 01:38:08 +02:00
David Halter 2ceba101df tabs are now the default, buffers are not practical for renaming 2012-09-11 01:29:37 +02:00
David Halter dc1d660154 renaming in multiple files 2012-09-11 01:27:49 +02:00
David Halter 1001cc5e05 vim: prevent renames from happening, if they are empty. 2012-09-11 01:08:09 +02:00
David Halter 75ccf0a5d1 fix for renamings at the line end 2012-09-10 23:55:42 +02:00
David Halter 6920f15caf renames are now possible = refactoring 2012-09-10 23:29:32 +02:00
David Halter 0a8338f73d get_definition on import statements talked about in issue #7 2012-09-10 14:48:59 +02:00
David Halter 440eae7c15 sorted output for get_definition / goto 2012-09-10 14:07:54 +02:00
David Halter a4a8c8f343 working related_names function 2012-09-10 13:49:43 +02:00
David Halter a96d8dbad4 vim plugin works now also in doctests 2012-09-10 11:45:32 +02:00
David Halter 1a009e6adb fixed problems with import statements in refactorings 2012-09-10 11:26:14 +02:00
David Halter 6e0cc7f15f fixed one off bug for all tests 2012-09-10 11:25:47 +02:00
David Halter a93f695b7d again refactorings 2012-09-10 11:06:31 +02:00
David Halter b29fdbdfde refactorings for related_names 2012-09-10 10:22:18 +02:00
David Halter ad8164e067 corrected wrong goto test 2012-09-10 00:57:03 +02:00
David Halter da3c327af7 get_related_names testing 2012-09-10 00:52:01 +02:00
David Halter 47262ea45e get_related_names:statements should work for now 2012-09-09 22:09:19 +02:00
David Halter e97df2f2ac testing for related names (renaming). with first tests 2012-09-09 21:19:51 +02:00
David Halter 143870fc38 same bugfix for generators (bug due to Name interface change) 2012-09-09 20:49:26 +02:00
David Halter 7a49bb4496 bugfix for imports (bug due to Name interface change) 2012-09-09 20:46:52 +02:00
David Halter abbc001a37 removed duplicate goto stuff 2012-09-09 20:42:35 +02:00
David Halter 4a88243b18 get_related_names basically working, without testing though 2012-09-09 20:32:03 +02:00
David Halter 8cdc5cc9bd renaming first steps 2012-09-09 15:01:48 +02:00
David Halter 740dffebfa reversed mixin 2012-09-08 23:47:58 +02:00
David Halter b16c4c5b83 python SystemError got fixed -> http://hg.python.org/cpython/rev/0db75a55145a & http://bugs.python.org/issue15846 2012-09-08 23:16:42 +02:00
David Halter 82a79154cf Merge remote-tracking branch 'origin/master' into dev 2012-09-08 23:16:35 +02:00
David Halter 8a9ee19464 Merge pull request #9 from tek/master
show_pydoc chokes when more than one python syntax file exists by @tek
2012-09-08 14:07:13 -07:00
David Halter 844e222ed5 cleanup 2012-09-06 11:23:12 +02:00
David Halter 61cb267dd5 vim-jedi does now the help stuff by itself 2012-09-06 02:45:46 +02:00
David Halter 18686c1d63 is_py3k() -> is_py3k 2012-09-06 02:38:57 +02:00
David Halter 0008e2c703 python 2.5 compatibility 2012-09-06 02:35:38 +02:00
David Halter 8ebb1fbbfe compatibility 2012-09-06 02:26:24 +02:00
David Halter d30c0e7e34 forgot to add the new keywords module 2012-09-06 02:19:11 +02:00
David Halter 30c61befba fixed travis test bug 2012-09-06 02:17:53 +02:00
David Halter a5cb308d1f further regression tests 2012-09-06 02:14:04 +02:00
David Halter a238985ed8 pydoc works now with operators and keywords 2012-09-06 01:55:52 +02:00
David Halter 730dfdc012 added additional security to get_definition tests 2012-09-06 00:08:41 +02:00
David Halter eb79942a81 added regression tests. with tests for user scopes 2012-09-05 23:49:51 +02:00
David Halter a6340f6f1f added K to quit the help window, which makes it easy to toggle the help window 2012-09-05 23:39:40 +02:00
David Halter ca0b903891 user_scopes are now valid even in multi-line class/def initializations 2012-09-05 23:38:33 +02:00
David Halter 3371153879 bugfix for functions with get_definition on them 2012-09-05 23:22:43 +02:00
David Halter f9462b3cbb default debug ignored modules 2012-09-05 22:24:41 +02:00
David Halter b567f9e62a from now on vim-jedi is only accessible for python scripts 2012-09-05 22:23:39 +02:00
David Halter 7f40a9b86c vim-jedi pydoc: better formatting 2012-09-05 17:54:38 +02:00
David Halter 081d20d0cf fixed py3k exception 2012-09-05 16:19:00 +02:00
David Halter d3f36e2ddf cleaned up the mess in the Definition class 2012-09-05 15:22:40 +02:00
David Halter abcd3f328a pydoc works now also if the cursor is on the class / created context possibility for completions (backward tokenizer) 2012-09-05 14:23:08 +02:00
David Halter 37df49d598 indexing a particular position with a test is now also possible with get_definition and complete 2012-09-05 11:01:07 +02:00
David Halter 20b3c3c82b showing pydoc with VIM plugin 2012-09-05 10:07:51 +02:00
David Halter 1b1e18a9e5 get_definition is again in vim plugin (issue #7) 2012-09-05 09:01:11 +02:00
David Halter 686c675b6d get_definitions -> get_definition 2012-09-04 18:47:07 +02:00
David Halter cf953c9d02 python 2.5 compatibility, use for loop, not the next function 2012-09-04 18:22:11 +02:00
David Halter 268196086b added functool mixins 2012-09-04 18:15:33 +02:00
David Halter b111c56b06 added _weakref mixins 2012-09-04 16:21:17 +02:00
David Halter 778899af86 introduced std library tests (only regex for now) and a working _sre mixin, which is used by the module 2012-09-04 15:59:24 +02:00
David Halter f47ae1ad4f fixed a dynamic array bug, that was created, because of the InstanceElement changes 2012-09-04 15:55:38 +02:00
David Halter 51ee262706 ducktyping tests 2012-09-04 15:37:37 +02:00
David Halter db7c2fc6e7 added a scope generator for instances, which is necessary, because instance variables have priority over class vars 2012-09-04 15:25:08 +02:00
David Halter 3cc5c60f02 tried to clean up the mess of Instances and InstanceElements 2012-09-04 14:53:32 +02:00
David Halter e359eb5898 print on errors at the end, not start 2012-09-04 12:16:01 +02:00
David Halter 0e467146d5 InstanceElement changes -> know if it is a class var 2012-09-04 10:35:58 +02:00
David Halter fc788bc7bf changed get_parent_until method 2012-09-04 09:43:59 +02:00
David Halter 20bf5d2bf5 debug messages are now only active for non-test-results 2012-09-04 09:04:34 +02:00
David Halter 37df118519 InstanceElement cleanup, not all tests pass, though 2012-09-04 08:54:13 +02:00
David Halter a5d1427b09 method was needed 2012-09-03 17:40:34 +02:00
David Halter d143024408 added dict.get, because it returned tuples (don't ask why) 2012-09-03 17:00:37 +02:00
David Halter 77dac95ee0 weakref problem, references were killed to early 2012-09-03 16:59:12 +02:00
David Halter 663d808f9f removed complexity of builtin scope 2012-09-03 16:20:20 +02:00
David Halter 1775843e23 refined docstr parsing for builtins, because psycopg2 didn't run, even so I thought it would. 2012-09-03 15:11:16 +02:00
David Halter c725b6624b fixed a sys.path issue disscussed in github issue #7 2012-09-03 14:07:35 +02:00
David Halter c3bdd00a8c rename psycopg2 test 2012-09-03 14:05:26 +02:00