Commit Graph

22 Commits

Author SHA1 Message Date
Dmitry Trofimov
5b38bb6d95 Fix renamed references 2017-04-04 17:58:12 +02:00
Dmitry Trofimov
6823362cca Fix Python plugin for Clion (PY-23544) 2017-04-04 15:34:39 +02:00
Mikhail Golubev
b6dbc5b989 PY-20057 Unify type vars constrained by class types and instance types
so that annotations like "def f(x: Type[T]) -> T" (and vice-versa) work
as expected.

Additionally, I've added a new method toClass() in PyInstantiableType
interface that is supposed to be the opposite to existing toInstance().
2017-03-06 15:20:44 +03:00
Alexey Utkin
5b7c5681c5 CPP-7743 rollback PythonFacetType remove 2017-03-02 16:11:32 +03:00
Dmitry Trofimov
30d86b98da Fix disappearing of Python repository from settings after Clion restart (CPP-7743)
Python plugin stored the interpreter setting as a module sdk, which was wiped out with it's order entries by Clion.
The fix is to store the interpreter setting in a facet and reinitialize it after Clion model clearing.
2017-02-15 16:03:33 +01:00
Andrey Vlasovskikh
f0d6fdce64 Refactored API for resolving Python qualified names in roots
Rewritten it in Kotlin and transformed mutable build-style API to a
more functional immutable version. It should become easier to extend
the PyQualifiedNameResolveContext and the
PyResolveImportUtil.resolveQualfiedName() in order to add resolve to
Python stub files by default.
2017-02-02 01:22:31 +03:00
Vladimir Krivosheev
d2a4d8a23c reduce usage of ApplicationComponent.disposeComponent (to dispose in a correct order (as Disposer)) 2017-01-11 16:47:03 +01:00
Dmitry Trofimov
7a8710ec70 Show Python packages in sdk settings tab (PY-21270) 2017-01-05 21:10:24 +01:00
Alexander Zolotov
a39d42f401 Prettify content entries configurables
- allow to create content entries editor with borders and enable border in
configurables
- remove redundant borders around splitter
- move delete icons to 3px right
- replace Insets with JBUI.insets
2016-12-06 19:35:58 +03:00
Yann Cébron
81d29f9bd5 Plugin descriptors: remove deprecated attribute idea-plugin@version (IDEA-163694) 2016-11-11 17:08:58 +01:00
nik
7b20b02967 framework detection: @NotNull and assertions added to find problematic plugin which incorrectly returns null from FacetBasedFrameworkDetector#getFacetType (EA-78816) 2016-10-07 10:58:02 +03:00
Anna.Kozlova
78d1492242 explicit types to diamonds 2016-08-08 17:08:03 +02:00
Ilya.Kazakevich
6da337aa6b Nullable error fix 2016-06-23 16:37:49 +03:00
Dennis Ushakov
b1541b753e another day, another module component 2016-06-02 16:41:24 +03:00
Anna.Kozlova
9d6477485d anonymous -> lambda 2016-06-01 09:00:47 +02:00
Anna.Kozlova
43673ee4bd block lambda -> expr lambda 2016-05-24 12:27:58 +02:00
Anna.Kozlova
36ee7203f6 anonym -> lambda 2016-05-18 12:04:12 +02:00
Semyon Proshev
ae1b7f7d17 Implement todos in PyClassTypeImpl and PyJavaClassType which are connected with members and ancestors 2016-03-09 19:06:52 +03:00
Semyon Proshev
8d78d16800 PY-18096 Fixed: False positive "Type doesn't have expected attributes" for namedtuple
Introduce PyClassLikeType.getMemberNames(boolean, TypeEvalContext). This method returns all members including dynamically ones (e.g. fields of namedtuple)
2016-03-09 19:06:52 +03:00
Alexey Utkin
79408f2821 CPP-434 Split [python-community-plugin] into [python-community-core-plugin] and [python-community-java-plugin] #4, isolation [PythonConsoleRunnerFactory] as single point export, move [PyForceStepIntoAction] export to owner module 2015-12-15 18:42:17 +03:00
Alexey Utkin
ec996bc56c CPP-434 buildout isolation and move PyConstructorArgumentComplitionContributor to java-dependent module. 2015-12-14 20:35:59 +03:00
Alexey Utkin
c5c832c994 CPP-434 Split [python-community-plugin] into [python-community-core-plugin] and [python-community-java-plugin] 2015-12-11 13:30:18 +03:00