Commit Graph

1289 Commits

Author SHA1 Message Date
Dmitry Jemerov
1f93de012c complete keyword arguments also for implicitly resolved function calls (PY-5126) 2012-01-12 14:10:56 +01:00
Dmitry Jemerov
f853ae1966 don't highlight members of class as unresolved if a superclass of hte class is also unresolved (PY-5427) 2012-01-12 14:00:33 +01:00
Dmitry Jemerov
68e4abc8b4 correct Find Usages for wrapped method calls (PY-5458) 2012-01-12 13:33:03 +01:00
Dmitry Jemerov
48001c248a space around 'in' keyword (PY-5379) 2012-01-12 10:52:55 +01:00
Andrey Vlasovskikh
93b9c06773 Fixed NPE (PY-5474) 2012-01-10 18:15:23 +04:00
Andrey Vlasovskikh
42f9ecda5b Fixed bug in inferring type of enumerate().next() (PY-4702) 2011-12-29 15:40:28 +04:00
Andrey Vlasovskikh
6d6acc6962 Fixed parameter analaysis of Python binary operators 2011-12-29 13:19:22 +04:00
Andrey Vlasovskikh
fe42d90490 Merge branch 'generic-types'
Conflicts:
	python/src/com/jetbrains/python/psi/impl/PyBinaryExpressionImpl.java
2011-12-28 18:32:23 +04:00
Andrey Vlasovskikh
6d5a946e63 Added more tests and fixed a couple of bugs in Python generics 2011-12-28 18:09:48 +04:00
Andrey Vlasovskikh
048adcf152 Weak warnings for Python generic types 2011-12-27 20:16:59 +04:00
Andrey Vlasovskikh
7b16af897a Fixed type evaluation for right Python operators, including 'str.__rmul__' 2011-12-21 20:05:56 +04:00
Andrey Vlasovskikh
04d26eae08 Generic and overloaded types for Python operators 2011-12-21 17:12:43 +04:00
Ekaterina Tuzova
154dde8fb7 added test for completion after has_attr 2011-12-16 17:48:06 +04:00
Ekaterina Tuzova
6504acfa00 Merge remote branch 'origin/master' 2011-12-16 15:12:06 +04:00
Ekaterina Tuzova
845fbffb8d fixed PY-5351 "Add encoding declaration" must be shown in case of unicode usage in arbitrary strings. Not only doc comments. 2011-12-16 14:39:34 +04:00
Dmitry Jemerov
53ea4233e0 don't resolve import elements in PyFromImportStatementImpl.processDeclarations, there's code later that knows how to resolve them (PY-5295) 2011-12-15 21:09:09 +01:00
Dmitry Jemerov
a5768891b8 use iterateNames() for gathering completion variants of a module type 2011-12-15 19:03:37 +01:00
Dmitry Jemerov
1224088a46 test for 'attributes assigned nearby' logic in completion 2011-12-15 18:28:53 +01:00
Dmitry Jemerov
8b6d7b5ef1 "resolve to attribute assigned nearby" logic should also work when qualifier type is unknown; provide test 2011-12-15 18:21:36 +01:00
Dmitry Jemerov
0a19af1a09 basic test for 'from ... import to import' intention 2011-12-15 18:00:07 +01:00
Ekaterina Tuzova
099e229783 fixed PY-5192 Move Statement: breaks code in case moving down to nested try statement 2011-12-15 14:39:01 +04:00
Ekaterina Tuzova
81a21bea69 fixed test data 2011-12-15 14:01:33 +04:00
Ekaterina Tuzova
a89dd1b950 Merge remote branch 'origin/master'
Conflicts:
	python/testData/psi/ColonBeforeEof.txt
2011-12-15 13:10:44 +04:00
Dmitry Trofimov
3c05f4ab26 Merge remote-tracking branch 'origin/master' 2011-12-14 22:07:05 +01:00
Dmitry Trofimov
035ec1f140 Fixed tests. 2011-12-14 22:04:28 +01:00
Dmitry Jemerov
3acfd908e1 refactor PyUnresolvedReferencesInspection.registerUnresolvedReferenceProblem() to a more manageable size 2011-12-14 17:06:59 +01:00
Dmitry Jemerov
21d063d58e honor fileOnly flag correctly when resolving import references (PY-1896) 2011-12-14 14:55:19 +01:00
Ekaterina Tuzova
a1e5d2ea44 fixed PY-5200 Move statement: ineffective moving of nested if block 2011-12-14 16:32:20 +04:00
Ekaterina Tuzova
3741753179 added last statement break to the python lexing 2011-12-14 14:03:19 +04:00
Andrey Vlasovskikh
99169466d2 Fixed test of call-by-class Python inspection 2011-12-13 19:59:34 +04:00
Ekaterina Tuzova
672f486a85 fixed PY-4606 Applying quickfix discards end-of-line comment 2011-12-12 15:11:35 +04:00
Dmitry Jemerov
a80df9b3a9 optimize imports doesn't remove imports for which inspection is suppressed (PY-5228) 2011-12-09 20:32:26 +01:00
Ekaterina Tuzova
1b7785d107 Merge remote branch 'origin/master' 2011-12-09 12:59:50 +04:00
Ekaterina Tuzova
571e28c40d canged compatibility inspection 2011-12-09 12:57:10 +04:00
Dmitry Jemerov
7584b21f77 Merge remote branch 'origin/master' 2011-12-08 18:44:01 +01:00
Dmitry Jemerov
5d7778ae02 check staticmethod/classmethod wrappers without loading AST 2011-12-08 18:08:16 +01:00
Andrey Vlasovskikh
8f16f88dff Fixed bug in unresolved references inspection for '__dict__' in '__slots__' (PY-5255) 2011-12-08 20:56:16 +04:00
Dmitry Jemerov
4684f470ed delete WRAPPED flag that no one cares about; test for staticmethod as wrapping call 2011-12-08 17:48:19 +01:00
Andrey Vlasovskikh
36d9ea1277 Types for tuple iterator vars in for loops and list comprehensions (PY-5184) 2011-12-07 20:50:27 +04:00
Ekaterina Tuzova
5b0c732f37 fixed tuple assignment balance inspection (use types now) 2011-12-07 17:16:31 +04:00
Andrey Vlasovskikh
55d75f833a Added overloaded types to Python stdlib type provider (PY-4401) 2011-12-07 16:15:12 +04:00
Ekaterina Tuzova
273447c075 fixed PY-5226 "replace + with string formatting operator" produces bad code 2011-12-06 17:15:15 +04:00
Ekaterina Tuzova
120efe6cc2 fixed PY-5221 Move statement: Throwable at com.intellij.psi.impl.PsiToDocumentSynchronizer.a 2011-12-05 21:03:39 +04:00
Ekaterina Tuzova
14744182f4 fixed PY-4358 Tuple assignment balance is incorrect: extend inspection for sequnce literals other then tuples 2011-12-02 18:14:35 +01:00
Ekaterina Tuzova
79ddbf26f2 fixed PY-5157 Convert dict literal to dict constructor: invalid code with space in keys 2011-12-02 16:40:55 +01:00
Ekaterina Tuzova
1de2fbaba1 fixed PY-5201 Move statement: changes code logic on moving one-line compound statement outside nested one 2011-12-02 15:57:17 +01:00
Ekaterina Tuzova
6004deefb3 Merge remote-tracking branch 'origin/master' 2011-12-02 15:33:47 +01:00
Ekaterina Tuzova
a5a774f33b fixed PY-5203 Move statement: statement should not jump into docstring 2011-12-02 15:32:14 +01:00
Ekaterina Tuzova
14d89ce4c6 fixed PY-5202 Move statement: breaks code on moving outside with statement 2011-12-02 15:21:48 +01:00
Andrey Vlasovskikh
b30327b2cc Empty file to put directory under version control 2011-12-02 18:18:12 +04:00