Dave Halter
|
4bb41b6096
|
A property can raise an Exception, therefore the interpreter completion should check for those exceptions, fixes #538.
|
2015-03-24 15:26:00 +01:00 |
|
Dave Halter
|
b036c88b73
|
True in Python 2 is still not a keyword, but a name.
|
2015-03-06 00:42:57 +01:00 |
|
Dave Halter
|
a3c2108ecf
|
Fix and test CallSignature.bracket_start.
|
2015-03-04 12:15:43 +01:00 |
|
Dave Halter
|
1ce96f2581
|
More fixes for ExprStmt docstrings.
|
2015-03-03 18:08:24 +01:00 |
|
Dave Halter
|
40e61fc96d
|
Fix ExprStmt docstring bugs.
|
2015-03-03 17:42:49 +01:00 |
|
Dave Halter
|
ea8209d45e
|
Call signatures should not fail when used on if(.
|
2015-02-27 12:17:44 +01:00 |
|
Dave Halter
|
53490991d7
|
Goto_definitions bug fix -> imports stuff.
|
2015-02-27 11:56:36 +01:00 |
|
Dave Halter
|
1bc9ac1c00
|
Goto bug fix.
|
2015-02-27 11:37:49 +01:00 |
|
Dave Halter
|
8c08a4e574
|
Call signatures again: function definitions and other things that cannot be a part of call signatures stop the process of scanning for them. Also strings get replaced and simplified.
|
2015-02-25 13:33:09 +01:00 |
|
Dave Halter
|
48392a7dac
|
Fix some issues in call signatures.
|
2015-02-24 16:55:33 +01:00 |
|
Dave Halter
|
b8386d29d5
|
Whitespace before brackets should still show call signatures.
|
2015-02-24 01:48:25 +01:00 |
|
Dave Halter
|
6e5ba3de87
|
Fix remaining issue siwh the Param refactoring.
|
2015-02-11 01:40:18 +01:00 |
|
Dave Halter
|
28d3ba6c04
|
Fix a test about regex goto, don't know how that one even worked in the first place.
|
2015-02-09 12:35:20 +01:00 |
|
Dave Halter
|
e6b9111749
|
Python 2.7 compatibility.
|
2015-01-13 02:12:49 +01:00 |
|
Dave Halter
|
ef0958a43c
|
Temporarily change the behavior of a defined names test. Hard to say how we really want it to behave.
|
2014-12-11 00:44:31 +01:00 |
|
Dave Halter
|
bb7bbf51ec
|
Deprecate jedi.defined_names in favor of jedi.names.
|
2014-12-11 00:41:36 +01:00 |
|
Dave Halter
|
7cc2a07cd3
|
Small full_name improvements.
|
2014-12-08 12:38:59 +01:00 |
|
Dave Halter
|
8868b87d42
|
Make imports stuff in API classes work. Now goto on imports follows even aliases.
|
2014-12-08 12:04:09 +01:00 |
|
Dave Halter
|
0ad6aeba6b
|
Fix some API classes issues. Among them call signature generation and Definition.parent() issues.
|
2014-12-08 02:32:43 +01:00 |
|
Dave Halter
|
6ad9c5ee76
|
Small fixes to the parser tests.
|
2014-12-08 00:58:28 +01:00 |
|
Dave Halter
|
0c77e9960a
|
NotFoundError doesn't really exist anymore. We're deprecating it, so change the corresponding tests.
|
2014-12-08 00:48:06 +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
|
ab254bbcba
|
Call signature search progress.
|
2014-12-05 00:23:59 +01:00 |
|
Dave Halter
|
8ca48f03db
|
Tests for imports and is_definition.
|
2014-10-02 11:14:03 +02:00 |
|
Dave Halter
|
99d35e57b6
|
Fix alias usages in goto_assignments.
|
2014-09-19 13:42:47 +02:00 |
|
Dave Halter
|
ed56f73836
|
Care for nested imports in goto_assignments.
|
2014-09-19 12:14:29 +02:00 |
|
Dave Halter
|
fc5f73861c
|
Fix issues with the os module.
Using a try/finally assures that the recursion checkers work the right way.
|
2014-09-19 10:59:24 +02:00 |
|
Dave Halter
|
83d2af5138
|
First imports are working with goto.
|
2014-09-19 01:21:17 +02:00 |
|
Dave Halter
|
610b2fc832
|
tests for goto on imports.
|
2014-09-19 00:49:22 +02:00 |
|
Dave Halter
|
7b0bb83d16
|
Change the behavior of eval_statement_element and follow_call_path. Arrays should only be looked at in the latter.
|
2014-09-18 23:44:11 +02:00 |
|
Dave Halter
|
69e6139527
|
Goto on named params in class calls is now working.
|
2014-09-18 20:11:58 +02:00 |
|
Dave Halter
|
ba80e35204
|
Test for an issue with named params in class calls (instead of functions).
|
2014-09-18 13:30:52 +02:00 |
|
Dave Halter
|
9fa6a86a19
|
Tests for Definition.is_definition().
|
2014-09-17 18:17:22 +02:00 |
|
Dave Halter
|
0eea30f227
|
NamePart migration of Definition is complete. Now Completion.
|
2014-09-10 18:29:10 +02:00 |
|
Dave Halter
|
2aa538999e
|
Removed an old test from the days where it was allowed to add Keywords to Definitions.
|
2014-09-10 18:05:04 +02:00 |
|
Dave Halter
|
43cf1d451f
|
Python 2/3 compatibility issues that were not resolved in the latest commit.
|
2014-09-09 17:51:39 +02:00 |
|
Dave Halter
|
87aa76678a
|
Goto should work on named params, too.
|
2014-09-09 16:48:53 +02:00 |
|
Dave Halter
|
740fd0657f
|
Add a goto_assignments test for named params
|
2014-09-09 00:06:24 +02:00 |
|
Dave Halter
|
0dcb91d236
|
Add a Definition.is_definition function to be able to check if a name is a definition or not.
|
2014-09-08 23:44:35 +02:00 |
|
Dave Halter
|
851717a968
|
Publicize jedi.names and add a first test.
|
2014-09-08 22:39:47 +02:00 |
|
Dave Halter
|
ca536baf9b
|
Last fixes, because of the Name.get_definition change. The recent parser.representation changes are now fully working and we're ready to improve Evaluator.goto again.
|
2014-09-06 13:23:00 +02:00 |
|
Dave Halter
|
ece9fdf4ae
|
Fixing most of the issues that existed, because of the recent Name.get_definition/Call.name.parent change.
|
2014-09-06 13:02:52 +02:00 |
|
Dave Halter
|
bcc84820fe
|
Fix issues with unreachable flows.
This benefits static analysis as well as autocompletion: Unreachable code (things like code within 'if 0:') should still be resolveable.
|
2014-09-03 00:05:37 +02:00 |
|
Dave Halter
|
8bde89cc58
|
Fix the remaining issues with the StatementElement.next refactoring.
|
2014-08-19 00:12:14 +02:00 |
|
Dave Halter
|
fb1dba269a
|
re-enable the interpretation of the None keyword
|
2014-08-12 14:38:56 +02:00 |
|
Dave Halter
|
7b4a188948
|
fix a few small issues that remained in the tests
|
2014-07-31 17:34:35 +02:00 |
|
Dave Halter
|
81f3b940e8
|
dicts should not be used to check against in get_defined_names, because they cannot contain a defined name (lists and tuples can) so just ignore them., fixes #417
|
2014-07-18 15:37:10 +02:00 |
|
Dave Halter
|
4626a8b6df
|
test for #417
|
2014-07-18 15:23:47 +02:00 |
|
Fredrik Bergroth
|
d3ac1e902e
|
Always cast pr to er in _follow_statements_imports
|
2014-06-11 23:49:36 +02:00 |
|
Dave Halter
|
b5b79fc818
|
partial support for *args/**kwargs in CallSignature.index, fixes #395
|
2014-05-05 00:12:43 +02:00 |
|