Commit Graph
263 Commits
Author SHA1 Message Date
Alexey Kudravtsev a62aab7910 CharSequence instead of String 2014-12-04 14:22:14 +03:00
Ilya.Kazakevich a94093cec4 modification fix 2014-11-25 00:13:13 +03:00
Andrey Vlasovskikh c076beb8f3 Use getModificationCount() instead (PY-14376, PY-14496)
Because it is changed on every PSI modification, not on the external
interface of a modification.
2014-11-24 13:49:29 +03:00
Mikhail Golubev 8a75043458 Improve javadoc for PointInImport and clean up a bit in ResolveImportUtil 2014-11-14 16:25:30 +03:00
Andrey Vlasovskikh 6ec4f8954f Removed redundant PyQualifiedExpression.getRefernece() already present in PyReferenceOwner 2014-10-16 19:04:50 +04:00
Andrey Vlasovskikh e083779793 Updated copyright 2014-10-16 17:56:38 +04:00
Andrey Vlasovskikh bf58d9d3ca Added copyright 2014-10-16 17:54:28 +04:00
Andrey Vlasovskikh 7285a8830f Cleanup 2014-10-16 17:45:34 +04:00
Andrey Vlasovskikh c1d88fb64b Added TypeEvalConstraints.toString() 2014-10-16 17:45:08 +04:00
Andrey Vlasovskikh 05dd15fa9e Reformatted code 2014-10-16 17:42:57 +04:00
Ilya.Kazakevich 9c8ce8b94d PY-14081 Django: QuerySet.as_manager() code editing is really slow
Context cache added
2014-10-14 23:32:38 +04:00
Ilya.Kazakevich 550975842e PY-13180 Pycharm 3.4: Right mouse click on selected text inside unicode string hangs out IDE interface for 20-30 seconds
PY-13983 PyCharm hangs (~100% CPU) when right clicking highlighted text
TODO: Add tests (performance and modification)
2014-10-10 19:35:35 +04:00
Ilya.Kazakevich de5f5f0f76 PY-13740: Django 1.7 QuerySet.as_manager() code completion support 2014-10-06 21:37:51 +04:00
Ilya.Kazakevich e51beb2ff7 PY-13994 Apps in INSTALLED_APPS are not recognised when using new AppConfig method in Django 1.7
(todo: add tests, support default_app_config )
2014-09-27 00:33:10 +04:00
Ilya.Kazakevich 4f8f8948bd PY-13993 "settings.py" can't be found if website name differs from project folder name
(TODO: Add tests)
2014-09-25 01:59:03 +04:00
nik 2fee7db5c6 icon size reduced for Darcula and Retina icons (605K bytes in total) 2014-09-19 12:22:29 +04:00
Andrey Vlasovskikh f040abec0e Refactored getPresentation() for Python elements
Elements no longer inherit default presentation from
PyPresentableElementImpl. Most of the presentation logic has been moved
from PyStructureViewElement to getPresentation() of particular elements.
Added PyElementPresentation class that can be customized via
subclassing.
2014-09-03 19:11:30 +04:00
Andrey Vlasovskikh 1bb7350189 Merge branch 'typing' 2014-08-22 19:23:56 +04:00
Andrey Vlasovskikh b8d75dc401 Refactored PyAnnotation into a PyTypedElement 2014-08-19 00:14:18 +04:00
Andrey Vlasovskikh 184e12ec19 Added nullity annotations 2014-08-18 23:49:12 +04:00
Andrey Vlasovskikh 7228288e91 Made PyTargetExpression a PyQualifiedNameOwner 2014-08-18 20:51:07 +04:00
Mikhail Golubev a1ae56b0f9 PY-9342 Distinguish between function and method types 2014-08-18 13:15:04 +04:00
Mikhail Golubev 7bf2cc51f1 Remove redundant method declaration from PyStatementPart 2014-08-13 14:27:10 +04:00
Mikhail Golubev 7576d369b4 PY-6020 Implement feature of auto import inside functions 2014-08-07 20:09:35 +04:00
Mikhail Golubev 9fa9bfd846 Make PyStatementPart interface extend newer PyStatementListContainer
Both interfaces provide the same method getStatementList
2014-08-05 13:03:30 +04:00
Mikhail Golubev 492289a65e PyWithStatementImpl implements PyStatementListContainer 2014-08-05 13:03:29 +04:00
Ilya.Kazakevich a93caa7bd9 PY-13577 Behave support doesn't work with Chinese 2014-08-01 00:53:07 +04:00
Ilya.Kazakevich 71fde58236 PY-8427 Behave BDD support
PY-4186 Lettuce BDD tool support

 Step definition creation improved, inspection added
2014-07-31 02:01:31 +04:00
Ilya.Kazakevich 3ff525631a PY-8427 Behave BDD support
PY-4186 Lettuce BDD tool support

Steps generation fixed
2014-07-25 23:26:24 +04:00
Mikhail Golubev 93e45b92d8 PY-4073 Add completion for special function attributes
* Introduce new '__function' fake class for functions. Add its skeleton to user skeletons
and binary skeletons generator. Delegate to it in PyFunctionType for completion variants
and attributes resolution.
*  Regenerate test SDKs to use new class.
2014-07-14 19:39:31 +04:00
Andrey Vlasovskikh 595e5fb205 Made PyReferenceOwner.getReference() not null
Removed not implemented and obsolete implementations that returned
null.
2014-07-04 14:22:37 +04:00
Andrey Vlasovskikh 63f2789931 Introduced PyCallSiteExpression for distinguishing a[b] and a[b](c) in the type checker (PY-13051)
PyTypeChecker.analyzeCallSite() was used for analyzing the return type
of the call in the same way for different expressions: a[b] and a[b](c)
as analyzeCallSite(a[b]) making it impossible to distinguish between the
two.

Now we pass a PyCallExpression for analyzing the function call instead
of a PyQualifiedExpression.
2014-07-04 13:56:42 +04:00
Ilya.Kazakevich 09e304c55c PY-8427 Behave BDD support
PY-4186 Lettuce BDD tool support

Initial extension point impl
2014-06-19 03:46:13 +04:00
Ilya.Kazakevich 879c23d443 PY-13210 Unused star import in Django settings.py 2014-06-09 22:16:27 +04:00
Ilya.Kazakevich 5eeea4356a PY-13084 Variables passed to url kwargs are not suggested to template 2014-05-28 01:27:39 +04:00
Ilya.Kazakevich 350199833d PY-13018 ForeignKey to model in different file brakes backward references if referenced as APP_NAME.Model 2014-05-22 01:05:20 +04:00
nik d4d6b609b6 sources roots without sources converted to resource roots 2014-05-21 15:40:08 +04:00
Ilya.Kazakevich 68565aedf8 PY-2980 Unresolved reference for ForeignKey defined as string 2014-05-20 22:34:03 +04:00
Ilya.Kazakevich c2067ff719 PY-1194 Provide completion and navigation for url tag in django template
PY-3591  Support {% url %} tag arguments completion

Params to be supported
2014-04-22 23:13:13 +04:00
Ilya.Kazakevich 45cb54cacf PY-12565 Django: default template names for generic class-based views are not resolved 2014-04-08 22:06:57 +04:00
Alexey Kudravtsev e75d93b7ec notnull, cleanup 2014-04-02 13:28:01 +04:00
Ilya.Kazakevich 76e04ecd2c PY-12579 "url" function is not processed correctly when imported as alias 2014-03-31 18:35:27 +04:00
Ilya.Kazakevich 2b867ce58d PY-12344 Views in i18n_patterns are not resolved 2014-03-28 23:41:20 +04:00
Ilya.Kazakevich 5ab2bd89ef PY-12497 .NET stubs are generated incorrectly when name is imported instead of module 2014-03-27 02:11:17 +04:00
Andrey Vlasovskikh 4afd85f67a Merge branch 'python-fixes'
Conflicts:
	python/src/com/jetbrains/python/inspections/quickfix/AddFunctionQuickFix.java
2014-03-12 13:46:21 +04:00
Ekaterina Tuzova 2ba4ece037 Merge remote-tracking branch 'origin/master'
Conflicts:
	python/src/com/jetbrains/python/inspections/PyProtectedMemberInspection.java
	python/src/com/jetbrains/python/inspections/PyStatementEffectInspection.java
2014-03-11 15:29:15 +04:00
Andrey Vlasovskikh e36425ec85 Moved LanguageLevel.forFile() to PyUtil.getLanguageLevelForVirtualFile() 2014-03-07 18:44:42 +04:00
Ekaterina Tuzova 7438ce848b added create property quick fix for the property access inspection 2014-03-07 18:31:00 +04:00
Andrey Vlasovskikh 7325dffa0b Changed default language level to Python 2.7 2014-03-06 18:36:39 +04:00
Andrey Vlasovskikh a3141a4d58 Merge branch 'python-fixes' 2014-03-04 20:42:29 +04:00