idea/community.git
2 hours agoCPP-22503: LLDBFrontend: Update commit hash master
Eldar Abusalimov [Thu, 29 Jul 2021 17:59:06 +0000 (20:59 +0300)]
CPP-22503: LLDBFrontend: Update commit hash

See:
    1e5c6ed Revert "CPP-22503: LLDBFrontend: Use SBValue.GetDisplayTypeName() for types"

GitOrigin-RevId: 5e6adbbe0215b5266755351e0b0e4a4d73aadf35

3 hours ago[java][highlight] IDEA-274531 errors shown incorrectly when a method name is the...
Nikita Eshkeev [Thu, 29 Jul 2021 13:17:06 +0000 (16:17 +0300)]
[java][highlight] IDEA-274531 errors shown incorrectly when a method name is the same as a nested class name

Fix the caption of the error highlighting when it looks like a call to a static field or method with redundant `new`

GitOrigin-RevId: b15739b54ef0b195f9bb05f12775ab5e6c5b3b0b

3 hours ago[maven] IDEA-117762 Tree view for maven multi module projects
Grigoriy Myasoedov [Thu, 29 Jul 2021 17:01:57 +0000 (20:01 +0300)]
[maven] IDEA-117762 Tree view for maven multi module projects

group modules default enabled + remove modules node

GitOrigin-RevId: a7ad7b6dfff6c8a7b01bc2ee113ec05c736d9555

3 hours agoIDEA-274063 Add the dropdowns option to the tags component in the Edit RC dialog
Dmitry Avdeev [Thu, 29 Jul 2021 17:11:06 +0000 (20:11 +0300)]
IDEA-274063 Add the dropdowns option to the tags component in the Edit RC dialog

align dropdown with button text

GitOrigin-RevId: dcaaf2ada598598fb252ba10a0194d884d32f5fc

3 hours ago[workspace model] performance: optimize Module::setOption (IDEA-274168)
Nikolay Chashnikov [Thu, 29 Jul 2021 16:23:33 +0000 (19:23 +0300)]
[workspace model] performance: optimize Module::setOption (IDEA-274168)

If it's used to update an option for an existing module, it's already set to that value in many cases, and we can avoid costly 'updateProjectModel' in such cases.

GitOrigin-RevId: cd89c4cbeaa1c6349bb3dce7094aa9b8f8c52604

3 hours agoSSR: remove registry key to disable multi-threaded inspection
Bas Leijdekkers [Thu, 29 Jul 2021 15:47:28 +0000 (17:47 +0200)]
SSR: remove registry key to disable multi-threaded inspection

GitOrigin-RevId: 9a3be7aed7e64fb036bacf586eb194d49e12769a

3 hours agoSSR: do simple language check first in inspection (IDEA-273812)
Bas Leijdekkers [Thu, 29 Jul 2021 15:09:22 +0000 (17:09 +0200)]
SSR: do simple language check first in inspection (IDEA-273812)

GitOrigin-RevId: f4cbca9997c6b9e9b1b7998fd785f8d2204711d0

3 hours agoSSR: add null check
Bas Leijdekkers [Thu, 29 Jul 2021 15:00:24 +0000 (17:00 +0200)]
SSR: add null check

GitOrigin-RevId: 8965c364cf1d3ae129808ca023a792304de8ee85

3 hours agoSSR: simplify JavaDoc comment matching
Bas Leijdekkers [Thu, 29 Jul 2021 13:51:14 +0000 (15:51 +0200)]
SSR: simplify JavaDoc comment matching

GitOrigin-RevId: 108eea02074e7e1c71701184b3337a4e721536b5

4 hours ago[workspace model] performance: optimize checking that no new dependencies were added...
Nikolay Chashnikov [Thu, 29 Jul 2021 15:41:44 +0000 (18:41 +0300)]
[workspace model] performance: optimize checking that no new dependencies were added to module (IDEA-274168)

list1.containsAll(list2) takes O(list1.size*list2.size), and it may cause performance problems for modules with many dependencies. New code takes O(list1.size+list2.size).

GitOrigin-RevId: f3ddaa9c4978b5978462f9328d828da2d5c4b393

4 hours ago[test framework] allow specifying additional Maven repositories for artifacts downloa...
Nikolay Chashnikov [Thu, 29 Jul 2021 14:40:36 +0000 (17:40 +0300)]
[test framework] allow specifying additional Maven repositories for artifacts downloaded in tests

GitOrigin-RevId: 96aa79076b65193e5d44f313bacc152ac3a0ba8b

4 hours agoIDEA-272610 Apply is enabled on open Run/Debug dialog with Application run configuration
Dmitry Avdeev [Thu, 29 Jul 2021 16:11:40 +0000 (19:11 +0300)]
IDEA-272610 Apply is enabled on open Run/Debug dialog with Application run configuration

apply button should be disabled initially

GitOrigin-RevId: eaefc64e720f5d8a1830f89b34d6438960e8c7b4

4 hours agoIDEA-272610 Apply is enabled on open Run/Debug dialog with Application run configuration
Dmitry Avdeev [Thu, 29 Jul 2021 15:49:11 +0000 (18:49 +0300)]
IDEA-272610 Apply is enabled on open Run/Debug dialog with Application run configuration

do not rely on myModified

GitOrigin-RevId: 05f5a0de4692abeb5486f8bba9640aebf001a495

4 hours ago(EA-266533) added progress to InlineMethodProcessor
Olga.Klisho [Thu, 29 Jul 2021 14:02:53 +0000 (17:02 +0300)]
(EA-266533) added progress to InlineMethodProcessor

GitOrigin-RevId: 25a4217dd6e7c13b7e3e1700c693ebd2fe45979c

5 hours agoIDEA-274739 Remove unused code
Sebastiano Poggi [Thu, 29 Jul 2021 15:38:01 +0000 (17:38 +0200)]
IDEA-274739 Remove unused code

GitOrigin-RevId: 70f5b45fee2295dc12d55dc4799a7cc350325d7b

5 hours agoIDEA-274739 Search results' version and scope fix
Sebastiano Poggi [Thu, 29 Jul 2021 09:00:34 +0000 (11:00 +0200)]
IDEA-274739 Search results' version and scope fix

Because the search results are "special cased" compared to the
installed packages, they were lacking a proper "UI state". This
change unifies the behaviour and properly models the UI state.

GitOrigin-RevId: c37239e1ca9c2d86ef4a62dbcb6de0b6b0286b63

6 hours agoPerform references search under progress
Bas Leijdekkers [Wed, 28 Jul 2021 15:42:55 +0000 (17:42 +0200)]
Perform references search under progress

in "'protected' member in 'final' class" inspection quick fix

GitOrigin-RevId: d4b82a3782b2ae693242107e65f1071011d42a6f

6 hours agoIG: only change whitespace when reformatting
Bas Leijdekkers [Wed, 28 Jul 2021 14:14:45 +0000 (16:14 +0200)]
IG: only change whitespace when reformatting

in "Problematic whitespace" inspection quick fix

GitOrigin-RevId: f25b4ed25c3086a62c87acbd3c720bc86aa73b1f

6 hours agoPrevent SOE in deeply nested Java code
Bas Leijdekkers [Wed, 28 Jul 2021 10:33:10 +0000 (12:33 +0200)]
Prevent SOE in deeply nested Java code

GitOrigin-RevId: 22225eea9fdbad1fd2a27332c40f7b164acc4b00

6 hours agointention name: changes semantics -> may change semantics
Bas Leijdekkers [Wed, 28 Jul 2021 09:54:50 +0000 (11:54 +0200)]
intention name: changes semantics -> may change semantics

GitOrigin-RevId: 7910b81a3fdf0d245def40702056b2690ed60d29

6 hours agoPerform fix under progress to avoid freeze (EA-252918 - F: InspectionGadgetsFix.applyFix)
Bas Leijdekkers [Sun, 25 Jul 2021 13:33:20 +0000 (15:33 +0200)]
Perform fix under progress to avoid freeze (EA-252918 - F: InspectionGadgetsFix.applyFix)

GitOrigin-RevId: cb8920a3096975ec9d954a0d5af404bd4c7db435

6 hours agoMake WriteCommandAction easier to use for multiple elements
Bas Leijdekkers [Sun, 25 Jul 2021 13:12:00 +0000 (15:12 +0200)]
Make WriteCommandAction easier to use for multiple elements

avoids redundant calls to getContainingFile() on the elements to modify

GitOrigin-RevId: 21d789413a7d2562401cb2800d8b343cf40fa588

6 hours agoFix NPE when starting on clean configs
Dmitry Jemerov [Thu, 29 Jul 2021 13:50:30 +0000 (15:50 +0200)]
Fix NPE when starting on clean configs

GitOrigin-RevId: ad8ac48bbcd3d13af0a6eb40bbb9481c826eee3e

7 hours ago[Markdown][IDEA-273698] Resolve relative paths for inline html images
Ivan Posti [Thu, 29 Jul 2021 11:49:14 +0000 (14:49 +0300)]
[Markdown][IDEA-273698] Resolve relative paths for inline html images

GitOrigin-RevId: e756004d97660c2edaa5731d765cd8908ab4f00e

7 hours agoadd wildcard
Dmitry Batkovich [Thu, 29 Jul 2021 10:58:42 +0000 (13:58 +0300)]
add wildcard

GitOrigin-RevId: 68b4db6db625a8538497c75a63d12206b6bc683b

7 hours agoshow restart notification if vfs caches corrupted
Dmitry Batkovich [Thu, 29 Jul 2021 10:54:43 +0000 (13:54 +0300)]
show restart notification if vfs caches corrupted

GitOrigin-RevId: 3bcb6a4db2a2df08b11938d8ee786a6728d6df77

7 hours agodo not use virtual file's id
Dmitry Batkovich [Thu, 29 Jul 2021 09:56:53 +0000 (12:56 +0300)]
do not use virtual file's id

GitOrigin-RevId: 618651c6186195dc783ef17ff892cff5e5b8851e

7 hours agoadd javadoc
Dmitry Batkovich [Thu, 29 Jul 2021 09:48:00 +0000 (12:48 +0300)]
add javadoc

GitOrigin-RevId: 57b4d0b20f7288b545e4d3e2ab203efa1b63b734

7 hours agoindex: add periodic indexable filter health check
Dmitry Batkovich [Tue, 27 Jul 2021 08:49:17 +0000 (11:49 +0300)]
index: add periodic indexable filter health check

GitOrigin-RevId: f6ad98c1bf23a3902c8f28cf7ca287a8c59f9769

7 hours agoindex: simplify index vfs listener
Dmitry Batkovich [Tue, 20 Jul 2021 13:56:45 +0000 (16:56 +0300)]
index: simplify index vfs listener

GitOrigin-RevId: 9ede1730e0400350049ed922e15eb1c36fd0d784

7 hours ago[java][switch] IDEA-273959 Good code red: 'cannot resolve symbol' in preceding case...
Nikita Eshkeev [Thu, 29 Jul 2021 12:08:22 +0000 (15:08 +0300)]
[java][switch] IDEA-273959 Good code red: 'cannot resolve symbol' in preceding case label

Add the fix to properly handle situations when a case label is a special one ("case null", "case default", "default") but it's not a fallthrough one.

Move the methods that check if a statement can always execute its instructions from ControlFlowUtils to JavaControlFlowUtils in order to call them from PsiSwitchLabelStatementImpl

GitOrigin-RevId: 24c4aa3964be115b02fb499875fb97c89ea2ac08

8 hours ago[grazie] preload LangDetector and LanguageTool in background to reduce the likelihood...
Peter Gromov [Thu, 29 Jul 2021 12:40:35 +0000 (14:40 +0200)]
[grazie] preload LangDetector and LanguageTool in background to reduce the likelihood of freezes (IDEA-274472, EA-339338)

GitOrigin-RevId: 5939e596cc4c3ff87970386b18c4b6dc90364242

8 hours agoadd `CoroutineScope.progress`
Daniil Ovchinnikov [Thu, 29 Jul 2021 11:15:46 +0000 (13:15 +0200)]
add `CoroutineScope.progress`

GitOrigin-RevId: e968162571a97b49e76e7a8895ec28551d1dad35

8 hours ago[workspace model] add methods to allow adding many dependencies to a module efficient...
Nikolay Chashnikov [Thu, 29 Jul 2021 10:50:09 +0000 (13:50 +0300)]
[workspace model] add methods to allow adding many dependencies to a module efficiently (IDEA-274168)

'addLibraryEntry' or 'addModuleOrderEntry' create a new copy of ModuleEntity in their implementation because currently the workspace storage doesn't allow modifying properties of entities in place. So these methods are slow if there are many dependencies in the module. The new 'addLibraryEntries' and 'addModuleEntries' methods will work much faster in such cases.

GitOrigin-RevId: 3c57360f9e54190d35d5fb3f39df5eb7868644c0

9 hours agoadd netty libs to platform-impl as RUNTIME dependencies, because Vladimir asked
Alexey Kudravtsev [Thu, 29 Jul 2021 11:18:46 +0000 (13:18 +0200)]
add netty libs to platform-impl as RUNTIME dependencies, because Vladimir asked

GitOrigin-RevId: 42b9c700f4f24534c154933194dbc784f876821d

9 hours ago[workspace model] IDEA-274022 Speedup artifacts creation at gradle import
Mikhail Mazurkevich [Wed, 28 Jul 2021 20:40:30 +0000 (23:40 +0300)]
[workspace model] IDEA-274022 Speedup artifacts creation at gradle import

In this commit we try to speedup gradle import with avoiding redundant of store at
`VersionedEntityStorageOnBuilder.current` call. Each execution of such method freezes
our indexes and next modification on `ModifiableArtifact` leads to the creating copy
of indexes. This behaviour on artifacts slow down Gradle import for users

GitOrigin-RevId: cfbe21edf49f213a7049d1acf608dda9c767c50f

9 hours ago[grazie] improve text extraction around markdown images and links with whitespace
Peter Gromov [Thu, 29 Jul 2021 11:13:22 +0000 (13:13 +0200)]
[grazie] improve text extraction around markdown images and links with whitespace

GitOrigin-RevId: 556c3e304a3919031c63a0c997bd8d81387fa56d

10 hours ago[kotlin] KT-46936 Adjust dependency on stdlib-common after fix
Dmitry Savvinov [Mon, 26 Jul 2021 14:16:46 +0000 (17:16 +0300)]
[kotlin] KT-46936 Adjust dependency on stdlib-common after fix

This is a commit with testdata change accompanying (the complete) fix
for KT-46936.

The fix is made on Kotlin Gradle Plugin side (see commits linked to the
issue)

^KT-46936

GitOrigin-RevId: 2f9c928b6c39e11613ade3ce8a37cfa8f4cf1335

10 hours ago[completion] elaborate on contract of DeclarativeInsertHandler2
Vadim Makarov [Thu, 29 Jul 2021 08:15:49 +0000 (10:15 +0200)]
[completion] elaborate on contract of DeclarativeInsertHandler2

No code affected, only comments are changed.

GitOrigin-RevId: 553b2c277e7611734cb6c8f339433e4fc09d07a7

10 hours agodetailed diagnostic warning to help AP developers adapt their code to incremental...
Eugene Zhuravlev [Thu, 29 Jul 2021 10:13:00 +0000 (12:13 +0200)]
detailed diagnostic warning to help AP developers adapt their code to incremental AP environment (IDEA-274697)

GitOrigin-RevId: f033c050ac86615221f57a9370e82da89350a7aa

10 hours ago[platform] 'update' starter shall not be executed as an external command line
Roman Shevchenko [Thu, 29 Jul 2021 09:53:51 +0000 (11:53 +0200)]
[platform] 'update' starter shall not be executed as an external command line

(throws an exception anyway, since `processExternalCommandLineAsync` is not implemented)

GitOrigin-RevId: c7efa0a31eef5cec614de4d69640290ef0296ed5

10 hours ago[platform] dropping dysfunctional JB protocol command (superseded by 'navigate')
Roman Shevchenko [Thu, 29 Jul 2021 08:19:04 +0000 (10:19 +0200)]
[platform] dropping dysfunctional JB protocol command (superseded by 'navigate')

GitOrigin-RevId: 4e42b03b4c2e879acd8f13467d4f10cda9125ef3

11 hours ago[lang.impl] deprecate duplicating Logger.debug function
Max Medvedev [Thu, 29 Jul 2021 09:29:47 +0000 (12:29 +0300)]
[lang.impl] deprecate duplicating Logger.debug function

GitOrigin-RevId: 5288bb279795d4a1e8f136391f8d19e71acd720e

11 hours agofix references to pycharm.community.ide.impl left after renaming (IDEA-CR-71831)
Alexey Kudravtsev [Thu, 29 Jul 2021 09:33:54 +0000 (11:33 +0200)]
fix references to pycharm.community.ide.impl left after renaming (IDEA-CR-71831)

GitOrigin-RevId: adf3eb07b1c66891c06fd1e1f125e1464cdcdf28

12 hours agofix @deprecation/@Deprecated issues
Yann Cébron [Wed, 28 Jul 2021 16:41:55 +0000 (18:41 +0200)]
fix @deprecation/@Deprecated issues

GitOrigin-RevId: 6c7e17dbd8c0928a2cf1847810ffb258bc0d0040

12 hours agoRefManagerExtension.getLanguage: @deprecation javadoc
Yann Cébron [Wed, 28 Jul 2021 16:03:57 +0000 (18:03 +0200)]
RefManagerExtension.getLanguage: @deprecation javadoc

GitOrigin-RevId: 45ad1ef7afea56036b5d84f0b6cb00b3c635bac3

12 hours agoremove experimental code
Eugene Zhuravlev [Thu, 29 Jul 2021 08:23:10 +0000 (10:23 +0200)]
remove experimental code

GitOrigin-RevId: 4a992861b2527be67128a4722431489174396cbf

14 hours agozero-tolerance fix
Ilyas Selimov [Thu, 29 Jul 2021 04:06:34 +0000 (11:06 +0700)]
zero-tolerance fix

GitOrigin-RevId: cabec40e1c607c8a4cd0518edadd8c2181392a61

14 hours agoIDEA-273958 - fixed declaration scope for guarded and parenthesized patterns, reverte...
Ilyas Selimov [Thu, 29 Jul 2021 04:01:09 +0000 (11:01 +0700)]
IDEA-273958 - fixed declaration scope for guarded and parenthesized patterns, reverted redundant changes

GitOrigin-RevId: 78dcc8c39cbe8daf8f03a41f10c46b446a6dff8b

21 hours agoNJ2K: get JKExpression type by PSI instead of custom calculation
Ilya Kirillov [Tue, 27 Jul 2021 12:24:51 +0000 (14:24 +0200)]
NJ2K: get JKExpression type by PSI instead of custom calculation

^KTIJ-15526 fixed

GitOrigin-RevId: 3dd4152d0837da2e9f720569221c6ba9ac142938

23 hours ago[gtw] Separate welcome frame for gateway, revert useless extension point
Evgeniy.Stepanov [Wed, 28 Jul 2021 21:41:18 +0000 (23:41 +0200)]
[gtw] Separate welcome frame for gateway, revert useless extension point

GitOrigin-RevId: a470913adc82a399eb2cda6adecf136434cec287

23 hours agoMove BackgroundProgressCoroutineUtil into intellij.platform.rd.community
Evgeniy.Stepanov [Tue, 27 Jul 2021 20:09:23 +0000 (22:09 +0200)]
Move BackgroundProgressCoroutineUtil into intellij.platform.rd.community

GitOrigin-RevId: 66e09b7ecde603c4eecbdd38c939a467977af8ed

23 hours agoMove RdCoroutinesUtil from intellij.rd.platform into intellij.platform.rd.community
Evgeniy.Stepanov [Tue, 27 Jul 2021 16:55:55 +0000 (18:55 +0200)]
Move RdCoroutinesUtil from intellij.rd.platform into intellij.platform.rd.community

GitOrigin-RevId: 645b0601efc133da1900511acbe13b0be1bedaae

23 hours agoMove ApplicationThreadPool from intellij.platform.ide.impl into intellij.platform...
Evgeniy.Stepanov [Tue, 27 Jul 2021 12:45:24 +0000 (14:45 +0200)]
Move ApplicationThreadPool from intellij.platform.ide.impl into intellij.platform.util.ex

GitOrigin-RevId: 75c8dbb83be76418e8b7b32513ef5356b5112d88

23 hours agoIntroduce com.intellij.util.application util function
Evgeniy.Stepanov [Tue, 27 Jul 2021 09:12:23 +0000 (11:12 +0200)]
Introduce com.intellij.util.application util function

GitOrigin-RevId: 65648e469ca3ee2c7cc6b66066d27142b0a7c639

23 hours ago[java][switch] IDEA-273959 Good code red: 'cannot resolve symbol' in preceding case...
Nikita Eshkeev [Wed, 28 Jul 2021 20:16:54 +0000 (23:16 +0300)]
[java][switch] IDEA-273959 Good code red: 'cannot resolve symbol' in preceding case label

The resolver for PsiSwitchLabelStatement didn't use to consider the situation when there is "case null" after a case label with a pattern variable that is used in the "case null" clause. This patch adds check if the found switch case label is one of the special ones: "case null", "case default", "default" and if so it skips them when looking for a switch case label to resolve a reference against.

GitOrigin-RevId: 9f00bc64022ede4465ebf6e24f6165329f05a3e7

24 hours agoIDEA-205836: Exclude non-python files from traceback filter
Ilya.Kazakevich [Wed, 28 Jul 2021 19:57:48 +0000 (22:57 +0300)]
IDEA-205836: Exclude non-python files from traceback filter

We know nothing about other systems (cmake, gcc etc) so we only process python and pytest output not to break something

GitOrigin-RevId: 5a0dcce28ac4f6d8442f64488b35e342ce77fd4c

25 hours agoPY-49770: Enable pytest fixtures for autodetected pytest
Ilya.Kazakevich [Wed, 28 Jul 2021 19:43:36 +0000 (22:43 +0300)]
PY-49770: Enable pytest fixtures for autodetected pytest

We must have either pytest set explicitly or detected by autodetect

GitOrigin-RevId: 28774d0596c0c102ec7797cc0e0897806b64fb92

25 hours ago[java] include source method/class/field annotations in quick documentation (IDEA...
Anna Kozlova [Wed, 28 Jul 2021 17:56:02 +0000 (19:56 +0200)]
[java] include source method/class/field annotations in quick documentation (IDEA-274447)

TYPE_USE annotations are included by default, so for consistency it's better to include "normal" ones as well

GitOrigin-RevId: 9cefb264dd20562d91092b489f897d5df22520f8

25 hours ago[java] repeatable annotations: check duplicated container annotations (IDEA-274553)
Anna Kozlova [Wed, 28 Jul 2021 13:08:04 +0000 (15:08 +0200)]
[java] repeatable annotations: check duplicated container annotations (IDEA-274553)

GitOrigin-RevId: 44ddf1c7fd34380627dbbc7c5d9343d7ffdde8a6

25 hours ago[java] repeatable annotations: exceptions for target type containment rules (IDEA...
Anna Kozlova [Wed, 28 Jul 2021 13:03:32 +0000 (15:03 +0200)]
[java] repeatable annotations: exceptions for target type containment rules (IDEA-274550)

GitOrigin-RevId: 27e1b953cad4f046725b23c68ac4ef3c1b3eaa4c

25 hours ago[java][highlight] IDEA-274531 errors shown incorrectly when a method name is the...
Nikita Eshkeev [Wed, 28 Jul 2021 19:43:08 +0000 (22:43 +0300)]
[java][highlight] IDEA-274531 errors shown incorrectly when a method name is the same as a nested class name

Remove redundant code

GitOrigin-RevId: 0e98bcdfde51ac4a2e97f639da7c7187e2aa0826

25 hours ago[java][highlight] IDEA-274531 errors shown incorrectly when a method name is the...
Nikita Eshkeev [Wed, 28 Jul 2021 18:13:22 +0000 (21:13 +0300)]
[java][highlight] IDEA-274531 errors shown incorrectly when a method name is the same as a nested class name

IDEA added a fix to remove the "new" keyword when a callsite looks like a call to a method or a field. It caused the mentioned regression, because sometimes the callsite might simply instantiate a class that has the same name as a method which was mistakenly highlighted as an error. This patch simply adds a check if the resolved element is of a PsiClass and if so then the mentioned highlighting doesn't get added to such callsites.

GitOrigin-RevId: a34e6e1715d93ac21a2ba93cf5f57c54436bc11b

25 hours ago[java][switch resolve] IDEA-273929 Good code red - cannot resolve symbol in switch...
Nikita Eshkeev [Mon, 26 Jul 2021 16:29:33 +0000 (19:29 +0300)]
[java][switch resolve] IDEA-273929 Good code red - cannot resolve symbol in switch statement group

IDEA used to allow resolving if a statement or an expression that uses a pattern variable in a switch case label follows the switch case label immediately. This led to errors in resolving references to pattern variables when their enclosing statement or expression is not the immediate right sibling of the case label.

Now IDEA looks for a switch case label among all the left siblings of the currently analyzing scope and enables resolving if a case label is found, and it's the same switch case label that is being analyzed.

GitOrigin-RevId: 758c34fde30db2fe9692d8076c49af2b3efae38f

25 hours ago[java][switch] IDEA-273874 "Can't resolve symbol" false-negative in switch with fall...
Nikita Eshkeev [Wed, 28 Jul 2021 16:37:44 +0000 (19:37 +0300)]
[java][switch] IDEA-273874 "Can't resolve symbol" false-negative in switch with fall-through semantics

Remove the SwitchBlockHighlightingModel#checkFallthroughReferences because it might produce too much noise for and bring no value.

GitOrigin-RevId: 10d848aaa38ad5a4c15f77726ac835ab517068d5

25 hours agoIFT-255 Increase statistic version
Alexey Merkulov [Wed, 28 Jul 2021 19:03:42 +0000 (22:03 +0300)]
IFT-255 Increase statistic version

GitOrigin-RevId: 949a02e5e152b7f395cc6c50cf904cd8d8a62355

25 hours agocleanup
Vladimir Krivosheev [Wed, 28 Jul 2021 18:17:23 +0000 (20:17 +0200)]
cleanup

GitOrigin-RevId: 9c0b2c3b6c990b94a733bd134613ae7aa6c76c61

26 hours agobuild scripts: provide overridable log locatio
Leonid Shalupov [Wed, 28 Jul 2021 18:45:21 +0000 (21:45 +0300)]
build scripts: provide overridable log locatio

GitOrigin-RevId: dd5dc2a429c86cac1804df1c6a212244da9a06fc

27 hours agoExtract platform.ssh.ui from platform.ssh
Dmitry Trofimov [Wed, 28 Jul 2021 15:35:40 +0000 (17:35 +0200)]
Extract platform.ssh.ui from platform.ssh

GitOrigin-RevId: 6255ef3ad94319a929b82053b6d9f210999af041

28 hours ago[platform] duplications removed
Andrew Kozlov [Tue, 27 Jul 2021 15:01:51 +0000 (17:01 +0200)]
[platform] duplications removed

GitOrigin-RevId: 6cdf64dfbbdcdcd05b2ce90cae421e7a321d0171

28 hours ago[plugins] RegistryManager should be used instead of Registry
Andrew Kozlov [Tue, 27 Jul 2021 15:01:28 +0000 (17:01 +0200)]
[plugins] RegistryManager should be used instead of Registry

GitOrigin-RevId: f126b02efb82385c6009a68ae71ea536016b0f20

28 hours agoFix CIDR "testNavigatingToTest" tests after c556af337fc766a0f4c10694f3bfdeda49f96aea
Vyacheslav Karpukhin [Wed, 28 Jul 2021 16:09:10 +0000 (18:09 +0200)]
Fix CIDR "testNavigatingToTest" tests after c556af337fc766a0f4c10694f3bfdeda49f96aea

GitOrigin-RevId: 7c7e56ec9246c9f9561878459bc51bd733093f08

28 hours agoKTIJ-19212 [New Project Wizard]: "kotlin.test" checkbox
Andrei Klunnyi [Tue, 20 Jul 2021 16:39:16 +0000 (18:39 +0200)]
KTIJ-19212 [New Project Wizard]: "kotlin.test" checkbox

^KTIJ-19212 Fixed

GitOrigin-RevId: aee5306366005b6517178883f1ff0c9a4766aa86

28 hours agoIDEA-273889 - fixed false-positives related to the highlighting of yield statement...
Ilyas Selimov [Wed, 28 Jul 2021 11:42:20 +0000 (18:42 +0700)]
IDEA-273889 - fixed false-positives related to the highlighting of yield statement and switch expressions without result

GitOrigin-RevId: e93c9d18810d5a8c6105e746690a5775ca169c11

28 hours ago[Performance testing plugin] extractCommandArgument moved to AbstractCommand
Nikita Kudrin [Wed, 28 Jul 2021 16:06:52 +0000 (19:06 +0300)]
[Performance testing plugin] extractCommandArgument moved to AbstractCommand

GitOrigin-RevId: 0dffb0d824ae821e745e563c385c3e3d69dd237b

28 hours agoKTIJ-19232 [New Project Wizard]: refactoring
Andrei Klunnyi [Tue, 27 Jul 2021 13:47:25 +0000 (15:47 +0200)]
KTIJ-19232 [New Project Wizard]: refactoring

GitOrigin-RevId: 9b5297df773028727ca4900c482773722d18d632

28 hours agoKTIJ-19232 [New Project Wizard]: remove MPP/Application template
Andrei Klunnyi [Tue, 27 Jul 2021 13:35:23 +0000 (15:35 +0200)]
KTIJ-19232 [New Project Wizard]: remove MPP/Application template

GitOrigin-RevId: 0c0a15dd959f8e7d0338a11e0213a84331e9d92d

28 hours agoKTIJ-19232 [New Project Wizard]: remove MPP/MobileLibrary template
Andrei Klunnyi [Tue, 27 Jul 2021 13:25:32 +0000 (15:25 +0200)]
KTIJ-19232 [New Project Wizard]: remove MPP/MobileLibrary template

GitOrigin-RevId: 3ca78643aa0868fa31ea1b9108d5a9b56bbf7885

28 hours ago[Markdown] Add completion for img tags outside html injections
Ivan Posti [Wed, 28 Jul 2021 14:58:15 +0000 (17:58 +0300)]
[Markdown] Add completion for img tags outside html injections

GitOrigin-RevId: d8da9a2ebc99c8bb1000f60c9d9f8add8c48c496

28 hours ago[Markdown] Move code fence languages completion into dedicated CompletionProvider
Ivan Posti [Wed, 28 Jul 2021 08:31:39 +0000 (11:31 +0300)]
[Markdown] Move code fence languages completion into dedicated CompletionProvider

GitOrigin-RevId: 7cf72eb3b3064e5f52eeb01ca59214bdf54c9f9a

29 hours agooptimization: fewer calls to listFiles()
Eugene Zhuravlev [Wed, 28 Jul 2021 15:49:14 +0000 (17:49 +0200)]
optimization: fewer calls to listFiles()

GitOrigin-RevId: b5d35bbaf4c8de748f2631a78ce009ed41e2cc0d

29 hours agoIFT-255 Add statistic about new lesson notifications
Alexey Merkulov [Wed, 28 Jul 2021 12:51:25 +0000 (15:51 +0300)]
IFT-255 Add statistic about new lesson notifications

GitOrigin-RevId: 9a79baf59305a170b7c7b4de3548811b6516176b

29 hours agoIFT-255 Add checkbox to IFT settings about new lessons notification
Alexey Merkulov [Wed, 28 Jul 2021 13:49:28 +0000 (16:49 +0300)]
IFT-255 Add checkbox to IFT settings about new lessons notification

GitOrigin-RevId: 6c49ffdee94a29d2b2838263677813ed3046237f

29 hours ago[go] add Go-specific colors to High contrast
Artem Khvastunov [Wed, 28 Jul 2021 15:07:38 +0000 (17:07 +0200)]
[go] add Go-specific colors to High contrast

GitOrigin-RevId: 19e928f5772decb0d8a2f1040dbf0eb58089e6ae

29 hours agoIDEA-272536 "Go to Declaration or Usages" popup doesn't work well with the screenreader
Artem Semenov [Wed, 28 Jul 2021 14:42:47 +0000 (17:42 +0300)]
IDEA-272536 "Go to Declaration or Usages" popup doesn't work well with the screenreader

(cherry picked from commit 2daf378e2a5dece71fc4ce5150a70c0634ff2f32)

IJ-CR-12412

GitOrigin-RevId: c3e0c7784acc084bfad21789a9924f3ef1c5f358

29 hours agocleanup
Alexey Kudravtsev [Wed, 28 Jul 2021 14:52:28 +0000 (16:52 +0200)]
cleanup

GitOrigin-RevId: 0c4ca2c556ad5d3b9173ce2d519393b4ed1ee96c

29 hours agomove IntObjectHashMap to util-rt to allow its reuse across three rt modules (IDEA...
Alexey Kudravtsev [Wed, 28 Jul 2021 14:52:11 +0000 (16:52 +0200)]
move IntObjectHashMap to util-rt to allow its reuse across three rt modules (IDEA-CR-71837)

GitOrigin-RevId: 4d21e1b195d44664e216649380a3c3a641b05cde

29 hours agosuppress inapplicable warning about too long vararg
Alexey Kudravtsev [Wed, 28 Jul 2021 12:37:58 +0000 (14:37 +0200)]
suppress inapplicable warning about too long vararg

GitOrigin-RevId: 753d11062ad52fc94d732a4c41a045ef7a1226b6

31 hours agoEA-349714 [usages] don't fail if `RuleAction#getUsageViewSettings` is called when...
Daniil Ovchinnikov [Wed, 28 Jul 2021 11:21:56 +0000 (13:21 +0200)]
EA-349714 [usages] don't fail if `RuleAction#getUsageViewSettings` is called when action is disabled

`ToggleAction` doesn't check if action is disabled before invoking `#isSelected`

GitOrigin-RevId: 186732dc80fac4d2f618393522f65116e272152f

31 hours agoRevert "[build scripts] bring back an option to skip SEARCHABLE_OPTIONS_INDEX_STEP"
Petr Golubev [Wed, 28 Jul 2021 13:29:42 +0000 (16:29 +0300)]
Revert "[build scripts] bring back an option to skip SEARCHABLE_OPTIONS_INDEX_STEP"

This reverts commit 6768b4e9

GitOrigin-RevId: c38bccf14633c8c428a58ed4d08469c0c980c275

31 hours agoIDEA-239640 Start working from Empty Project
Dmitry Avdeev [Wed, 28 Jul 2021 13:29:51 +0000 (16:29 +0300)]
IDEA-239640 Start working from Empty Project

enable General module type by default

GitOrigin-RevId: e1f8c8e39b78731e85b3b5c2a2f41ffa8b1301c1

31 hours ago[go] add two more color scheme attributes to Light
Artem Khvastunov [Wed, 28 Jul 2021 07:23:04 +0000 (09:23 +0200)]
[go] add two more color scheme attributes to Light

They should serve as an example for external scheme designers.

GitOrigin-RevId: ea3c8cfb93237774a3ed3c61d9b39a5f1eaed98b

31 hours agoset target component for toolbars
Aleksey Pivovarov [Wed, 28 Jul 2021 12:05:44 +0000 (15:05 +0300)]
set target component for toolbars

GitOrigin-RevId: 8d8fe5d964dec1069ea5ef737e5506a5089cde53

31 hours ago[java] support resolve to project jdk when no module jdk is configured (IDEA-274365)
Anna Kozlova [Wed, 28 Jul 2021 07:21:44 +0000 (09:21 +0200)]
[java] support resolve to project jdk when no module jdk is configured (IDEA-274365)

GitOrigin-RevId: c87fbac3300a66f5054fe47e5836e93d8b7b5940

31 hours ago[build scripts] option to skip searchable options step restored
Dmitriy.Panov [Tue, 27 Jul 2021 19:52:43 +0000 (22:52 +0300)]
[build scripts] option to skip searchable options step restored

GitOrigin-RevId: 30ff40b0a949d65476069d4b7978e71456778321

31 hours agorepo.jenkins-ci.org/releases was required for trilead-ssh2 library removed since...
Dmitriy.Panov [Tue, 27 Jul 2021 12:13:19 +0000 (15:13 +0300)]
repo.jenkins-ci.org/releases was required for trilead-ssh2 library removed since 9c5fbbea33bff7418c8b283ae5490ee2e1c17517

GitOrigin-RevId: 7eb4aa930650d54bb5e225834b2f843b9d64082b

31 hours ago[CIDR][Debugger] Update LLDBFrontend hashes
Aleksandr Urakov [Wed, 28 Jul 2021 12:51:02 +0000 (15:51 +0300)]
[CIDR][Debugger] Update LLDBFrontend hashes

GitOrigin-RevId: a470b922dadf5b0a32653f110aa640490266bd10

32 hours agoPKGS-799 Remove any potential PIIs from PKGS FUS
Sebastiano Poggi [Wed, 28 Jul 2021 10:32:00 +0000 (12:32 +0200)]
PKGS-799 Remove any potential PIIs from PKGS FUS

GitOrigin-RevId: 6a6fd382f62a1e5fc3728179dc55966993b032c8

32 hours ago[CIDR][Debugger] Update Win LLDB hashes
Aleksandr Urakov [Fri, 23 Jul 2021 07:52:43 +0000 (10:52 +0300)]
[CIDR][Debugger] Update Win LLDB hashes

GitOrigin-RevId: da0ed720477efe3c73bdd7840c43cb39768a5115

32 hours agogit: Track scroll position and show "gpg signature" for visible rows in each vcs...
Konstantin Kolosovsky [Mon, 26 Jul 2021 18:05:44 +0000 (21:05 +0300)]
git: Track scroll position and show "gpg signature" for visible rows in each vcs log table (IDEA-269495)

GitOrigin-RevId: b45899111e7416cc25f25a8edafeb51e4461ec16