idea/community.git
3 hours agoIDEA-CR-66701: IDEA-249139 diff: fix missing marks on scrollbar when 'Highlighting... 202
Aleksey Pivovarov [Tue, 8 Sep 2020 15:43:44 +0000 (18:43 +0300)]
IDEA-CR-66701: IDEA-249139 diff: fix missing marks on scrollbar when 'Highlighting Level' is set to None

Do not apply 'isHighlighterAvailable' filters to EditorMarkupModel.

Fix regression after 4992d38e997c38e5f6c0e59f11edfa149c00fbf7

(cherry picked from commit 7d7be9eacc8858b8815a55dbcccfc8fefc93e145)

GitOrigin-RevId: 3bec00b8c3b299a780fb54ed4a5561800bf6ce69

7 hours agoFix MarkdownSplitEditor#getFile()
Almighty Alpaca [Wed, 1 Jul 2020 13:56:50 +0000 (16:56 +0300)]
Fix MarkdownSplitEditor#getFile()

Instead of the default implementation returning null it now returns the actual file from the main text editor.

close #1373

(cherry picked from commit 14ed5f9aa51284e6157d8e8bc69715aacb7404ee)

GitOrigin-RevId: ff0ed380d6521d95198d2a321c32c151e362390c

10 hours agoUpdating versions of project dependencies: rkernelVersion->202.21
RKernel Updater [Mon, 21 Sep 2020 09:34:12 +0000 (12:34 +0300)]
Updating versions of project dependencies: rkernelVersion->202.21

RKernel Updater

GitOrigin-RevId: 5acfd413076e6454630c2929d633a530c625fe50

10 hours agoIDEA-CR-66814: ui: expect that popup may be shown with a shift to be fully visible...
Sergey Simonchik [Thu, 17 Sep 2020 07:26:53 +0000 (10:26 +0300)]
IDEA-CR-66814: ui: expect that popup may be shown with a shift to be fully visible (IDEA-CR-66814)

(cherry picked from commit e0945e06926343d6c1af6ea95efa749562c67db7)

GitOrigin-RevId: 92d2769b75a2bfcacccb1095d0ccb5a9976bdd9a

10 hours agoIDEA-CR-66814: ui: add JBPopupMenu.showAbove to show context menu above component
Sergey Simonchik [Sun, 13 Sep 2020 15:08:02 +0000 (18:08 +0300)]
IDEA-CR-66814: ui: add JBPopupMenu.showAbove to show context menu above component

(cherry picked from commit 314a4cac4f8169c2440087c27102645c9fbd3fd1)

GitOrigin-RevId: e2bae0dd603dc1ec549011896db5ff7bc9e879a0

2 days agoIDEA-CR-66617: Update API of new DropDownLink
Sergey Malenkov [Thu, 3 Sep 2020 13:54:21 +0000 (16:54 +0300)]
IDEA-CR-66617: Update API of new DropDownLink

(cherry picked from commit eaa57a3fcf2e4c8a35db43fe4b845f3ca33a92d1)

GitOrigin-RevId: c222f7a8cb93c4a571eaad6e49f3650dd7097fa3

3 days agoIDEA-CR-66777: IDEA-250494: getRootPane() must not be null exception
Sergey Malenkov [Thu, 10 Sep 2020 09:54:41 +0000 (12:54 +0300)]
IDEA-CR-66777: IDEA-250494: getRootPane() must not be null exception

(cherry picked from commit 96668730795bd67542f972b571dbe8f5ab3ea139)

GitOrigin-RevId: d0a995ffe79cded89deef0447037090e9bf3ac99

3 days agoIDEA-CR-66879: IDEA-249246: 'Enter' on a module source or content root opens Project...
Sergey Malenkov [Tue, 15 Sep 2020 19:58:49 +0000 (22:58 +0300)]
IDEA-CR-66879: IDEA-249246: 'Enter' on a module source or content root opens Project Structure dialog

(cherry picked from commit e96101c8abcd40ad8dd0d8867bf4de6c9cf62c0c)

GitOrigin-RevId: 7662ce0ea5e9b42563ffd8962c14956b73f4d28d

3 days agoIJ-CR-3105: [gradle] fix build script classpath is missing the buildSrc classes IDEA...
Nikita Skvortsov [Fri, 18 Sep 2020 10:22:52 +0000 (13:22 +0300)]
IJ-CR-3105: [gradle] fix build script classpath is missing the buildSrc classes IDEA-248111

(cherry picked from commit 7a2d61996ae7c380b657313ea93c18ff13c2de02)

GitOrigin-RevId: d1ed63a33e92caf3abbd443f0c68980e52b8de23

3 days agoIJ-CR-3104: [java-highlighting] IDEA-250951 Record accessor for the record component...
Tagir Valeev [Fri, 18 Sep 2020 04:16:18 +0000 (11:16 +0700)]
IJ-CR-3104: [java-highlighting] IDEA-250951 Record accessor for the record component with ellipsis type produces a red code

(cherry picked from commit 7d2a1ddf7686a07cd4591c4c17d758c1cb203940)

GitOrigin-RevId: 94ce0a2b4ab75cc13637530a8720a4ec5ffbe022

3 days agoIDEA-250864 Attach jbr_err files along with hs_err - better filtering
Egor Ushakov [Thu, 17 Sep 2020 17:54:54 +0000 (20:54 +0300)]
IDEA-250864 Attach jbr_err files along with hs_err - better filtering

(cherry picked from commit 9facb71dd8a3f8169a8959dd4b4f1cca2d1f9111)

GitOrigin-RevId: 72a7c453c0c81c261eb578380b1ce77354f2f3d7

3 days agoIDEA-250864 Attach jbr_err files along with hs_err
Egor Ushakov [Thu, 17 Sep 2020 17:48:54 +0000 (20:48 +0300)]
IDEA-250864 Attach jbr_err files along with hs_err

(cherry picked from commit 4dedcfd15b9a4e2aeb6a84444fdf19f678a9157d)

GitOrigin-RevId: 034d6e12f3a6e9842b1d531bbba555f978eb96e9

3 days agoIJ-CR-3096: [gradle] Restore script parameters from template when starting Gradle...
Nikita Skvortsov [Fri, 18 Sep 2020 08:03:18 +0000 (11:03 +0300)]
IJ-CR-3096: [gradle] Restore script parameters from template when starting Gradle task from context IDEA-232743

Do it as late as possible, including async choice of tests to run IJ-CR-3096

(cherry picked from commit 765a2207b5eb8460a74e79fb60d8357e9456e584)

GitOrigin-RevId: 9ed5b6e7b0a59c99c2c1ebaf3b40d29ccc6e8adc

3 days agoIJ-CR-3096: [gradle] Restore script parameters from template when starting Gradle...
Nikita Skvortsov [Thu, 17 Sep 2020 13:23:05 +0000 (16:23 +0300)]
IJ-CR-3096: [gradle] Restore script parameters from template when starting Gradle task from context IDEA-232743

(cherry picked from commit 9fe3de4f319815e6491fef6a4978f7e9d0509f5d)

GitOrigin-RevId: 345c849ff680ac2fede4006caec09d13165339cb

3 days agoIJ-CR-3103: [java-psi] Tolerate unparseable record component type (IDEA-250933)
Tagir Valeev [Fri, 18 Sep 2020 04:22:09 +0000 (11:22 +0700)]
IJ-CR-3103: [java-psi] Tolerate unparseable record component type (IDEA-250933)

(cherry picked from commit 813982a27750455f74d92ea48931096b389c6b37)

GitOrigin-RevId: 70db2ab23a465ef9b52dbd7ca4f2882d39fdce8e

3 days agoIJ-CR-3084: [gradle] Re-use existing run configuration when running task via action...
Nikita Skvortsov [Wed, 16 Sep 2020 16:28:34 +0000 (19:28 +0300)]
IJ-CR-3084: [gradle] Re-use existing run configuration when running task via action IDEA-163228

(cherry picked from commit c7645adc606eded9734134501f61ec5ef7449676)

GitOrigin-RevId: 537302c94cc1d53394c9263dd6cf063e642bd242

4 days agoIJ-CR-1950: maven wrapper - set project JDK in settings IDEA-CR-1950 - revert to...
Alexander Bubenchikov [Mon, 29 Jun 2020 09:43:52 +0000 (12:43 +0300)]
IJ-CR-1950: maven wrapper - set project JDK in settings IDEA-CR-1950 - revert to internal jdk

(cherry picked from commit 1be54256e1c7c2fe9492d25e880e3054078fd011)

GitOrigin-RevId: d849ebe8bde96dfe4965127c6e92a74414a049fe

4 days agoIJ-CR-1950: maven wrapper - set project JDK in settings IDEA-CR-1950
Alexander Bubenchikov [Fri, 26 Jun 2020 07:17:34 +0000 (10:17 +0300)]
IJ-CR-1950: maven wrapper - set project JDK in settings IDEA-CR-1950

(cherry picked from commit 7076ddb00485035933f1f4cb4d43457e8e0e1c26)

GitOrigin-RevId: 6a409726df511f8559ea6b30aa92c8f4eb6f7623

4 days agoIJ-CR-1950: maven wrapper - set project JDK in settings
Alexander Bubenchikov [Thu, 25 Jun 2020 16:19:58 +0000 (19:19 +0300)]
IJ-CR-1950: maven wrapper - set project JDK in settings

(cherry picked from commit 7cf4bcf87a066b2a5542d8f53f847ca1a10ad2fb)

GitOrigin-RevId: e1d76f8cb84fa5f40e3253d8df2a34860b14707c

4 days agoIJ-CR-1950: maven wrapper - set project JDK in settings
Alexander Bubenchikov [Thu, 25 Jun 2020 14:35:36 +0000 (17:35 +0300)]
IJ-CR-1950: maven wrapper - set project JDK in settings

(cherry picked from commit d0b17b85169555bdb3d854624beaf876ad98a57b)

GitOrigin-RevId: 4bfa558edee87305e2ccd059cca7db31ee187b92

4 days agoIDEA-CR-66577: IDEA-249119 [git] Remember git pull dialog settings
Daniil Tsaryov [Thu, 10 Sep 2020 12:34:34 +0000 (15:34 +0300)]
IDEA-CR-66577: IDEA-249119 [git] Remember git pull dialog settings

(cherry picked from commit 823eae9f69ef32d3f2517f81c97cb89d9a7b3537)

GitOrigin-RevId: 497f7e84346fea8a6ecb2d06c3b2c8f5e90f71f9

5 days agoFix compilation
Semyon Proshev [Wed, 16 Sep 2020 19:16:27 +0000 (22:16 +0300)]
Fix compilation

GitOrigin-RevId: 1faebfb88a1a1f31537eb77b7efa6d229662c710

5 days agoOverride call type of cls.__class_getitem__ (PY-43838)
Semyon Proshev [Tue, 15 Sep 2020 15:17:45 +0000 (18:17 +0300)]
Override call type of cls.__class_getitem__ (PY-43838)

(cherry picked from commit 530cbf657d2a76eae2b8dc11ea246be00ca74ee9)

GitOrigin-RevId: c5bbeabed7509a674b8d8b85598cca7c497308d7

5 days agoIJ-CR-3072: [gradle] better fix for IDEA-245377
Nikita Skvortsov [Tue, 15 Sep 2020 12:13:35 +0000 (15:13 +0300)]
IJ-CR-3072: [gradle] better fix for IDEA-245377

Track module name change as a modified state of a module editor

(cherry picked from commit 369ec6ed2a68ceb85055bc954e4eef929821bb42)

GitOrigin-RevId: 5bd4b643f569b4811bf9736552e49859b7b18362

5 days agoIJ-CR-3061: [Gradle] `buildSrc` projects of included builds have access to builds...
Vladislav.Soroka [Wed, 16 Sep 2020 10:07:53 +0000 (13:07 +0300)]
IJ-CR-3061: [Gradle] `buildSrc` projects of included builds have access to builds included in the composite "root" build IDEA-250774

(cherry picked from commit b63ed9f2cdb0800401e5ccfe1effb78195a71f25)

GitOrigin-RevId: f54b42562caa395f1d15ed2fec38044324e02a14

5 days agoIJ-CR-3061: [Gradle] `buildSrc` projects of included builds have access to builds...
Vladislav.Soroka [Wed, 16 Sep 2020 09:49:29 +0000 (12:49 +0300)]
IJ-CR-3061: [Gradle] `buildSrc` projects of included builds have access to builds included in the composite "root" build IDEA-250774

(cherry picked from commit 6c7172512a7319b83a0c28c3d555d9ddff5bddb8)

GitOrigin-RevId: b4b7853d68e147a2f2c87908f26691d2100cf6bd

5 days agoIJ-CR-3061: [Gradle] `buildSrc` projects of included builds have access to builds...
Vladislav.Soroka [Wed, 16 Sep 2020 09:45:16 +0000 (12:45 +0300)]
IJ-CR-3061: [Gradle] `buildSrc` projects of included builds have access to builds included in the composite "root" build IDEA-250774

(cherry picked from commit cf22a311be904484efac3aed40c16d195897c986)

GitOrigin-RevId: 39f37cd95f56072c9e4a619b762233cda167cbbc

5 days agoIJ-CR-3061: IDEA-250774 Import failed if buildSrc project uses plugins implemented...
Vladislav.Soroka [Tue, 15 Sep 2020 13:25:20 +0000 (16:25 +0300)]
IJ-CR-3061: IDEA-250774 Import failed if buildSrc project uses plugins implemented by included build of the root project

(cherry picked from commit fb8155d3124eab19a6c8e5655260c7c4aa6712a6)

GitOrigin-RevId: f64a813b1c7aea195996c54e63179ee8a30cda24

5 days agotests leak fix
Mikhail Sokolov [Wed, 16 Sep 2020 13:40:54 +0000 (16:40 +0300)]
tests leak fix

GitOrigin-RevId: 70cf3aef8f66086ba2d3af785f665e33591103f9

5 days agoPY-32929 Fix support for PEP 484 compatible typing in Cython
Mikhail Khorkov [Wed, 17 Jun 2020 10:32:25 +0000 (17:32 +0700)]
PY-32929 Fix support for PEP 484 compatible typing in Cython

Now PyCharm successfully parses var with type hinting and
correctly resolve types of function parameters

GitOrigin-RevId: 785e56147afb7aaa4aa3b2fd3b5872fb68a1e1c4

5 days agoPY-11858 Fix rename functon parameter along with decorator argument
Mikhail Khorkov [Fri, 10 Jul 2020 09:35:06 +0000 (16:35 +0700)]
PY-11858 Fix rename functon parameter along with decorator argument

If docorated function has a parameter and the decorator has
an argument with the same name as the parameter then we must not rename
the argument in case of renaming the parameter.

GitOrigin-RevId: 5c5505512a414bdc0edf492f895d008e87e38d54

5 days agoPY-36578 PY-30708 Make pipenv error dialog to be scrollable
Mikhail Khorkov [Thu, 16 Jul 2020 19:08:26 +0000 (02:08 +0700)]
PY-36578 PY-30708 Make pipenv error dialog to be scrollable

Change general error message dialog to PackagesNotificationPanel
for pipenv errors.

GitOrigin-RevId: be8918c94ad207b06557aacb7aa08fa5c7a4b131

5 days agoIDEA-250780 inform about missing native libs for JCEF on linux
Anton Tarasov [Wed, 16 Sep 2020 09:33:20 +0000 (12:33 +0300)]
IDEA-250780 inform about missing native libs for JCEF on linux

Cherry-pick d91356f6
IDEA-CR-66871

GitOrigin-RevId: 02c40cef97c52ae2711308d8b31e81c5a97caf7c

5 days agoIDEA-CR-66882: Downgrade PyCharm tips versions due to tip engine problems
Aleksey Rostovskiy [Tue, 15 Sep 2020 22:49:32 +0000 (01:49 +0300)]
IDEA-CR-66882: Downgrade PyCharm tips versions due to tip engine problems

(cherry picked from commit a1f2520dba451aed98da337eae72570c43d37f62)

GitOrigin-RevId: 306d7e1119fea5914f7aade83975ff8eeadeb5b4

5 days agoIDEA-CR-66875: IDEA-250462 Project file isn't opened from command line when another...
Rustam Vishnyakov [Tue, 15 Sep 2020 17:56:50 +0000 (20:56 +0300)]
IDEA-CR-66875: IDEA-250462 Project file isn't opened from command line when another project is already opened and Light Edit frame is focused

Don't return LightEdit project as a possible candidate when LightEdit window is focused. Return the first real project instead if LightEdit shouldn't handle the file.

(cherry picked from commit 03fae495b01c1ecd635bba42d86e5d54dae9bb4c)

GitOrigin-RevId: bef96f399b3312530d302c65dfa6e0b5ab8aaec9

5 days agoBig Sur is 11.0 and 10.16 at the same time
Konstantin Bulenkov [Mon, 22 Jun 2020 22:05:13 +0000 (00:05 +0200)]
Big Sur is 11.0 and 10.16 at the same time

(cherry picked from commit 89d77916ffa8afe6807e991294957f4154c4dd4b)

GitOrigin-RevId: 2ad0a009aa3efa934932f363be81485418af117f

5 days ago+macOS Big Sur
Konstantin Bulenkov [Mon, 22 Jun 2020 19:38:30 +0000 (21:38 +0200)]
+macOS Big Sur

(cherry picked from commit b3f998494011df6ed0c30fa30efca77d2068818f)

GitOrigin-RevId: ad15ffbc3e1a217b2fe2d75381524d5b59e8a3d1

6 days ago[git] restore compatibility with Safe Push plugin 0.1.45
Nikolay Chashnikov [Fri, 11 Sep 2020 09:08:01 +0000 (12:08 +0300)]
[git] restore compatibility with Safe Push plugin 0.1.45

This commit reverts b06ed10238e7.

(cherry picked from commit b2c9c5265ce8ef29847ee7c83a088f897b9c8c71)

GitOrigin-RevId: 85896a111c55b55fa301e2da4f249b3aa42bd788

6 days agoaether resolver: default remote repos are replaced with cache-redirector
Dmitriy.Panov [Fri, 11 Sep 2020 23:39:01 +0000 (02:39 +0300)]
aether resolver: default remote repos are replaced with cache-redirector

(cherry picked from commit 036612ba1231b370192d9bfad17ad5c64d521860)

GitOrigin-RevId: 05e43063a55b943d2748b55f1b2c934e63724590

6 days agointellij.java.tests: repo.labs link replaced with cache-redirector
Dmitriy.Panov [Fri, 11 Sep 2020 23:06:57 +0000 (02:06 +0300)]
intellij.java.tests: repo.labs link replaced with cache-redirector

(cherry picked from commit 6acf2a2878d0d4d39890524a05106e2e0c858fb0)

GitOrigin-RevId: d7f4e479a0c7a508d8bed3bfaf8301558c15e7e1

6 days agoIJI-416 Make Safe-Push + Compile default option in push dialog: disabled option shoul...
Dmitriy.Panov [Fri, 11 Sep 2020 15:03:33 +0000 (18:03 +0300)]
IJI-416 Make Safe-Push + Compile default option in push dialog: disabled option shouldn't be made the default

(cherry picked from commit f91882bfbe64a7fd3716b855cf1dc0c661e4b833)

GitOrigin-RevId: 821b0d0b37f09d9df55ff31424811ac32b0d3cb8

6 days agoIJI-416 make Safe-Push + Compile default option in push dialog
Dmitriy.Panov [Thu, 10 Sep 2020 16:10:47 +0000 (19:10 +0300)]
IJI-416 make Safe-Push + Compile default option in push dialog

(cherry picked from commit 48af0e3c3d5f4c1389fdde8d0dd62a2790b6467b)

GitOrigin-RevId: 5526633f409364def0174fe956d859385d8f2081

6 days agoRevert "Restore the previous constructor of the GitUpdateProcess, because it is used...
Dmitriy.Panov [Wed, 9 Sep 2020 16:20:11 +0000 (19:20 +0300)]
Revert "Restore the previous constructor of the GitUpdateProcess, because it is used in a 3-party plugin"

This reverts commit b0377531

(cherry picked from commit b06ed10238e7adb3c3958422f91a7a2f702c8bb0)

GitOrigin-RevId: b14a380445236dba87c38aa470ef511cd4454db1

6 days agoIDEA-250756 Japanese mnemonics removal: support ellipsis
Tagir Valeev [Tue, 15 Sep 2020 04:53:49 +0000 (11:53 +0700)]
IDEA-250756 Japanese mnemonics removal: support ellipsis

(cherry picked from commit 4731d62f6410e29b6192bfe4af85a044b747333d)

GitOrigin-RevId: db173de6b199415f5ee3f4b77b009f14eb39949e

7 days agoIJ-CR-3045: IDEA-250595 Broken Gradle sync
Vladislav.Soroka [Mon, 14 Sep 2020 08:07:43 +0000 (11:07 +0300)]
IJ-CR-3045: IDEA-250595 Broken Gradle sync

(cherry picked from commit d281f17d5b98592364951c804cade1b047262d80)

GitOrigin-RevId: b64111a166a2a3663584d66eb9c4b40531045496

7 days agoIDEA-CR-66497: IDEA-247358: Navigate to file: wrong item is focused in the Project...
Sergey Malenkov [Tue, 1 Sep 2020 13:22:35 +0000 (16:22 +0300)]
IDEA-CR-66497: IDEA-247358: Navigate to file: wrong item is focused in the Project View with "Always Select Open File" enabled

(cherry picked from commit 436fe2207ad45859440719f347fecd8dee7f3922)

GitOrigin-RevId: 4892eecb41add18eb1870e4c684f07b54301dc4a

7 days agoIJ-CR-3011: java introduce constant: allow to replace multiple occurrences for field...
Anna Kozlova [Wed, 9 Sep 2020 16:40:17 +0000 (18:40 +0200)]
IJ-CR-3011: java introduce constant: allow to replace multiple occurrences for field-anchor without initializer (IDEA-250412)

fix regression introduced by enabling extract variable from field initializer

(cherry picked from commit c6dd97ec10ecec32f48a337482afb6900464f668)

GitOrigin-RevId: 94369ea0c21d7f09d6135d31401bf8a7de6918ff

7 days agoIDEA-CR-66660: storage: fix migration of antialiasing settings: IDEA-209384
Kirill Likhodedov [Mon, 7 Sep 2020 11:16:44 +0000 (14:16 +0300)]
IDEA-CR-66660: storage: fix migration of antialiasing settings: IDEA-209384

If there is a deprecated setting (e.g. ideAAType), in UISettings#migrateOldSettings at first we take it to use as the current value, and then we overwrite this deprecated value by the default value, so that at the next start it won't be used anymore, and only the value from the new storage will be considered.

However, migrateOldSettings() happens inside loadState(). And by default the State digest is calculated after loading it. Thus setting the deprecated ideAAType value to "greyscale" happens before this calculation, so this "greyscale" value is considered as the value actually written on disk. And when we save the State, it doesn't get updated, because nothing has been changed from IDEA's point of view.

The solution is to mark the State with useLoadedStateAsExisting=false, which makes the IDE to compare with the actual state on disk rather than with the loaded state.

(cherry picked from commit 721640e39b7f6a133ea355b3d598693725f1cdde)

GitOrigin-RevId: e3f931f22c873598e4aa74230533c7165f85ce87

7 days agoIDEA-CR-64748: fixes for namespace package resolve (PY-39748)
Aleksei Kniazev [Mon, 20 Jul 2020 14:34:20 +0000 (17:34 +0300)]
IDEA-CR-64748: fixes for namespace package resolve (PY-39748)

(cherry picked from commit c600a4b23556442cfcf7734dc212731017bc86a2)

GitOrigin-RevId: 2c8ccfa07da1aa667ef2a82e39dc05ed31cc36e8

7 days agoIDEA-CR-64748: simplified namespace package resolution (PY-39748)
Aleksei Kniazev [Wed, 15 Jul 2020 10:01:22 +0000 (13:01 +0300)]
IDEA-CR-64748: simplified namespace package resolution (PY-39748)

(cherry picked from commit 3dca60f2efb63d96eb5741a6f0fd6c9e0eb3a5a9)

GitOrigin-RevId: 315a6c74a733e090781e5db752b6c03011947acd

7 days agoIDEA-CR-64748: account for docstring when resolving namespace package, support try...
Aleksei Kniazev [Wed, 8 Jul 2020 10:27:03 +0000 (13:27 +0300)]
IDEA-CR-64748: account for docstring when resolving namespace package, support try-except style declarations (PY-39748, PY-39512)

(cherry picked from commit 94907cff458e56607c11163bb681988a44750bc0)

GitOrigin-RevId: 807928430246635f795110e5197a35b3579009ac

7 days agoJavaDocInfoGenerator: do not localize class/interface/enum/record (IDEA-250663)
Tagir Valeev [Mon, 14 Sep 2020 02:08:17 +0000 (09:08 +0700)]
JavaDocInfoGenerator: do not localize class/interface/enum/record (IDEA-250663)

(cherry picked from commit c7a45f26dd0817ccadcef5e9af47961ec2d2db2b; review ID IJ-CR-3043)

GitOrigin-RevId: 1aa176b76308fc6edcc581e0eecf4084e43970c7

7 days agoUpdate PyCharm tips versions
Aleksey Rostovskiy [Mon, 14 Sep 2020 08:10:03 +0000 (11:10 +0300)]
Update PyCharm tips versions

(cherry picked from commit 80add741c4eaf15b44d08c1cab3096522f20c779)

GitOrigin-RevId: e493c51d7c99c0cc5dc44659331f023a4fda0ea4

7 days ago[ui-util] TextWithMnemonic: fixes according to review IJ-CR-3005
Tagir Valeev [Fri, 11 Sep 2020 09:03:14 +0000 (16:03 +0700)]
[ui-util] TextWithMnemonic: fixes according to review IJ-CR-3005

1. Spaces between suffix and text should belong to suffix
2. Rename getText parameter
3. @NotNull annotation
4. JavaDoc

(cherry picked from commit 46624a2eeb0227dbb90ac1c29fb4fdb78c498943)

GitOrigin-RevId: 934228ef2808bc428e153cbd202b52430e5b72f0

7 days agoJapanese mnemonic fixes
Tagir Valeev [Thu, 20 Aug 2020 05:58:49 +0000 (12:58 +0700)]
Japanese mnemonic fixes

(cherry picked from commit 0469eab5ed24961864f075a164b3d6e13941554c; review ID: IJ-CR-3005)

GitOrigin-RevId: a17122430fc994a54b2822b02f7a9b186e428fc3

7 days agoFix ActionMenu in Japanese localization
Tagir Valeev [Thu, 20 Aug 2020 05:10:59 +0000 (12:10 +0700)]
Fix ActionMenu in Japanese localization

(cherry picked from commit afab27f6ac9a96b943d1ec6d82e92c1fe2e4c6f0; review ID: IJ-CR-3005)

GitOrigin-RevId: 8657f06c57255c6bd225e923a3eeab5d5d4eec7f

7 days ago[core] TextWithMnemonic: support Japanese-style mnemonics (as suffix); tests (IDEA...
Tagir Valeev [Wed, 19 Aug 2020 06:23:20 +0000 (13:23 +0700)]
[core] TextWithMnemonic: support Japanese-style mnemonics (as suffix); tests (IDEA-247875)

Reapplied previously reverted 66040ba7 with additional fix in TextWithMnemonic.fromPlainText(String, char): ignore mnemonic = 0

(cherry picked from commit 849565228d573d0ff0eea6cd68166b055aea7d62; review-ID: IJ-CR-3005)

GitOrigin-RevId: 107a35318e4c9ba407b71f822df3d8eb6ffa23ff

9 days agoUpdating versions of project dependencies: jdkBuild->11_0_8b944.34
Vitaly Provodin [Sat, 12 Sep 2020 00:02:18 +0000 (03:02 +0300)]
Updating versions of project dependencies: jdkBuild->11_0_8b944.34

Vitaly Provodin

GitOrigin-RevId: da28d58d4df349e475701a6b238c7f4ab0c7172e

10 days ago[^ann, roma] add PsiAugmentProvider.canInferType to allow lombok plugin to say the...
Peter Gromov [Thu, 10 Sep 2020 17:54:01 +0000 (19:54 +0200)]
[^ann, roma] add PsiAugmentProvider.canInferType to allow lombok plugin to say the type is inferred without actually inferring it

Otherwise it goes into recursion prevention, which hurts caching and causes incorrect inference: https://github.com/mplushnikov/lombok-intellij-plugin/issues/802

GitOrigin-RevId: 978bab285cddb0520dd84ff6052acc9912844641

11 days agofix compilation
Anna Kozlova [Thu, 10 Sep 2020 14:56:27 +0000 (16:56 +0200)]
fix compilation

GitOrigin-RevId: a837a62d00c2632df60d681da0c36a194838fa23

11 days agoaccept nullable console as SMRootTestProxy constructor parameter
Artem Khvastunov [Mon, 7 Sep 2020 14:46:30 +0000 (16:46 +0200)]
accept nullable console as SMRootTestProxy constructor parameter

(cherry picked from commit da5b88e7b5b52a24384b2b2c25740e6140229e36)

GitOrigin-RevId: 1c5b1d1d0023c86b34e95deebd8ce0ebb2017ec9

11 days agocwm: retrieve executionId from data context (CWM-608; CWM-593;CWM-640)
Anna Kozlova [Mon, 7 Sep 2020 14:04:40 +0000 (16:04 +0200)]
cwm: retrieve executionId from data context (CWM-608; CWM-593;CWM-640)

(cherry picked from commit 97ee7c4365bb7d419d2dc1286369be26f2282a43)

GitOrigin-RevId: 8016c6d186fa7c2d30a1275e17b1fc22f0687b2b

11 days agoAdd database objects to project search scope in PyCharm
Liudmila Kornilova [Thu, 6 Aug 2020 11:21:36 +0000 (14:21 +0300)]
Add database objects to project search scope in PyCharm

(cherry picked from commit 2759789f7109acf8e42de4a5868f5c6daab48cbc)

GitOrigin-RevId: dcbfbd6e1d9b06f014374a95644b62d8681b0049

12 days agoIDEA-245885 textWithMnemonic: cleanup
Dmitry.Krasilschikov [Sun, 9 Aug 2020 19:22:24 +0000 (22:22 +0300)]
IDEA-245885 textWithMnemonic: cleanup

(cherry picked from commit 0a2f90f3ff603d71b9122d743a4e644a910edc50)

GitOrigin-RevId: eaf7567167d7ab6183dcc33493b601fc6aabab2b

12 days agoIDEA-245885 learn `dropMnemonic()` method to remove `()` for language plugin
Dmitry.Krasilschikov [Wed, 5 Aug 2020 18:57:51 +0000 (21:57 +0300)]
IDEA-245885 learn `dropMnemonic()` method to remove `()` for language plugin

(cherry picked from commit 4477b9abb8984032aa236158ec5506aeecff73be)

(cherry picked from commit 06827d9435a50c06ed5e8fde8f97e6953b4fd3e1)

GitOrigin-RevId: 8ff5b002080a651fa05aff14c3ae9a13e6f6e430

12 days agoIJ-CR-2993: IDEA-250243 Gradle project windows displays incorrect project dependencies
Vladislav.Soroka [Wed, 9 Sep 2020 10:09:32 +0000 (13:09 +0300)]
IJ-CR-2993: IDEA-250243 Gradle project windows displays incorrect project dependencies

(cherry picked from commit a277816858bd27a47316e5319abd34542f0f9b3a)

GitOrigin-RevId: 2838b3fb7fdf6e488a8996dfd1b6fbb9444ff535

12 days agoIDEA-250404 Unable to open file in project mode from command line when another projec...
Rustam Vishnyakov [Wed, 9 Sep 2020 10:21:00 +0000 (13:21 +0300)]
IDEA-250404 Unable to open file in project mode from command line when another project is already open [IDEA-CR-66723]

(cherry picked from commit d50df5be43cb30df12c71de01c995c4b36473196)

GitOrigin-RevId: d646e16b3419c2e2aede0065e2b3e52755db0a2b

12 days agoIDEA-CR-66400: IDEA-248375 [git] Make help button reachable by keyboard in git rebase...
Daniil Tsaryov [Wed, 9 Sep 2020 10:11:50 +0000 (13:11 +0300)]
IDEA-CR-66400: IDEA-248375 [git] Make help button reachable by keyboard in git rebase dialog

(cherry picked from commit 63376c790ef0f5a6ac121d1c2818c56e7c39743e)

GitOrigin-RevId: 35cb3df85a28c587ec311cb472d146409774d25b

12 days agoIDEA-248378 [git] Close git rebase help popup on click outside
Daniil Tsaryov [Tue, 25 Aug 2020 13:07:14 +0000 (16:07 +0300)]
IDEA-248378 [git] Close git rebase help popup on click outside

(cherry picked from commit 71f8a9d16e9637dbf694edfeba62937411b3a064)

GitOrigin-RevId: 654ee7ea169376b4490f792e2d8d95eb8adc19c9

12 days agoIDEA-CR-65349: IDEA-245017 [vcs] Make git rebase dialog fields more clear
Daniil Tsaryov [Wed, 9 Sep 2020 10:00:18 +0000 (13:00 +0300)]
IDEA-CR-65349: IDEA-245017 [vcs] Make git rebase dialog fields more clear

(cherry picked from commit 015f86b846f26613d3d3da29f5055cc54eaef48c)

GitOrigin-RevId: 75f3551541399a7df81bec26502eb987f7bf622d

12 days agofixed flaky debugger test
Egor Ushakov [Mon, 6 Jul 2020 15:34:07 +0000 (18:34 +0300)]
fixed flaky debugger test

(cherry picked from commit 45fbd7aa4fa48853528b175a3541a9c697648b28)

GitOrigin-RevId: 9da847d022c7ab8c71539690987f812a723040b4

13 days agoIDEA-248255 Use LightEdit mode only for selected file extensions only [IDEA-CR-66637]
Rustam Vishnyakov [Fri, 4 Sep 2020 07:34:03 +0000 (10:34 +0300)]
IDEA-248255 Use LightEdit mode only for selected file extensions only [IDEA-CR-66637]

(cherry picked from commit 2db877aed0fccb1e008b129804fbb640cd53c8bf)
(cherry picked from commit 2db877aed0fccb1e008b129804fbb640cd53c8bf)
(cherry picked from commit 3023d4b0b5d4fed1666666ac19890472b44b6a57)
(cherry picked from commit 2db877aed0fccb1e008b129804fbb640cd53c8bf)

GitOrigin-RevId: e6fdff2611ab7fe866fa60de0054a80331020998

13 days agoMade "Dump Focusable Component Hierarchy" action non-internal to simplify focus troub...
Arseniy Nisnevich [Tue, 8 Sep 2020 12:06:42 +0000 (15:06 +0300)]
Made "Dump Focusable Component Hierarchy" action non-internal to simplify focus troubleshooting for users.

(cherry picked from commit c6d2e9a85300ef5d8b1bbe8b8b0af208fb785dd2)

GitOrigin-RevId: 95db2141071e5abc9abbf5c6ec34d3ef710bef65

13 days agoIDEA-CR-66589 [OC-20595] SourceKit annotations: use Predicate instead of Function
Aydar Mukhametzyanov [Fri, 4 Sep 2020 13:05:14 +0000 (15:05 +0200)]
IDEA-CR-66589 [OC-20595] SourceKit annotations: use Predicate instead of Function

(cherry picked from commit 39322b6b465e80577deeee88adbdaea4110f74d1)

GitOrigin-RevId: b87889d2b9d3c98ab2fc40669d5998e381353202

13 days agoIDEA-CR-66589 [OC-20595] SourceKit annotations: avoid multiple modal dialogs during...
Aydar Mukhametzyanov [Fri, 4 Sep 2020 12:16:14 +0000 (14:16 +0200)]
IDEA-CR-66589 [OC-20595] SourceKit annotations: avoid multiple modal dialogs during saving documents

(cherry picked from commit 95f007353346f4389470016644890aa7049570cb)

GitOrigin-RevId: f6297aed52408384bb6f9cc9aa9c936488d856de

13 days agoIDEA-CR-66523: cleanup (PY-44304)
Aleksei Kniazev [Tue, 8 Sep 2020 12:49:40 +0000 (15:49 +0300)]
IDEA-CR-66523: cleanup (PY-44304)

(cherry picked from commit 72aa8f60da52d330834dfd0cc9a310f81c8eba0d)

GitOrigin-RevId: fe9512a1baf293bf7e61970e114a46981b7f1977

13 days agoIDEA-CR-66523: combined temporary EPs into one (PY-44304)
Aleksei Kniazev [Tue, 8 Sep 2020 12:45:01 +0000 (15:45 +0300)]
IDEA-CR-66523: combined temporary EPs into one (PY-44304)

(cherry picked from commit cac0de0cb435b34061ea5892bcd919fc3b3a9156)

GitOrigin-RevId: 7935cdb9194811493ecd3607d1a32ed7336c982b

13 days agoIDEA-CR-66523: extracted pipenv support into extension points (PY-44304)
Aleksei Kniazev [Wed, 2 Sep 2020 09:43:47 +0000 (12:43 +0300)]
IDEA-CR-66523: extracted pipenv support into extension points (PY-44304)

(cherry picked from commit df80a73ff9db4989b27e01c56642f6f560965303)

GitOrigin-RevId: d0fafee2f5e0d379c89a4c5046af6c9aa3df589f

13 days agoIDEA-CR-66668: IDEA-247389 High CPU usage when I debug JUnit test - disabled classes...
Egor Ushakov [Mon, 7 Sep 2020 17:00:11 +0000 (20:00 +0300)]
IDEA-CR-66668: IDEA-247389 High CPU usage when I debug JUnit test - disabled classes info preload, it is not needed anyway with the async jdi

(cherry picked from commit 6b08b70613363bd69982a5e8608c5c8fc7c7b964)

GitOrigin-RevId: 0994d71cb8bf7240dd0ffd53c57ccee48f3deaae

13 days agoIDEA-CR-66462: PY-44244 Do not evaluate object properties for code completion
Elizaveta Shashkova [Mon, 31 Aug 2020 10:00:19 +0000 (13:00 +0300)]
IDEA-CR-66462: PY-44244 Do not evaluate object properties for code completion

GitOrigin-RevId: d67e8136c5ed97033a326df39c60bfa69810be84

2 weeks agoIJ-CR-2973: Fix build outside jetbrains network
Steven Lai [Sat, 5 Sep 2020 15:42:57 +0000 (18:42 +0300)]
IJ-CR-2973: Fix build outside jetbrains network

(cherry picked from commit 69e583d9d4d67fe58413998156539eb6c098e4e0)

GitOrigin-RevId: 839bcbce52eb1b498c699d5c8ec2619767d14d3c

2 weeks agoIDEA-244934 All IDEs show misleading JVM crash messages from other / older IDEs ...
Egor Ushakov [Fri, 7 Aug 2020 10:21:18 +0000 (13:21 +0300)]
IDEA-244934 All IDEs show misleading JVM crash messages from other / older IDEs - better fix IDEA-CR-65871

(cherry picked from commit 713f52af7b54ebaf78dd052ef2a00a40a64fb1c5)

GitOrigin-RevId: 6c5d14d6804f7a095d1ae342d880258ac7b92748

2 weeks agoIDEA-244934 All IDEs show misleading JVM crash messages from other / older IDEs ...
Egor Ushakov [Fri, 7 Aug 2020 09:27:10 +0000 (12:27 +0300)]
IDEA-244934 All IDEs show misleading JVM crash messages from other / older IDEs (IDEA-CR-65871)

(cherry picked from commit 5f4e2a25e7aecdcbda97a669b555aa55aeae53d5)

GitOrigin-RevId: 56f2492f99be63580c0535a8971771e773485b11

2 weeks agoIDEA-CR-66621: IDEA-249811 HiDPI Info: make it possible to copy text
Anton Tarasov [Fri, 4 Sep 2020 15:45:59 +0000 (18:45 +0300)]
IDEA-CR-66621: IDEA-249811 HiDPI Info: make it possible to copy text

(cherry picked from commit cd71fe506b5ba265fc64cf22c19ccf4cd5c0fb46)

GitOrigin-RevId: 7cac125b49a6821244ffcba08ac4fa22eef49090

2 weeks agoIJ-CR-2928 split assertions into 3 separate tests
Vladislav.Soroka [Thu, 3 Sep 2020 07:52:12 +0000 (10:52 +0300)]
IJ-CR-2928 split assertions into 3 separate tests

(cherry picked from commit 9c0359fd39fecd9f74bca6636084995870109b35)

GitOrigin-RevId: 008533f03ec4712492237317b36a1a6c8e4629ee

2 weeks agoIJ-CR-2928: Automatically show first error in editor is ignored IDEA-246750 IDEA...
Vladislav.Soroka [Wed, 2 Sep 2020 14:12:42 +0000 (17:12 +0300)]
IJ-CR-2928: Automatically show first error in editor is ignored IDEA-246750 IDEA-189043

(cherry picked from commit 3181eba5af36102dff0d4c8873f59e62b1ee1b2f)

GitOrigin-RevId: 8e628d7ea1f3e3afb61a35aa6d17031a531071b3

2 weeks agoIDEA-CR-66045: RUBY-26755 add statistics event for when a project view pane changes
Henry Wylde [Thu, 13 Aug 2020 11:24:10 +0000 (13:24 +0200)]
IDEA-CR-66045: RUBY-26755 add statistics event for when a project view pane changes

(cherry picked from commit a0cbd5ca6d44e3d92a04e2bc6a23271443b7164e)

GitOrigin-RevId: d560406838944dd6ad4be60f1e68829e6e123ad0

2 weeks agoIDEA-CR-66045: RUBY-26755 add collector for current project view pane open
Henry Wylde [Thu, 13 Aug 2020 11:23:31 +0000 (13:23 +0200)]
IDEA-CR-66045: RUBY-26755 add collector for current project view pane open

This collector simply grabs the currently open project view pane and reports on it. This may be useful for trying to determine on average what view pane a user predominantly uses.

(cherry picked from commit 824ec14cae0705b70eedcdf969d66340adffaa85)

GitOrigin-RevId: 9fe155f9fb3a38eb6e95131d885bdc7f0b68072e

2 weeks agoIDEA 2020.2.3 release preparation - minor version set to '2.3'
Irina.Petrovskaya [Mon, 7 Sep 2020 11:10:22 +0000 (14:10 +0300)]
IDEA 2020.2.3 release preparation - minor version set to '2.3'

GitOrigin-RevId: fe6bacce128ee9d4a397e9b657576633f2d984bf

2 weeks agoIDEA-CR-66631: [java-exceptions] Skip files without a VirtualFile
Tagir Valeev [Mon, 7 Sep 2020 08:14:52 +0000 (15:14 +0700)]
IDEA-CR-66631: [java-exceptions] Skip files without a VirtualFile

EA-237897 - IAE: ProjectFileIndexImpl.$$$reportNull$$$0

(cherry picked from commit 0bf2b3278103bc0628f146242e849a05b1e948ff)

GitOrigin-RevId: c4f92a87482cc93b09622ac556cba0cf330e5a69

2 weeks agoIDEA-247316: Fix "Pausing Indexing Applies to All Windows Rather than Current Project".
Sergey Patrikeev [Wed, 5 Aug 2020 06:55:37 +0000 (09:55 +0300)]
IDEA-247316: Fix "Pausing Indexing Applies to All Windows Rather than Current Project".

What caused the indexing to stop for all projects:
1) IndexUpdateRunner creates worker threads in a common pool of the fixed size N. These worker threads are used to index different projects one by one.
2) When indexing of some project is suspended, all worker threads are blocked (on object monitor of the "ProgressSuspender.freezeIfNeeded") on "ProgressIndicator.checkCancelled" of the corresponding project and there is no worker thread that can finish indexing of other projects.

To fix this, we need to skip IndexingJob-s that have suspended progress indicator and to temporarily disable suspension when indexing a single file.

(cherry picked from commit 5b69a41279557f14ee251d5669656a454ccaf569, reviewed in IDEA-CR-65818)

GitOrigin-RevId: 1d071bac47720a2a4a8e56a1af15be5dc50fd413

2 weeks ago[linux-menu] JBR-2565 Create new main context instead of using default one in GlobalM...
Nikita Gubarkov [Sat, 8 Aug 2020 10:09:03 +0000 (13:09 +0300)]
[linux-menu] JBR-2565 Create new main context instead of using default one in GlobalMenuLinux

(cherry picked from commit 7d686579bc9c694dea7391e0c6ccf95fd1adaf9c)

GitOrigin-RevId: 33ace666ed463283b517e5c1faa8e906cc937006

2 weeks agoCIDR: update commit hash for LLDBFrontend
Leonid Mashinskiy [Fri, 4 Sep 2020 14:10:02 +0000 (17:10 +0300)]
CIDR: update commit hash for LLDBFrontend

GitOrigin-RevId: a05b443fa5f99020bce88727b3f2bf77de7d5aa0

2 weeks agoIncreaseLanguageLevelFix: suggest to accept level if not yet
Roman Ivanov [Thu, 13 Aug 2020 00:21:25 +0000 (02:21 +0200)]
IncreaseLanguageLevelFix: suggest to accept level if not yet

(cherry picked from commit bf75af630d5877474f327365bb52ae6458feb732)

GitOrigin-RevId: 799482f163c99b42cc9307c04d43c6796d32fd88

2 weeks agoIDEA-249754 Wrong cursor when dragging breakpoint to another file (IDEA-CR-66570)
Egor Ushakov [Thu, 3 Sep 2020 07:00:14 +0000 (10:00 +0300)]
IDEA-249754 Wrong cursor when dragging breakpoint to another file (IDEA-CR-66570)

(cherry picked from commit 748250bcc8a7a7fc74bb3717a0da15a20fa64407)

GitOrigin-RevId: 4ed4fcb9ac1530f93d9e841de79ed542f2316283

2 weeks agoIDEA-CR-66310: IDEA-248796 [git] Show git roots in new dialogs in the same way
Daniil Tsaryov [Fri, 4 Sep 2020 09:57:40 +0000 (12:57 +0300)]
IDEA-CR-66310: IDEA-248796 [git] Show git roots in new dialogs in the same way

GitOrigin-RevId: a83ca69987d0de0a7f538819db7c9f916c80679c

2 weeks agoUpdating versions of project dependencies: rkernelVersion->202.18
RKernel Updater [Fri, 4 Sep 2020 10:01:28 +0000 (10:01 +0000)]
Updating versions of project dependencies: rkernelVersion->202.18

RKernel Updater

GitOrigin-RevId: 0ee958e54f82a932045d8e0ac5193b8e9a645914

2 weeks agoIDEA-CR-66568: [java-dfa] Mark synthetic record accessors as pure and stable
Tagir Valeev [Thu, 3 Sep 2020 02:48:21 +0000 (09:48 +0700)]
IDEA-CR-66568: [java-dfa] Mark synthetic record accessors as pure and stable

Fixes IDEA-249829 Java 14: records: data flow analysis fails to detect an existing null check.

(cherry picked from commit ef93b0be550370d5abbd3942e3848b250b931fce)

GitOrigin-RevId: 466ecee98eb3f21b88d40fe0d6d3beea90928895

2 weeks ago[intentions] IDEA-243676 IDEA-243633 Add a consistency test for unattended intentions...
Nikita Eshkeev [Tue, 16 Jun 2020 16:15:07 +0000 (19:15 +0300)]
[intentions] IDEA-243676 IDEA-243633 Add a consistency test for unattended intentions descriptions

This patch clean up the test code, it uses IntentionManagerSettings to get the list of intentions as metadata and extracts descriptionsDirectoryName. It helps to handle the cases when the description directory is configured through plugin.xml. In addition to that the tests also looks extracts the family names from intentions as IDEA looks for directories with this name if it's unable to find the directory by the classname.

Signed-off-by: Nikita Eshkeev <nikita.eshkeev@jetbrains.com>
(cherry picked from commit d730f15b65d778310e8e56ba8432eba19563e3b3)

GitOrigin-RevId: 4b18b18fd219a96dd08ce7caa6d6e51c1d07bcf2

2 weeks agoIDEA-CR-66194: IDEA-248332 [git] Support git pull --rebase correctly
Daniil Tsaryov [Thu, 3 Sep 2020 14:01:49 +0000 (17:01 +0300)]
IDEA-CR-66194: IDEA-248332 [git] Support git pull --rebase correctly

GitOrigin-RevId: f1a758c8747e8eb05ae720420cb844635424a106