Commit Graph
224 Commits
Author SHA1 Message Date
Andrey Vlasovskikh 3d2c8f555c Evaluate parameter types only when needed 2013-08-05 15:14:40 +04:00
Andrey Vlasovskikh 95cd5d03b0 Made Callable a typed element 2013-08-02 15:49:31 +04:00
Andrey Vlasovskikh bbcee93c26 Use object instead of pair for describing function type parameters 2013-08-02 15:41:20 +04:00
Andrey Vlasovskikh 8837eea814 Merge branch 'python-fixes' 2013-08-01 15:38:58 +04:00
Andrey Vlasovskikh bb34310282 Show more details about types of functions (PY-10413) 2013-08-01 15:21:00 +04:00
Andrey Vlasovskikh a16af3a991 Extracted constant for unknown type 2013-07-31 15:57:39 +04:00
Ekaterina Tuzova 697c7ad8c8 fixed PY-2388 Make PyCharm's testrunner aware of setup.py 2013-07-30 17:46:32 +04:00
Ekaterina Tuzova 8720eae462 Merge remote-tracking branch 'origin/master' 2013-07-24 19:57:25 +04:00
Ekaterina Tuzova 8be7c8c468 fixed PY-10346 __div__ still highlighted as special method in Python3 2013-07-24 11:41:42 +04:00
Andrey Vlasovskikh ad8b160b9a Added function types syntax 2013-07-23 21:06:21 +04:00
Andrey Vlasovskikh 0b3e0278cb Merge branch 'user-skeletons' 2013-06-17 17:50:55 +04:00
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