Commit Graph
224 Commits
Author SHA1 Message Date
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
Andrey Vlasovskikh c44251abd6 Merge branch 'python-fixes' 2013-01-22 19:22:12 +04:00
Konstantin Bulenkov 2ed4c7bb5c new structure for python icons 2013-01-17 14:30:25 +01:00
Andrey Vlasovskikh 2cad8ebd16 Moved Python-related icons to resources/icons/ folders 2013-01-16 16:48:14 +04:00
Andrey Vlasovskikh 869b28c4f9 Support for subclasses of namedtuple defined in the current file (PY-4345) 2013-01-15 16:34:56 +04:00
Andrey Vlasovskikh 30f70e6f11 Cleanup 2013-01-11 16:48:35 +04:00
Andrey Vlasovskikh f60d2d018d Moved replace expression to PyReplaceExpressionUtil 2012-12-27 18:33:29 +04:00
Andrey Vlasovskikh 9d80d6f98c Initial implementation of introduce refactoring for substrings (PY-3654) 2012-12-19 20:07:38 +04:00
Andrey Vlasovskikh c9e423dcac Fixed Python string utils for triple-quoted and triple-double quoted string and bytes literals 2012-12-19 19:42:41 +04:00
Dmitry Jemerov 724dccdeb0 resolve references to WSGI apps from app.yaml (PY-5186) 2012-12-18 20:19:47 +01:00
Dmitry Jemerov cbce1d0eb3 if Django project root points to a directory outside of module, make sure we have a module from data context when gathering manage.py tasks (PY-8288) 2012-12-17 22:19:30 +01:00
Dmitry Trofimov 2b9d27582e Merge remote-tracking branch 'origin/master' 2012-12-13 20:33:15 +01:00
Dmitry Trofimov bea9778a54 Understand installed apps added by += and extend (PY-7471) 2012-12-13 20:32:24 +01:00
Dmitry Jemerov c7eeb6d5ee highlight assignments as 'with' statement target as error (PY-7529) 2012-12-13 20:21:09 +01:00
Dmitry Jemerov 4ebec8fb6e highlighting for Python keyword arguments (PY-5418) 2012-12-13 16:13:31 +01:00
Dmitry Trofimov cbd78c0ec4 Fixed file references from python string literals (PY-7433, PY-6234, PY-7434) 2012-12-10 02:07:28 +01:00
Dmitry Trofimov 5a26932ab2 Fixed super-class iteration for six.with_metaclass decoration in Django 1.5 (PY-8137). 2012-11-28 17:52:41 +01:00
Ekaterina Tuzova 065fe2ac01 fixed PY-7975 isTestFrameworkInstalled throws exception for remote interpreter 2012-11-09 14:15:09 +04:00
Ekaterina Tuzova d8a85181df fixed PY-7860 Doctest: respect python language level in doctest syntax highlighting 2012-10-26 14:59:54 +04:00
Dmitry Jemerov 6bb86279d1 optimize imports sorts them according to PEP-8 (PY-2367) 2012-10-02 20:04:45 +02:00
Dmitry Jemerov 0790cebff3 delete .pyc when .py file is deleted (PY-6000) 2012-10-01 20:11:57 +02:00
Andrey Vlasovskikh 0f2dcaad3d Fixed unresolved attributes of namedtuple classes (PY-4349) 2012-09-12 20:46:24 +04:00
Andrey Vlasovskikh 76357c81c9 Don't resolve target expression to latest defs syntactically below it in the PSI (PY-7541)
Resolving to such elements may become a source of resolve loops.
2012-09-10 23:15:11 +04:00
Ekaterina Tuzova 11fc2f49fc Merge remote-tracking branch 'origin/master' 2012-09-06 11:04:38 -04:00
Dmitry Jemerov 61dd175ed2 one-line PyStatementList handles insertion correctly (PY-149) 2012-09-05 23:36:16 +02:00
Ekaterina Tuzova 5650a0884d fixed PY-7086 Specify type for reference using annotation: removes default parameter value 2012-09-05 16:36:35 -04:00
Dmitry Jemerov 6804db3b66 pull up getReference(PyResolveContext) to PyQualifiedReference interface 2012-08-28 16:44:53 +02:00
Dmitry Trofimov 1392184fff Fix attributes resolve. 2012-08-22 23:51:06 +02:00
Dmitry Jemerov 8b9e7981df keyword argument can be renamed 2012-08-21 18:15:47 +02:00
Dmitry Jemerov 86270caa01 Merge remote-tracking branch 'origin/master' 2012-08-21 08:06:05 +02:00
Andrey Vlasovskikh 604fecf05a Fixed type checking for 'math' module functions and arguments that define '__float__' (PY-7231) 2012-08-20 20:56:00 +04:00
Andrey Vlasovskikh 8ac36af19a Added methods for parsing type strings and creating union and tuple types to PyPsiFacade 2012-08-20 18:05:24 +04:00
Dmitry Jemerov 99d173514b type provider for SQLAlchemy columns (PY-7243) 2012-08-20 15:04:31 +02:00
Andrey Vlasovskikh 59c975f00e Refactored searching for fake '__generator' class 2012-08-16 18:55:50 +04:00
Dmitry Jemerov 0428956e2c some PSI for template languages in python-psi-api; common superinterface for string literals in Python code and templates 2012-08-16 14:38:20 +02:00
Dmitry Jemerov 357de3d405 improve and simplify "auto-import via existing import statement" logic 2012-08-16 12:06:42 +02:00
Dmitry Jemerov 810f08dca9 Merge remote-tracking branch 'origin/master' 2012-08-16 08:29:20 +02:00
Andrey Vlasovskikh 9d7d6beb5e Fixed NPE in PyDynamicMember 2012-08-15 20:21:55 +04:00
Dmitry Jemerov 9b9d11b4b0 annotations 2012-08-15 13:42:42 +02:00
Dmitry Jemerov 3c6c502520 javadoc 2012-08-15 13:39:53 +02:00