Andrey Vlasovskikh
11526bb5ba
Extended PyDocStringOwner interface and moved docstring utilities into DocStringUtil
2013-06-17 17:28:30 +04:00
Andrey Vlasovskikh
dc00f2d941
Extracted StructuredDocString interface and moved to PSI API
2013-06-17 14:16:14 +04:00
Ekaterina Tuzova
f7e44f7cdf
added extension point for reference resolve
...
added resolve for web2py global variables
2013-06-14 16:05:16 +04:00
Andrey Vlasovskikh
69911153e6
Merge branch 'user-skeletons'
2013-06-13 18:20:50 +04:00
Ekaterina Tuzova
64cc818142
do not search for init in test classes
2013-06-10 15:35:43 +04:00
Ekaterina Tuzova
62dcafadea
fixed PY-9819 Wrong highlight for property in metaclass
2013-05-27 21:22:46 +04:00
Andrey Vlasovskikh
e563ecd8a6
Resolve module members by providers only if resolve failed
2013-05-21 12:41:53 +04:00
Andrey Vlasovskikh
f33411cc8d
Read content lines lazily
2013-05-14 21:30:50 +04:00
Andrey Vlasovskikh
d3525c55f9
Infer parameter types from file-local function usages during code completion
2013-05-13 22:41:41 +04:00
Andrey Vlasovskikh
fce1b98e7c
Added 'origin' parameter to TypeEvalContext.userInitiated()
2013-05-13 17:02:34 +04:00
Andrey Vlasovskikh
17abf2d666
Merge branch 'type-eval-contexts'
2013-05-13 16:36:14 +04:00
Andrey Vlasovskikh
a55e50525c
Renamed deepCodeAnalysis() context to deepCodeInsight()
2013-05-13 16:03:39 +04:00
Ekaterina Tuzova
0c1ab3eb9d
fixed PY-9730 Method can be static: disable inspection for methods which simply raise NotImplementedError
2013-05-09 20:19:19 +04:00
Andrey Vlasovskikh
9ffac767d1
Renamed TypeEvalContext constructors
2013-05-08 19:56:06 +04:00
Andrey Vlasovskikh
c8502bb914
Added TypeEvalContext.codeInsightFallback() constructor
2013-05-08 19:47:41 +04:00
Andrey Vlasovskikh
23ed6bcdaa
Slow TypeEvalContext for completion, documentation, find usages, quick-fixes
2013-05-08 19:02:56 +04:00
Andrey Vlasovskikh
59292a811f
Merge branch 'python-fixes'
2013-04-29 15:38:26 +04:00
Andrey Vlasovskikh
7b576ab86b
Fixed completion for 'namedtuple' fields in Python 3.3 (PY-8904)
2013-04-26 21:03:41 +04:00
Alexey Kudravtsev
4267fafefc
NotNull
2013-04-26 15:07:32 +04:00
Andrey Vlasovskikh
8a8aa06931
Nullable annotations
2013-04-25 14:22:05 +04:00
Andrey Vlasovskikh
9bc46fa4fd
Fixed regression in resolving 'namedtuple' members
2013-04-25 14:21:04 +04:00
Andrey Vlasovskikh
4d04cfc792
Added 'inherited' flag for PyType.resolveMember
...
Do not try class members providers for ancestor classes before class
members providers for the current class.
2013-04-23 18:05:17 +04:00
Andrey Vlasovskikh
230de54232
Merge branch 'new-mro'
...
Conflicts:
python/src/META-INF/python-plugin-common.xml
2013-04-19 19:49:43 +04:00
Ekaterina Tuzova
59f0cf2d45
Merge remote-tracking branch 'origin/master'
2013-04-19 19:07:43 +04:00
Andrey Vlasovskikh
f8eb0dd7f6
Fixed resolve of multiple inherited constructors for new-style MRO (PY-9080)
...
Integrated a C3 MRO algorithm implementation into PyClass.getAncestorTypes().
2013-04-18 18:05:03 +04:00
Andrey Vlasovskikh
cfc8d927bc
Added PyClass.getAncestorClasses(TypeEvalContext)
2013-04-18 15:49:52 +04:00
Andrey Vlasovskikh
563104c668
Changed PyClass.iterateAncestorClasses() to getAncestorClasses()
2013-04-18 15:45:21 +04:00
Alexey Kudravtsev
eb3aa615c5
NotNull
2013-04-18 13:10:56 +04:00
Andrey Vlasovskikh
7845bc91ca
Removed PyClassRef and PyClass.iterateAncestors() in favor of PyClass.getAncestorTypes()
2013-04-17 18:42:30 +04:00
Andrey Vlasovskikh
ebab3b5c1e
Fixed Jython resolve test for Java superclasses
2013-04-17 17:22:56 +04:00
Andrey Vlasovskikh
55e1379cb0
Added common ancestor PyClassLikeType of PyClassType and PyJavaClassType
2013-04-17 16:55:02 +04:00
Andrey Vlasovskikh
700e7db689
Iteration over ancestors via PyClass.getAncestorTypes()
...
Iteration is no longer lazy because the C3 MRO implementation for new-style
classes will be eager anyway.
2013-04-16 16:02:28 +04:00
Ekaterina Tuzova
24eaf50638
added getter for class property
2013-04-15 15:56:00 +04:00
Andrey Vlasovskikh
a9dffdc97c
Merge branch 'python-fixes'
2013-04-09 18:08:54 +04:00
Andrey Vlasovskikh
75b825c771
Set type eval origin for references in find usages if it isn't set (PY-9047)
2013-04-09 18:02:49 +04:00
Ekaterina Tuzova
6eb69aa83a
fixed PY-9405 Method can be static: handle existing decorators
2013-04-09 14:41:50 +04:00
Dmitry Trofimov
89f19c9ca6
Fixed unresolved false positive for GET/POST/FILES in Django request (PY-7482).
2013-04-01 20:28:55 +02:00
Dmitry Trofimov
dc1a08662b
Fixed renaming prefix for static roots (PY-9307).
2013-03-29 16:45:19 +01:00
Ekaterina Tuzova
51ca2375f2
added quick fix for the PyAttributeOutsideInitInspection
2013-03-21 17:12:12 +04:00
Dmitry Jemerov
680a841d5a
correctly highlight __nonzero__ and __bool__ depending on language level (PY-9023)
2013-03-01 15:57:59 +01:00
Dmitry Jemerov
066ddf137d
allow each instance of PyCallableType to tell whether it's actually callable or not; distinguish class definition and class instance for Java class types; correctly treat Java constructors as callable (PY-4269)
2013-02-27 16:09:37 +01:00
Andrey Vlasovskikh
377662303c
Fixed parsing ellipsis as an expression in Python 3 (PY-8257)
...
In Python 3 ellipsis can appear anywhere, not only in sequence slicings. The parser
now always passes ellipsis, it's incorrect use is detected at the unsupported features
annotator or compatibility inspection levels.
2013-02-18 16:08:33 +04:00
Konstantin Bulenkov
0f4a97b408
new python file type
2013-02-12 15:01:57 +01:00
Dmitry Jemerov
a2ab96d619
PyParameter.isSelf(); highlight first argument of @classmethod as self (PY-6881)
2013-02-06 21:09:47 +01:00
Dmitry Jemerov
6fe9a191a2
@NotNull name in PyType.resolveMember()
2013-02-06 16:45:42 +01:00
Andrey Vlasovskikh
a9bb526c22
Added TypeEvalContext.Key to PyTypedElement.getType to statically force type evaluation via TypeEvalContext only
2013-02-05 22:06:52 +04:00
Dmitry Jemerov
3ff146ee19
don't bother searching for implicit resolve results if we're going to reject them anyway (PY-6559)
2013-02-04 15:04:06 +01:00
Dmitry Trofimov
819d1d5cf9
os.path.pardir in path evaluator (PY-8245).
2013-01-29 20:11:39 +01:00
Dmitry Jemerov
47db6a3558
EA-43057 - IOOBE: PyPsiUtils.removeSlash
2013-01-28 20:42:49 +01:00
Andrey Vlasovskikh
a9a2672557
Fixed rename for old-style properties and properties with lambdas (PY-8315)
2013-01-28 15:40:00 +04:00