Commit Graph

182 Commits

Author SHA1 Message Date
Andrey Lisin
245207ee9d PY-31110 Display unknown reStructuredText directives verbatim
(cherry picked from commit d85b7c8b514342d5cab1fe200bd08477f5081566)

IDEA-CR-70988

GitOrigin-RevId: 8ccab5e6eb96321fdcc229f73e34965024d3bc89
2021-03-21 17:23:49 +00:00
Andrey Lisin
de13bec587 i18n: Extract hardcoded reStructuredText preview error messages to bundle
GitOrigin-RevId: e11f500e1172a810723d7b7e276de6834fd77b4a
2021-03-12 09:33:10 +00:00
Anna Kozlova
cfa826f9b6 java 11 migration: explicit -> diamond for anonymous classes
GitOrigin-RevId: ce15f37f8882fb7915cf5c8b62e3cc4601a5cc76
2021-01-17 11:16:51 +00:00
Mikhail Golubev
f06432727f Mark all PyCharm directories with test data as test resources
GitOrigin-RevId: d9135fee5c56219aea17972916635eb4964acaa6
2020-12-11 15:10:57 +00:00
alla redko
ad40a2ae30 IDEA-248848
GitOrigin-RevId: 1ab7de3eb8736b0b47e5181794d1a799cf16fc7c
2020-11-30 22:16:32 +00:00
Alexandr Evstigneev
89bbc0b158 IDEA-CR-68537 Added nullable annotation to the getContentElementType method return value
GitOrigin-RevId: 941b1b49fee13fd6d74a76c1a82d3fb15c80f783
2020-11-19 11:43:14 +00:00
Mikhail Golubev
542a6ffe04 i18n: Annotate API related to Python run configuration and testing
GitOrigin-RevId: a948da2a9ea4e866a0727eed579e1d624a5a76bc
2020-10-22 21:30:09 +00:00
Vladimir Krivosheev
a67c59c561 platform.core.impl — remove dependency on intellij.platform.util.ui and intellij.platform.core.ui
java.psi.iml — remove dependency on intellij.platform.core.ui

GitOrigin-RevId: c1d4feb04c0471c7d17b5331b86738ee54a97f80
2020-09-21 13:40:47 +00:00
Vitaliy.Bibaev
9e512be3b5 i18n: JUnit (fix consequences in run configurations) (IDEA-249456)
GitOrigin-RevId: 2b2187688cd316874d85276db537865429e8ed43
2020-09-15 09:42:10 +00:00
Andrey Lisin
4abd743d19 i18n: reStructuredText
GitOrigin-RevId: c853adf0801a57e809c0be76a848c563014d5a6f
2020-08-21 13:49:36 +00:00
Alexandr Evstigneev
f813c00b44 Fixing platform code according to OuterElement changes
GitOrigin-RevId: 67dbdffaad4913acb941bc58ebee055a13ec0d7e
2020-08-15 07:59:31 +00:00
Alexander Koshevoy
841609401e PY-40375 Move Python Run Configurations to Target API
Targets API implementation for Run Configuration is enabled by the registry key "python.use.targets.api.for.run.configurations".

GitOrigin-RevId: d5a70ae8951d14689d079b54b32f7050471ffdb5
2020-07-08 11:34:10 +00:00
Vladimir Krivosheev
d4e9b09e26 cleanup (final)
GitOrigin-RevId: 93607e195763f2acf29ee0d7a280d7e07e8d2f14
2020-06-26 12:21:17 +03:00
Tagir Valeev
128370d4e3 Unnecessary qualifiers removed, some other cleanup
GitOrigin-RevId: 906af988c0b66ecaee588dfb5e16a1801051df97
2020-05-27 07:24:15 +03:00
Lada Gagina
b7fde6791b PY-40431 i18n: Add non-python UI strings to bundles
GitOrigin-RevId: 90b88f80e0c8d1cb1c2ae3a016024c817d74271e
2020-05-12 15:46:04 +00:00
Mikhail Golubev
98ec123ac6 PY-41923 Don't parameterize ReST run configuration providers with exact run configuration types
Hence staying closer to the original implementation that didn't distinguish
Sphinx and Docutils specific run configuration internally. It may be beneficial
to return the exact run configuration types once they start to actually differ
in some way or become applicable in some overlapping contexts.

GitOrigin-RevId: 8104c4949dea558ca4199ad06172d1ce9fb1ab8c
2020-04-29 22:04:28 +00:00
Mikhail Golubev
e1e70a2c7c PY-41923 Migrate ReST configuration producers to newer dynamic plugins-ready API
The main problem with them is that due to an odd design decision they both share
the same configuration type -- RestRunConfigurationType, and it doesn't quite fit in
this newer typed API, e.g. isConfigurationFromContext() can receive a configuration
instance of a wrong type (DocutilsRunConfiguration for SphinxConfigurationProducer and
vice-versa) due to it, producing a CCE at runtime. I employed a workaround already
used in Python testing run configurations sharing the same problem. Namely,
overloaded getConfigurationSettingsList() to additionally check that instances of
RunnerAndConfigurationSettings with RestRunConfigurationType type actually
correspond to run configurations of the proper concrete class.

Note that setupConfigurationFromContext can also receive a run configuration of a wrong
type but in reality it doesn't happen since Sphinx and Docutils run configurations are
applied to different contexts -- directories and individual .rst files respectively.

GitOrigin-RevId: 15fbb90917edd68e6f29b696c527ff04d4eed433
2020-04-29 22:04:28 +00:00
Vladimir Krivosheev
444b7d3d40 get rid of Lists.newArrayList
GitOrigin-RevId: d785fe6fab133812585561c391d7d3556d5792f7
2020-04-16 08:29:17 +00:00
Aleksei Kniazev
00a3b19b73 resource-bundle fixes for some python actions (PY-41126)
GitOrigin-RevId: cca188efce86b6fe846825b88d259b9bb6227e82
2020-03-17 20:53:55 +00:00
Elizaveta Shashkova
11b33c6693 PY-40431 i18n related to Python interpreter configuring
GitOrigin-RevId: c68cf197d2b0f95ad2e8a1866d29c24d52751bdb
2020-03-12 14:01:33 +00:00
Lada Gagina
8a29a375f3 PY-40431 Extract messages to the message bundles for i18n
GitOrigin-RevId: c7b652bab17e0b37959d71fe7335212395212bdb
2020-02-18 20:57:58 +00:00
nik
2c59c81361 [run configurations] implement ConfigurationFactory::getId method in all inheritors and return non-localizable value
The default implementation delegates to 'getName' method and it may cause problems if it returns localized value (IDEA-232878).

GitOrigin-RevId: 28495a477af06896f0c3f98141b424c33920f1e0
2020-02-13 13:17:58 +00:00
Alexander Koshevoy
5e9e741485 PY-40431 Extract messages from actions in intellij.python.reStructuredText module
GitOrigin-RevId: 9847e96efbd53db923943d9dfea936f5571e1bd6
2020-02-10 14:20:15 +00:00
Alexander Koshevoy
8b281d03b6 PY-40431 Extract messages from intellij.python.reStructuredText module to the message bundle
GitOrigin-RevId: a312f6528e6ae746299b61f01d1115637d33ad61
2020-02-10 14:20:15 +00:00
Peter Gromov
1eb9b217d8 allow to depend on platform.execution.impl without depending on huge platform.lang.impl module
GitOrigin-RevId: 4386ae794f21698559c8d793ce1c355cf4dba244
2020-01-27 16:36:02 +00:00
Tagir Valeev
78a91459c4 Array annotations changed to type-use style (not compilable now)
GitOrigin-RevId: 68aa4ba200618083684599228e13dfdba35967a4
2020-01-16 08:11:51 +00:00
Sergey Ignatov
f7872198b1 mv rest bundle
GitOrigin-RevId: e1e77c3cd78c6ec44d874db2d2326b6b8ccede6d
2020-01-05 19:31:47 +00:00
Mikhail Golubev
1f57e524db PY-39532 Implement RestFileViewProvider.getContentElementType mimicking its createFile
It was forgotten during implementation of IDEA-106449. Without this method
we tried to parse the whole injected reStructuredText content as a valid
Python file not surprisingly containing tons of syntax errors and then
run all the normal Python inspection over it.

GitOrigin-RevId: ed12c9c6ead90ebb0b5a083126410b2c8cbff233
2019-12-27 15:40:08 +00:00
Anna Kozlova
abc4a9ae72 no need in overriding getDisplayName for inspections
in production InspectionEP#displayName should be used; highlighting tests just do not use default names

GitOrigin-RevId: f0c172e568219499e7b96982fe352c7d1d3acc69
2019-12-11 08:03:54 +00:00
Peter Gromov
d3aec439fa python: replace deprecated transactions with invokeLater
GitOrigin-RevId: 54abf524bb040f56459e1148283e5cb92cb2a300
2019-11-26 13:43:52 +00:00
Gregory.Shrago
92f5adff73 PY-38312 Reuse Python plugin in PyCharm
GitOrigin-RevId: 614aecfde6c57cb8f2b99c01c7085c5ae33a1d5d
2019-10-08 17:03:50 +00:00
Alexander Zolotov
4f5dbd65a4 Make python auxiliary plugins incompatible with IntelliJ IDEA as they are bundled into python plugin
+ get rid of python plugin without auxiliary plugins inside

GitOrigin-RevId: 4a74b542be95aa012b7d74755bfffab21c8c0cfe
2019-09-30 15:03:47 +00:00
Dmitry Trofimov
a0bc048dcc python-psi-impl extracted
GitOrigin-RevId: e3d808c147ac793701c7b628dbf825a99bb71f2a
2019-09-11 19:15:01 +00:00
Semyon Proshev
9dcbfb78fd Reduce PythonSdkType.activateVirtualEnv(String) usages (EA-209936)
Use `PythonSdkType.activateVirtualEnv(Sdk)` instead with caching.

GitOrigin-RevId: 175afc2b52a4f50f4e63c3f33a2f89aab85ffd39
2019-09-03 14:59:03 +00:00
Andrey Vlasovskikh
f0c3fa13b0 PY-29858 Make all Python run configurations dumb-aware
Python run configurations don't use any indices, so it's safe to update/invoke them while indexing. This change enables
Run / Debug / Profile / Run with Coverage / Concurrency Diagram.

GitOrigin-RevId: 4993c859983c336b88984033ae209fc221290e2a
2019-07-26 15:02:42 +03:00
Roman Shevchenko
e6abc7158f [project] non-runtime code should not use directly use runtime classes
Reverting SystemInfo -> SystemInfoRt change

GitOrigin-RevId: a4a8c2b339e037cbf9209f9730c2ae30db485932
2019-06-16 05:32:27 +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
Eldar Abusalimov
1120c30a56 Merge remote-tracking branch 'origin/master' into eldar/cidr-debugger
# Conflicts:
#	CIDR/clion/src/com/jetbrains/cidr/cpp/toolchains/MSVC.java

GitOrigin-RevId: f3593b526d1870f32b3f1451cab0c6a653e5beb5
2019-06-16 03:01:38 +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
Roman Shevchenko
57e7cc56a0 [project] non-runtime code should not use directly use runtime classes
Reverting SystemInfo -> SystemInfoRt change

GitOrigin-RevId: a4a8c2b339e037cbf9209f9730c2ae30db485932
2019-06-11 17:48:13 +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
6a68c1583a prefer to use SystemInfoRt
GitOrigin-RevId: 72aa33bf5d46456a63f1128c829468f373ffec84
2019-05-29 21:13:12 +03:00
Aleksey Rostovskiy
185284cee6 get rid of intellij.build.toolbox.litegen parameter and use BuildOptions.TOOLBOX_LITE_GEN_STEP to skip it instead
GitOrigin-RevId: 9aac8ee4ed1ebf2a29de18a238825fafb1ab88f9
2019-05-27 15:08:08 +03:00
Alexandr Suhinin
9215f4240b [duplicates] enable duplicates analysis in PyCharm/WebStorm/PhpStorm/RubyMine
GitOrigin-RevId: 1545b79fdca4888f4b94f47f22703fd37694fa7a
2019-05-27 15:07:30 +03:00
Anton Makeev
aa103fd53c Merge branch 'master' into amakeev/gradle
# Conflicts:
#	community/plugins/gradle/src/org/jetbrains/plugins/gradle/service/settings/IdeaGradleProjectSettingsControlBuilder.java

GitOrigin-RevId: d931e798108685731bf185f7c2e3221680b8e5a2
2019-05-17 19:11:16 +03:00
Anton Makeev
b54aaf7e4e IDEA-210281 Cleanup Gradle settings: separate Runner configurable removed
GitOrigin-RevId: adbc39121fe91beb633e125b4cf39bfe0a422e4b
2019-05-17 19:02:16 +03:00