Commit Graph

23 Commits

Author SHA1 Message Date
Tagir Valeev
db9200fcdb Collection.toArray: use empty array instead of presized one 2018-01-18 13:41:14 +07:00
Andrey Vlasovskikh
e29a464d4a PY-22324 Converted PySdkListCellRenderer to Kotlin 2017-10-10 05:49:49 +03:00
Alexey Kudravtsev
df464dfa98 cleanup 2017-09-06 13:29:58 +03:00
Dmitry Batkovich
86829cac3e java property index 2017-09-06 10:40:47 +03:00
Semyon Proshev
f79376a519 Add default implementation for PyCallableType.isCallable and PyCallableType.getParameters 2017-06-09 21:29:07 +03:00
Alexey Kudravtsev
b5e2bbce5b notnull 2017-04-25 17:19:19 +03: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
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
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
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