Andrey Vlasovskikh
543ca840b7
Extracted "impl" modules from Python Community and PyCharm Community Customization to use them in other Python plugins for builds and runs
...
The non-impl modules for these plugins now contain more or less just their plugin.xml files
that declare corresponding dependencies.
GitOrigin-RevId: 84fc4761a595912d676cff1e2ab58fba03a8cd22
2019-11-18 19:07:46 +00:00
Alexey Kudravtsev
850cf546dc
replace Logger.getInstance(#fqn) with Logger.getInstance(klass.class) to reduce constant pool and code size and make code more refactorable
...
GitOrigin-RevId: 4ef94813858973e44449a20cf8b09174c8df5fce
2019-11-07 17:02:46 +00:00
Andrey Vlasovskikh
48bec77033
PY-38634 Revert registration of PyCharm-specific (vs Python plugin) components
...
During the recent refactoring a Python plugin only file python-community-plugin-core.xml got included
into the Python plugin which is now bundled with PyCharm. It resulted in using Python plugin specific
components that were designed for the UI of IntelliJ, not PyCharm. This change restores the
registration of PyIdeCommonOptionsFormFactory and moves all includes of python-community-plugin-core.xml
to Python plugin specific files.
GitOrigin-RevId: cd8b6d9b68266ca99f206c005ba73a2e77657950
2019-10-21 20:03:52 +00:00
Gregory.Shrago
ca26ab8089
IDEA-CR-53226 extract pluginJava and avoid Java in PyCharm
...
GitOrigin-RevId: da2f300874c363085d5965bee1d0520da8ce3fd6
2019-10-14 22:41:29 +00:00
Dmitry Jemerov
cbda6e7ccf
Better names for CLI inspection logger API (IDEA-CR-52729)
...
GitOrigin-RevId: 0d98a57f3d9db6469c88015fab98722325029e40
2019-09-24 10:32:13 +00:00
Dmitry Trofimov
525e9f1aec
Use local virtual env for inspections if available
...
GitOrigin-RevId: 10bb1c24430b854e79be07f1d0ff0e7f3e9f14f2
2019-09-24 09:02:48 +00:00
Dmitry Jemerov
ef81a93f72
CLI project configuration: add logging, don't walk the project if environment is already configured
...
GitOrigin-RevId: b73fec673a3524185d152fe4455736c9d7578540
2019-09-23 13:02:12 +00:00
Dmitry Trofimov
87a915e8a6
Add facet only to modules that contain Python files from change list
...
GitOrigin-RevId: 8dfe7051b43d04850e19e4cf12d849938ba63392
2019-09-23 13:02:12 +00:00
Dmitry Trofimov
bf6cbda222
Setup Python SDK and facet to run inspections on Python projects
...
GitOrigin-RevId: f1b3be8207ae5ed8674ff81ca02fcb26d7b4afe4
2019-09-23 13:02:12 +00:00
Dmitry Trofimov
a0bc048dcc
python-psi-impl extracted
...
GitOrigin-RevId: e3d808c147ac793701c7b628dbf825a99bb71f2a
2019-09-11 19:15:01 +00:00
Semyon Proshev
16a77f4042
Provide completion and resolve for from tensorflow.<...> statements (PY-33034)
...
GitOrigin-RevId: 5886d44f185f918cf0089249209495de3145b6d1
2019-08-02 15:03:24 +03:00
Rustam Vishnyakov
123242c4b2
EditorConfig documentation test
...
GitOrigin-RevId: fd52ace3d7a32ecd02c2c5ab90e077967604c15e
2019-06-16 04:03:21 +03:00
Egor Zhdan
c1813cfb52
Cleanup: NotNull/Nullable
...
GitOrigin-RevId: b8e892f32ea84c2115973155dba7127b892cc36e
2019-06-16 04:02:08 +03:00
Anna Kozlova
91f7445298
constructor reference: don't ignore constructor parameters during method reference inference (IDEA-185578)
...
GitOrigin-RevId: e836468e05db28157713e9edd3c70382f8ecdebc
2019-06-13 03:15:49 +03:00
Egor Zhdan
39d2d77155
Cleanup: NotNull/Nullable
...
GitOrigin-RevId: b8e892f32ea84c2115973155dba7127b892cc36e
2019-06-13 03:14:35 +03:00
Julia Beliaeva
3fee046d20
[vcs-log] cleanup RootCellRenderer
...
GitOrigin-RevId: bba216626193ac756cd133b8ae9bc4e577abea42
2019-06-10 04:10:14 +03:00
Eldar Abusalimov
dcaeb8f8c7
OC-4061: ApplicationUtil: Make runWithCheckCanceled() return result
...
GitOrigin-RevId: 3aa9f23cc5097e644eddf82a4faca669759b4760
2019-06-10 04:09:35 +03:00
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