Vladimir Krivosheev
a8c510ae57
fix yellow code - rationalize static call
...
GitOrigin-RevId: 2dc783a75d852bd9c8a537ef6ed6bfac07640177
2019-06-04 08:10:41 +03:00
Vladimir Krivosheev
8440df0fda
prefer ArrayUtilRt
...
GitOrigin-RevId: f4b11d48949267d778f6cdab4ef8ac60eb85aa2e
2019-05-30 19:13:22 +03:00
nik
777ba26d5c
platform: use WebModuleTypeBase instead of specific implementations
...
'WEB_MODULE' resolves to WebModuleType in IntelliJ IDEA and to PlatformWebModuleType in WebStorm and PhpStorm, so WebModuleType.getInstance will fail with ClassCastException if it's invoked in WebStorm/PhpStorm and PlatformWebModuleType.getInstance will fail if it's invoked in IDEA. Now the both methods are deprecated and PlatformWebModuleType.getInstance which work in all IDEs is used instead. This is needed to use Java support as a plugin in WebStorm (IDEA-195719).
2019-03-22 18:50:54 +03:00
Alexey Kudravtsev
13a481ca2e
notnull
2018-11-09 14:44:12 +03:00
Vladimir Krivosheev
e92a399d55
override, notnull
2018-08-13 17:07:12 +02:00
Max Medvedev
1e0f9fd41b
@NotNull context parameter of CompletionProvider#addCompletions
2018-08-03 19:11:53 +03:00
Mikhail Golubev
f76c824a02
PY-29655 Use newer file-based code style API in PyCharm where possible
2018-06-21 20:34:22 +03:00
Semyon Proshev
36fb23d4ab
Update PyTypeProvider.getReferenceType to return Ref (PY-28052)
2018-04-11 23:47:44 +03:00
Daniil Ovchinnikov
c6b40a53ee
make Query accept wildcard processor: update executor implementations
2018-04-03 15:26:14 +02:00
nik
1e833720ca
IDEA project configuration: the great module rename
...
Rename all modules in IntelliJ IDEA sources to ensure that they follow a consistent naming scheme.
Update references in code and comments.
2018-01-25 12:59:03 +03:00
nik
c9620ce099
IDEA project configuration: the great module rename
...
Rename all modules in IntelliJ IDEA sources to ensure that they follow a consistent naming scheme.
Update *.iml files.
2018-01-25 12:59:02 +03:00
nik
16410c2321
IDEA project configuration: the great module rename
...
Rename all modules in IntelliJ IDEA sources to ensure that they follow a consistent naming scheme.
Rename iml files.
2018-01-25 12:59:02 +03:00
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
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