Commit Graph

200 Commits

Author SHA1 Message Date
Daniil Ovchinnikov
97f0a7fd3b migrate usages of ModalityState.NON_MODAL to ModalityState.nonModal
GitOrigin-RevId: fb4855bfa90dbf384fed24871e4b28ab803847bb
2023-06-09 21:58:50 +00:00
Tagir Valeev
f456ed0604 Pattern variable can be used mass cleanup
GitOrigin-RevId: 55839bf0deca5f81d0f7eb5b1c190145a5ea0037
2023-02-07 13:58:20 +00:00
Tagir Valeev
56013717c5 [inspections] Rename OptSet -> OptStringList; stringSet -> stringList
This reflects that we usually preserve ordering and in fact map to the List<String>

GitOrigin-RevId: f44eb3efae5db372dfb1747d86b728a23ec5745b
2023-01-17 15:37:26 +00:00
Tagir Valeev
fa3cf18c12 [inspections] OptPane: use stringSet
GitOrigin-RevId: 7f3ba5c990d8aa173d8edf3a38bb21543c26d0fa
2022-12-21 19:22:09 +00:00
Tagir Valeev
adb060863f Text blocks used
GitOrigin-RevId: 7db538c0a10131a3f946436c85b42fe7d7dc5b10
2022-09-29 12:58:29 +00:00
Alexey Kudravtsev
82dbf127b8 cleanup: reduce visibility of CommonProblemDescriptorImpl
GitOrigin-RevId: 46f481b5785df8f67f15086fcc1fdea7528f0e02
2022-08-16 13:12:15 +00:00
Ilya.Kazakevich
9b883fbebc Get rid of outdated dependency on java5
GitOrigin-RevId: 42421ef1d1db3f5d30ed898c0f1aab2129eded6f
2022-07-25 14:59:30 +00:00
Andrew Kozlov
a3d88ed86d [actions] action-update-thread: sphinx action
GitOrigin-RevId: 8c42a530d5d3dd6aa60b12e5588697a376d51ef8
2022-07-13 15:33:19 +00:00
Vyacheslav Moklev
66fc359182 [CodeWithMe] CWM-6658: Add support for more run contents
GitOrigin-RevId: 73dcfec80acca1cb8d2149ded31e3f4f0b33c9cf
2022-07-13 10:26:57 +00:00
Daniil Ovchinnikov
78c3e54c63 deprecate ProjectFileIndex$SERVICE
GitOrigin-RevId: 725283401fc7db28fd332d72eaa67e3a8e175259
2022-05-17 20:13:19 +00:00
Vladimir Krivosheev
a8f6a48409 add jdom to source code to modify and strip to our needs
GitOrigin-RevId: 3e16d0d954aa7bc45c4eadb91164b44e4b2e75d3
2022-03-27 18:52:47 +00:00
Alexey Kudravtsev
4042119416 supply unique project name/project creation stacktrace to each light project test, to ease debugging leaks/errors
GitOrigin-RevId: 7913ac913e8910813645af0b9ef20c3fc3b6ebf7
2021-11-25 12:43:07 +00:00
Irina.Fediaeva
6c243ee77f PY-50769: Make python completion contributors DumbAware
Completion contributors already wrapped in `DumbModeAccessType.RELIABLE_DATA_ONLY.ignoreDumbMode` in `CompletionProgressIndicator#calculateItems` so we don't need any extra-wrappings to prevent IndexNotReadyException

(cherry picked from commit 83c120ed2502474f3ddcfa2a52c6e9552d02e55e)

IJ-CR-14512

GitOrigin-RevId: e806ecb879708a75a8e7f544ea6d16a0648ca069
2021-10-14 08:38:49 +00:00
Alexander Koshevoy
d2f15b6adc PY-44016 Introduce HelpersAwareTargetEnvironmentRequest and rewrite PythonScripts.kt accordingly
GitOrigin-RevId: b3d1a3a8b5600134eefb3ff4cca729a6100545b1
2021-09-22 12:35:08 +00:00
Semyon Proshev
96ca67b701 Remove support for buildout (PY-49193)
GitOrigin-RevId: 6c9e582d92b7c1c5f43648022abe315906e2786c
2021-09-14 17:08:51 +00:00
Dmitry Trofimov
13503ced4c Rationalize PlatformCoreDataKeys usages
GitOrigin-RevId: a07b3295a4af22918daa19f521888645f16e8017
2021-08-25 15:23:28 +00:00
Semyon Proshev
f234552ee1 Do not override InspectionProfileEntry.isEnabledByDefault in python inspections due to its javadoc
GitOrigin-RevId: 851edaf9034d63d7754bfc410373f3721eb03e68
2021-04-30 10:35:15 +00:00
Louis Vignier
0f575fbfa5 IJ-CR-8338 [codeInspection] Update ListEditForm
GitOrigin-RevId: 60b16d88ad47f62ad56aea840e2c6b381f54f5ea
2021-04-19 19:09:02 +03:00
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