idea/community.git
2 months agorevert parallelizer changes, need further testing
Eugene Zhuravlev [Sun, 1 Aug 2021 15:22:15 +0000 (17:22 +0200)]
revert parallelizer changes, need further testing

GitOrigin-RevId: 63796e14cf6cb6f7a136ac90dbce93bafb3c7279

2 months agoJBColor, store color name in the color, NamedColor support for rd
Alexander.Kirsanov [Sun, 1 Aug 2021 13:24:28 +0000 (16:24 +0300)]
JBColor, store color name in the color, NamedColor support for rd

GitOrigin-RevId: b3584d7bd6756d2d691f8737be279c9c09a1a043

2 months agoEditorNotificationPanel more streamlined API for background colors
Alexander.Kirsanov [Sun, 1 Aug 2021 13:23:11 +0000 (16:23 +0300)]
EditorNotificationPanel more streamlined API for background colors

GitOrigin-RevId: e3e3bf275ddfb7f3721fa0689ec4b3f5bcf27d7e

2 months ago[rd] Support icons in BeLink control
Alexander.Kirsanov [Sun, 1 Aug 2021 09:58:13 +0000 (12:58 +0300)]
[rd] Support icons in BeLink control

GitOrigin-RevId: 789c59b65016ff86b72451dedf5349b84821f675

2 months agoSSR: remove recursive search option from UI (part of IDEA-210186)
Bas Leijdekkers [Fri, 30 Jul 2021 15:55:38 +0000 (17:55 +0200)]
SSR: remove recursive search option from UI (part of IDEA-210186)

GitOrigin-RevId: 87f4c99bce98b912a5c67b193a4464b9a4f8032e

2 months agoSSR: don't traverse psi elements in inspection (IDEA-273812)
Bas Leijdekkers [Fri, 30 Jul 2021 14:56:43 +0000 (16:56 +0200)]
SSR: don't traverse psi elements in inspection (IDEA-273812)

GitOrigin-RevId: 1c2cbdc64e7486e65623a0231c894389a9e0eb1b

2 months agoSSR: remove unnecessary profile method
Bas Leijdekkers [Fri, 30 Jul 2021 13:27:35 +0000 (15:27 +0200)]
SSR: remove unnecessary profile method

GitOrigin-RevId: 64cf62260e366c9e6b58d3c7067a4aec3f1b92d1

2 months agoSSR: remove some more code that isn't necessary anymore now multi-threaded inspection...
Bas Leijdekkers [Fri, 30 Jul 2021 12:42:25 +0000 (14:42 +0200)]
SSR: remove some more code that isn't necessary anymore now multi-threaded inspection can't be disabled anymore

GitOrigin-RevId: 1cfe7891f736cc1f0bbbe752128d223a27149c78

2 months ago[rd] Support adding custom components to text editors. Different fixes in BeControls
Alexander.Kirsanov [Sat, 31 Jul 2021 20:00:03 +0000 (23:00 +0300)]
[rd] Support adding custom components to text editors. Different fixes in BeControls

GitOrigin-RevId: e647ed60c7692d8a231f53cf2951a5c70a2e6859

2 months agoIDEA-274924 Some actions assigned to double keystroke shortcuts stopped working properly
Dmitry Batrak [Sat, 31 Jul 2021 15:22:04 +0000 (18:22 +0300)]
IDEA-274924 Some actions assigned to double keystroke shortcuts stopped working properly

GitOrigin-RevId: 943a79aba1cc4456b434477c410cea9fe7a81ade

2 months agoRevert "Do not trigger OCB on any string change - even within a string template expre...
Vladimir Dolzhenko [Sat, 31 Jul 2021 08:14:26 +0000 (10:14 +0200)]
Revert "Do not trigger OCB on any string change - even within a string template expression"

This reverts commit c8356e8afe0226850161c808ceac771561734e9c.

Relates to #KTIJ-16994
#KTIJ-19248 Fixed

GitOrigin-RevId: a2616f94c79d3dd4a1ee1815dd2c8315809e6516

2 months agocleanup deprecated `createCustomComponent` implementations
Gregory.Shrago [Fri, 30 Jul 2021 23:57:09 +0000 (02:57 +0300)]
cleanup deprecated `createCustomComponent` implementations

GitOrigin-RevId: b45d583fd486f55834de8d26307fbd89641f9e2a

2 months agoimprove `createCustomComponent` javadoc
Gregory.Shrago [Fri, 30 Jul 2021 23:51:45 +0000 (02:51 +0300)]
improve `createCustomComponent` javadoc

GitOrigin-RevId: 5bcf00e691c8fd1f5451d30b21bb8015f23530e3

2 months ago[java][switch] IDEA-273959 Good code red: 'cannot resolve symbol' in preceding case...
Nikita Eshkeev [Fri, 30 Jul 2021 20:25:33 +0000 (23:25 +0300)]
[java][switch] IDEA-273959 Good code red: 'cannot resolve symbol' in preceding case label

Use ControlFlowUtil to figure out if the statement before a case label can complete normally in order to find out if this case label is a fallthrough.

JavaControlFlowUtils and JavaExpressionUtils got removed because they were introduced in order to access ControlFlowUtils which java-psi-impl doesn't have a dependency on, now they are no longer needed

GitOrigin-RevId: f82000e65d12dc8a8fc84a1bb0e80c32b5af02f6

2 months ago[fleet, platform] allow inplace rename for imaginary editor
Valentin Fondaratov [Fri, 30 Jul 2021 16:27:25 +0000 (18:27 +0200)]
[fleet, platform] allow inplace rename for imaginary editor

GitOrigin-RevId: 26772c29ed8ecfc1cd0cd932c30d7ecd92316e0f

2 months agoFLEET-T-2087 support template variables and positioning in extract/altEnter templates
Valentin Fondaratov [Fri, 30 Jul 2021 15:52:01 +0000 (17:52 +0200)]
FLEET-T-2087 support template variables and positioning in extract/altEnter templates

GitOrigin-RevId: c4937d2d04e95468786f834737882e163dbb8f45

2 months agoFLEET-T-2096 fleet extract variable for java,kt,js via IJ
Valentin Fondaratov [Fri, 30 Jul 2021 10:57:56 +0000 (12:57 +0200)]
FLEET-T-2096 fleet extract variable for java,kt,js via IJ

GitOrigin-RevId: 389b496a7d24016a052e2b82975dc4a0f5bd35ef

2 months agofixing RunConfigurableTest.sort() by removing obsolete tags
Dmitry Avdeev [Fri, 30 Jul 2021 19:33:45 +0000 (22:33 +0300)]
fixing RunConfigurableTest.sort() by removing obsolete tags

GitOrigin-RevId: d81ebcdb61a4107c5d691bcd39ce5c24c271dec5

2 months agoIFT-255 Show new lessons' notification only every 5th session
Alexey Merkulov [Fri, 30 Jul 2021 18:19:27 +0000 (21:19 +0300)]
IFT-255 Show new lessons' notification only every 5th session

The first time it will be shown only on 3rd run

GitOrigin-RevId: 18687e588487b04b88fe627c58ada28ca7ce9c1b

2 months agoRemoved redundant rerun action cases for incorrect test proxy
Sergei Vorobyov [Fri, 30 Jul 2021 17:52:25 +0000 (20:52 +0300)]
Removed redundant rerun action cases for incorrect test proxy

GitOrigin-RevId: a357760259eacd745e75ec6812dec1e5913fef01

2 months agoUse actual parent class when rerunning failed tests with Gradle.
Anuraag Agrawal [Thu, 22 Jul 2021 12:48:20 +0000 (21:48 +0900)]
Use actual parent class when rerunning failed tests with Gradle.

close #1643

GitOrigin-RevId: bd11b25b0b03e49575e53d23ef3a440c3d446efc

2 months ago[tests] removed tasks from logger text on start and finish execution
Sergei Vorobyov [Thu, 29 Jul 2021 16:12:43 +0000 (19:12 +0300)]
[tests] removed tasks from logger text on start and finish execution

GitOrigin-RevId: f37f5a04acb6ff781e3d78bb9a2842f87418a020

2 months agoIDEA-265161 fixed sizes of completion popup font and popup cells
Sergei Vorobyov [Thu, 29 Jul 2021 15:48:23 +0000 (18:48 +0300)]
IDEA-265161 fixed sizes of completion popup font and popup cells

GitOrigin-RevId: 41a6cb01a3298521b4231094dd7d40b6c8150b85

2 months agoIDEA-265161 added path extender for distribution combobox
Sergei Vorobyov [Thu, 29 Jul 2021 12:57:36 +0000 (15:57 +0300)]
IDEA-265161 added path extender for distribution combobox

GitOrigin-RevId: 953bf2b13702e09297613358671459a74f66f1f5

2 months agoIDEA-265161 fixed size of distribution combobox
Sergei Vorobyov [Thu, 29 Jul 2021 09:39:38 +0000 (12:39 +0300)]
IDEA-265161 fixed size of distribution combobox

GitOrigin-RevId: acf288d7066f5330c6c8b0722eba252480b0e94a

2 months agoIDEA-265161 defined ratio 1:2 between distribution and command line RC components
Sergei Vorobyov [Wed, 28 Jul 2021 18:05:01 +0000 (21:05 +0300)]
IDEA-265161 defined ratio 1:2 between distribution and command line RC components

GitOrigin-RevId: 00663e529a9c9b2ceb889dc070d4edb2d845b2df

2 months agoIDEA-265161 fixed sizes of RC command line completion dialog tables
Sergei Vorobyov [Wed, 28 Jul 2021 17:49:25 +0000 (20:49 +0300)]
IDEA-265161 fixed sizes of RC command line completion dialog tables

GitOrigin-RevId: 7aef752c2d46b913b22d2d9000f709e98a1a6749

2 months agoIDEA-265161 removed doable dot in RC
Sergei Vorobyov [Wed, 28 Jul 2021 17:46:08 +0000 (20:46 +0300)]
IDEA-265161 removed doable dot in RC

GitOrigin-RevId: db6608fea8823b2e859d6bdd1b60c239d9549d9d

2 months agoIDEA-265161 show correct completion hotkey in Maven RC
Sergei Vorobyov [Tue, 27 Jul 2021 18:20:07 +0000 (21:20 +0300)]
IDEA-265161 show correct completion hotkey in Maven RC

GitOrigin-RevId: 4df4f349aefe878b4a73a48d542875944882aa77

2 months agoIDEA-265161 don't append white space when variance is inserted into empty field
Sergei Vorobyov [Tue, 27 Jul 2021 15:54:02 +0000 (18:54 +0300)]
IDEA-265161 don't append white space when variance is inserted into empty field

GitOrigin-RevId: 8a17d9f7c4d8825546740e5b21e90add47d345f6

2 months agoIDEA-265161 hide completion popup when commands dialog is opened
Sergei Vorobyov [Tue, 27 Jul 2021 14:55:49 +0000 (17:55 +0300)]
IDEA-265161 hide completion popup when commands dialog is opened

GitOrigin-RevId: dbcd0779e057538bc417d0811ee27f525a2dedc2

2 months agoIDEA-265161 don't hide completion popup when variance manually completed
Sergei Vorobyov [Tue, 27 Jul 2021 14:53:27 +0000 (17:53 +0300)]
IDEA-265161 don't hide completion popup when variance manually completed

GitOrigin-RevId: d5df5a22339a8a167f140e00bbbea74e717618e6

2 months agoIDEA-265161 added maven command line goals into RC commands table
Sergei Vorobyov [Tue, 27 Jul 2021 13:19:46 +0000 (16:19 +0300)]
IDEA-265161 added maven command line goals into RC commands table

GitOrigin-RevId: 50f7ee2641ceb43c473777226c2545d93fc6b35e

2 months agoIJ-CR-11938 cleanup validation's condition
Sergei Vorobyov [Mon, 26 Jul 2021 13:49:12 +0000 (16:49 +0300)]
IJ-CR-11938 cleanup validation's condition

GitOrigin-RevId: f0b2ab0476f86da58ebbfe640eafeeec848bb9e3

2 months ago[java-inspections] EnumSwitchStatementWhichMissesCasesInspection: support PsiDefaultC...
Andrey.Cherkasov [Fri, 30 Jul 2021 12:19:43 +0000 (15:19 +0300)]
[java-inspections] EnumSwitchStatementWhichMissesCasesInspection: support PsiDefaultCaseLabelElement and matching null

GitOrigin-RevId: e36bfedf8f7745a27c0a7b4eafeb5b85831cc69f

2 months ago[java-refactoring] Move the `isDefaultLabel` method to a utility class
Andrey.Cherkasov [Fri, 30 Jul 2021 08:06:32 +0000 (11:06 +0300)]
[java-refactoring] Move the `isDefaultLabel` method to a utility class

GitOrigin-RevId: f1533310cde54ea4fc5c3a365b10fb930e90fb9e

2 months agoIFT-255 Rework using previous IDE version from the product version to the build version
Alexey Merkulov [Fri, 30 Jul 2021 17:06:30 +0000 (20:06 +0300)]
IFT-255 Rework using previous IDE version from the product version to the build version

And rename the corresponding field in the reported FUS statistics

GitOrigin-RevId: 8dedfeccc515687611a792c52ca6c46725e49299

2 months ago[Workspace Model] Catch stack trace on lockWrite for trace logging
Alex Plate [Fri, 30 Jul 2021 12:13:30 +0000 (15:13 +0300)]
[Workspace Model] Catch stack trace on lockWrite for trace logging

GitOrigin-RevId: 337b62d6fe63167e7707eb7c6b74ca607a901e93

2 months ago[Workspace Model] Add trace logging for applying diffs multiple times
Alex Plate [Fri, 30 Jul 2021 12:08:29 +0000 (15:08 +0300)]
[Workspace Model] Add trace logging for applying diffs multiple times

GitOrigin-RevId: b4f44aa5d925ed3d4661bdfa90d493863fce556a

2 months agoadd shortcut `AppUIExecutorImplKt.uiContext()`
Daniil Ovchinnikov [Fri, 30 Jul 2021 16:08:02 +0000 (18:08 +0200)]
add shortcut `AppUIExecutorImplKt.uiContext()`

GitOrigin-RevId: 842f1d6716f0a1930fe1e67cccd80807587e32ef

2 months agoSimplify checking if sdk is editable (PY-45708)
Semyon Proshev [Fri, 30 Jul 2021 16:19:27 +0000 (19:19 +0300)]
Simplify checking if sdk is editable (PY-45708)

GitOrigin-RevId: 04e98dd7a85a62ddd0b48ad149f6d16780496ea9

2 months agoKTIJ-17296 JPS Portable Caches built from sources with LF line breaks cannot be used...
Dmitriy.Panov [Fri, 30 Jul 2021 13:38:38 +0000 (16:38 +0300)]
KTIJ-17296 JPS Portable Caches built from sources with LF line breaks cannot be used to compile sources with CRLF line breaks: fail-fast

GitOrigin-RevId: 69420b35871dc07ffbf6121fdb1cc564d7471550

2 months agoIDEA-274739 Further cleanup of the code
Sebastiano Poggi [Fri, 30 Jul 2021 14:50:11 +0000 (16:50 +0200)]
IDEA-274739 Further cleanup of the code

GitOrigin-RevId: 6a6ed91791026c4e1c8a19e74af46e0f99c00c97

2 months agoIDEA-274063 Add the dropdowns option to the tags component in the Edit RC dialog
Dmitry Avdeev [Fri, 30 Jul 2021 15:40:39 +0000 (18:40 +0300)]
IDEA-274063 Add the dropdowns option to the tags component in the Edit RC dialog

correct text in dropdown items

GitOrigin-RevId: 9c4f87b5e253719a5d5b700f871a57c688cbea83

2 months ago[build scripts] cleanup: remove unnecessary pluginsToDisable parameter from runApplic...
Nikolay Chashnikov [Fri, 30 Jul 2021 12:18:13 +0000 (15:18 +0300)]
[build scripts] cleanup: remove unnecessary pluginsToDisable parameter from runApplicationStarter

It was always empty.

GitOrigin-RevId: cabd3d2ac0bcc8452e38e514cee7183a925c26dd

2 months ago[build scripts] fix consistency between loadEntry and archiveContainsEntry methods
Nikolay Chashnikov [Fri, 30 Jul 2021 11:57:54 +0000 (14:57 +0300)]
[build scripts] fix consistency between loadEntry and archiveContainsEntry methods

GitOrigin-RevId: fbdd047431d8bc706896c32fbec6ebc5203b8c62

2 months ago[build scripts] refactoring: extract methods to separate ArchiveUtils class
Nikolay Chashnikov [Fri, 30 Jul 2021 11:56:10 +0000 (14:56 +0300)]
[build scripts] refactoring: extract methods to separate ArchiveUtils class

GitOrigin-RevId: 937a1a6022aefcac907b29edd3dedf7957c5d2a5

2 months ago[build scripts] refactoring: move common code out of ApplicationStarterClasspathCusto...
Nikolay Chashnikov [Fri, 30 Jul 2021 11:13:10 +0000 (14:13 +0300)]
[build scripts] refactoring: move common code out of ApplicationStarterClasspathCustomizer

GitOrigin-RevId: 40282e4eeb89acd25a7118fd28c7ae2603a55ae7

2 months ago[maven] fix test WebFacetImporter.java - remove old overlays
Grigoriy Myasoedov [Fri, 30 Jul 2021 15:18:54 +0000 (18:18 +0300)]
[maven] fix test WebFacetImporter.java - remove old overlays

GitOrigin-RevId: 01195bddf1ed9c2193ee20560c8f31cb870bcd5f

2 months agoterminal: disable "Use Option as Meta key" by default (IDEA-274574)
Sergey Simonchik [Fri, 30 Jul 2021 14:29:24 +0000 (17:29 +0300)]
terminal: disable "Use Option as Meta key" by default (IDEA-274574)

GitOrigin-RevId: f0277f4d97ff8782253877f9d59cb47f2095c7b6

2 months agodiagnostics for reasons why case sensitivity didn't get obtained via Java IO fallback
Alexey Kudravtsev [Fri, 30 Jul 2021 15:01:07 +0000 (17:01 +0200)]
diagnostics for reasons why case sensitivity didn't get obtained via Java IO fallback

GitOrigin-RevId: 8a75a16b2849a6f89fcc9b7a73958c07eafd8226

2 months agomanage --add-opens option on JPS level to ensure it is used only when applicable...
Eugene Zhuravlev [Fri, 30 Jul 2021 14:58:18 +0000 (16:58 +0200)]
manage --add-opens option on JPS level to ensure it is used only when applicable (IDEA-274639)

GitOrigin-RevId: 880d78010ae0b3d1b6bb8a80c47d26c92a91cdfa

2 months agofor JPS JRE 16+ automatically apply "--add-opens" to jdk.compiler module to enable...
Eugene Zhuravlev [Thu, 29 Jul 2021 17:45:04 +0000 (19:45 +0200)]
for JPS JRE 16+ automatically apply "--add-opens" to jdk.compiler module to enable JPS features relying on reflection

GitOrigin-RevId: 53c3def4b252af3ff84ada6ea7d38fd1ea8cdcb3

2 months agoAdd classpath check before attaching the coroutine agent
Nikita Nazarov [Thu, 29 Jul 2021 10:23:53 +0000 (13:23 +0300)]
Add classpath check before attaching the coroutine agent

^KTIJ-15750 Fixed
^KTIJ-19215 Fixed

(cherry picked from commit a45a59c8e25c96e387e4dd466ac423b53a14937c)

IJ-MR-12437

GitOrigin-RevId: 2776a38b811f2781f2454a12c25246023d11572d

2 months agorename
Dmitry Batkovich [Fri, 30 Jul 2021 11:57:05 +0000 (14:57 +0300)]
rename

GitOrigin-RevId: 04d535a0eea51c8040a201dda4f89d5a84f50902

2 months agosupply project while file indexing using project file filter if it's not available
Dmitry Batkovich [Fri, 30 Jul 2021 11:46:14 +0000 (14:46 +0300)]
supply project while file indexing using project file filter if it's not available

GitOrigin-RevId: da4778f12ec417f8c6660d0d546228d1dec9bf67

2 months agoadd more assertions to detect cases when find by id return file with wrong id
Dmitry Batkovich [Fri, 30 Jul 2021 11:18:02 +0000 (14:18 +0300)]
add more assertions to detect cases when find by id return file with wrong id

GitOrigin-RevId: 35df56ff77857c66f8a47cf4411d151b2b11832a

2 months agoadd rebuild index action without restart
Dmitry Batkovich [Fri, 30 Jul 2021 09:04:56 +0000 (12:04 +0300)]
add rebuild index action without restart

GitOrigin-RevId: 3ebc5c4265dbfe4dd702a33b6fffc60c29c4a788

2 months agoadd force index rescanning action
Dmitry Batkovich [Fri, 30 Jul 2021 06:40:42 +0000 (09:40 +0300)]
add force index rescanning action

GitOrigin-RevId: 6d24e2bc175375d9738d4bdb6ac10eb2e81f9e30

2 months agodo not use virtual file's ids
Dmitry Batkovich [Fri, 30 Jul 2021 06:39:45 +0000 (09:39 +0300)]
do not use virtual file's ids

GitOrigin-RevId: 746325d3249162fb5a4b58ffd9429833b51a2c98

2 months agocleanup
Vladimir Krivosheev [Thu, 29 Jul 2021 10:46:49 +0000 (12:46 +0200)]
cleanup

GitOrigin-RevId: c4c966e0dda69c7ed212329d42fa32333b6d86cc

2 months agoput gson lib to util.jar because used in JPS
Vladimir Krivosheev [Thu, 29 Jul 2021 08:04:40 +0000 (10:04 +0200)]
put gson lib to util.jar because used in JPS

GitOrigin-RevId: 1e6debfccfc55c17b8baf8926e071d892a1a072a

2 months agoIJP-1115 Kotlin UI DSL improvements / new Layout Manager
Pavel Porvatov [Fri, 30 Jul 2021 13:39:25 +0000 (16:39 +0300)]
IJP-1115 Kotlin UI DSL improvements / new Layout Manager

GitOrigin-RevId: 92cc4778a626d83d0b6c36fe5d44c660d8ce38ea

2 months ago[kotlin] add quickfix for `ErrorsJs.EXTENSION_FUNCTION_IN_EXTERNAL_DECLARATION`
Dmitry Gridin [Fri, 30 Jul 2021 10:34:55 +0000 (17:34 +0700)]
[kotlin] add quickfix for `ErrorsJs.EXTENSION_FUNCTION_IN_EXTERNAL_DECLARATION`

^KTIJ-1759 Fixed

GitOrigin-RevId: f08efb80876e0809735fb04d874552f36a9ec2b4

2 months ago[kotlin] "Convert function type receiver to parameter" should support return type...
Dmitry Gridin [Fri, 30 Jul 2021 07:37:46 +0000 (14:37 +0700)]
[kotlin] "Convert function type receiver to parameter" should support return type position

^KTIJ-19274 Fixed
^KTIJ-17004 Fixed

GitOrigin-RevId: f89e992cac8c493c4d9031e81daa71475585fa39

2 months agoKTIJ-19262 [New Project Wizard]: update modules/targets templates
Andrei Klunnyi [Thu, 29 Jul 2021 11:54:36 +0000 (13:54 +0200)]
KTIJ-19262 [New Project Wizard]: update modules/targets templates

All module templates of the wizard reside in a common registry.
To find module compliant templates algo traverses the latter
asking each template whether it's suitable for the module
in question. Templates decide but not fully.

Starting from 6f4be77d the concept of "project template decides"
was introduced. Modules/targets declared as a part of
project-template can be supplied with a list of permitted-templates.

This commit updates permitted module templates for the set
of project ones.

GitOrigin-RevId: 36fd70664c105dc3e5050bef78ac48926d68d271

2 months agoKTIJ-19262 [New Project Wizard]: bug fix
Andrei Klunnyi [Thu, 29 Jul 2021 11:54:26 +0000 (13:54 +0200)]
KTIJ-19262 [New Project Wizard]: bug fix

Prior to this commit module-template selection-ui-component
was not displayed in case the list of available templates
contained a single value that was different from module's
default template.

GitOrigin-RevId: 3233f6d7ae5c13b7ff74653cc8d3e8a6c4170b0d

2 months agoPY-49770: Add test
Ilya.Kazakevich [Fri, 30 Jul 2021 12:27:45 +0000 (15:27 +0300)]
PY-49770: Add test

After review: 12459

Env. test sets test runner to "autodetect" and runs pytest fixture test to make sure fixture still used

GitOrigin-RevId: 8f024794894b6909499a7211bbb890e8790ff6ad

2 months agoFUS-758 Use round with beter precision for number of files
Victor Matchenko [Thu, 22 Jul 2021 15:22:33 +0000 (17:22 +0200)]
FUS-758 Use round with beter precision for number of files

(cherry picked from commit efe204ec24fbd8300ec2a65c6d100667f97ac487)

IJ-CR-12365

GitOrigin-RevId: 0c5966eaf474931b1d79178d1f3f7d54e0d337a6

2 months agoIntroduce new rounding function to StatisticsUtil
Victor Matchenko [Tue, 27 Jul 2021 17:35:01 +0000 (19:35 +0200)]
Introduce new rounding function to StatisticsUtil

It is far less optimal than roundToPowerOfTwo, but allows to have more precision values when needed.

(cherry picked from commit 21c001ec375b2be1df5feef4695bd7390db7b62f)

IJ-CR-12365

GitOrigin-RevId: 9b5507cb00db48e844d289d2f90e09abce58a373

2 months agoRename StatisticsUtil.getUpperBound to StatisticsUtil.roundToUpperBound for naming...
Victor Matchenko [Tue, 27 Jul 2021 16:39:43 +0000 (18:39 +0200)]
Rename StatisticsUtil.getUpperBound to StatisticsUtil.roundToUpperBound for naming unification and add tests

(cherry picked from commit 4c237cd6392453a559e8944641c4b5daf47ad086)

IJ-CR-12365

GitOrigin-RevId: 44a5259da60f95dcc179529aa16fcda803aab89a

2 months agoFUS-758 Report average content loading speed during indexing
Victor Matchenko [Thu, 22 Jul 2021 09:41:56 +0000 (11:41 +0200)]
FUS-758 Report average content loading speed during indexing

Average for all loaded files and for each file type separately

(cherry picked from commit 8d617665f02646b5ff80d7b10435ebc27b3ecae9)

IJ-CR-12365

GitOrigin-RevId: a4efe3d42a8553eba6ba30e3eed05174420cd353

2 months ago[junit] stop bg process and check dumb status when searching for tests in dumb mode...
Anna Kozlova [Fri, 30 Jul 2021 10:13:26 +0000 (12:13 +0200)]
[junit] stop bg process and check dumb status when searching for tests in dumb mode (IDEA-274789)

GitOrigin-RevId: bbbe84e4f4e1acdb47ecc8aa5deae7e6cbd9ec08

2 months ago[execution] PCE doesn't allow message so let log Canceled instead of empty message
Anna Kozlova [Fri, 30 Jul 2021 10:08:27 +0000 (12:08 +0200)]
[execution] PCE doesn't allow message so let log Canceled instead of empty message

otherwise, `Can't run "config"\n Unknown error` would be present to the user

GitOrigin-RevId: 1d780168b5f7127f166870c3f9cd3abd5cfec2c3

2 months ago[copy] make copy TBX reference not dumb aware
Anna Kozlova [Fri, 30 Jul 2021 09:47:36 +0000 (11:47 +0200)]
[copy] make copy TBX reference not dumb aware

GitOrigin-RevId: 93c9d756bad82cb1e5125b4b50cf32f6dbb64747

2 months ago[java] skip function expression search for empty scopes
Anna Kozlova [Fri, 30 Jul 2021 09:00:33 +0000 (11:00 +0200)]
[java] skip function expression search for empty scopes

GitOrigin-RevId: 55f025962c4ef6718d003b33095a0380db07a0e8

2 months ago[indices] do not request indices for delegated scope with empty base
Anna Kozlova [Fri, 30 Jul 2021 08:53:21 +0000 (10:53 +0200)]
[indices] do not request indices for delegated scope with empty base

GitOrigin-RevId: dc80df916daeab11ebaae7f340aec147486b07d4

2 months ago[project model] API: mark addLibrary(Module)Entries methods in ModifiableRootModel...
Nikolay Chashnikov [Fri, 30 Jul 2021 11:04:45 +0000 (14:04 +0300)]
[project model] API: mark addLibrary(Module)Entries methods in ModifiableRootModel as Experimental (IJ-CR-12440)

In the future we plan to optimize addLibraryEntry/addModuleOrderEntry, so these methods may become unnecessary.

GitOrigin-RevId: cf647c580466ea66e5c1824cc958566d6097f17f

2 months ago[platform] direct execution of JB protocol commands, p.2
Roman Shevchenko [Fri, 30 Jul 2021 10:08:31 +0000 (12:08 +0200)]
[platform] direct execution of JB protocol commands, p.2

Allowing protocol command implementations to return a meaningful result.

GitOrigin-RevId: 7962497b9fc418b666220893232552959a1c669f

2 months agogit-branches-dashboard: hide branches settings group if no settings available
Dmitry Zhuravlev [Fri, 30 Jul 2021 10:00:24 +0000 (13:00 +0300)]
git-branches-dashboard: hide branches settings group if no settings available

Since such settings available in VCS Log only context.

GitOrigin-RevId: 1f0256ec66c02ee8b9a44342a5fec2c082334711

2 months ago[java] avoid additional highlighting for inappropriate new expressions (IDEA-274531)
Anna Kozlova [Fri, 30 Jul 2021 07:57:20 +0000 (09:57 +0200)]
[java] avoid additional highlighting for inappropriate new expressions (IDEA-274531)

IJ-CR-12429

GitOrigin-RevId: c502104eb2a41945b298ef69f9b6b05f352a04a5

2 months ago[tests] test for google parameterized by field test
Anna Kozlova [Fri, 30 Jul 2021 07:36:14 +0000 (09:36 +0200)]
[tests] test for google parameterized by field test

PR #1646

GitOrigin-RevId: 2e2d3ebf8f09d3480fad9f964f252c41b2baa16e

2 months ago[tests] don't execute navigation twice for the same test
Anna Kozlova [Fri, 30 Jul 2021 06:40:22 +0000 (08:40 +0200)]
[tests] don't execute navigation twice for the same test

IJ-CR-12423

GitOrigin-RevId: d47f638e290c93de2102f23f694205f72272c6c3

2 months ago[junit starter] gracefully process class instantiation errors
Anna Kozlova [Thu, 29 Jul 2021 09:26:56 +0000 (11:26 +0200)]
[junit starter] gracefully process class instantiation errors

GitOrigin-RevId: 2205bd53530dea8a4aa0dc2b49cf8bb5fe4b4bf6

2 months agoIDEA-273462 Kotlin UI DSL: Selectable and copyable labels
Pavel Porvatov [Fri, 30 Jul 2021 09:06:28 +0000 (12:06 +0300)]
IDEA-273462 Kotlin UI DSL: Selectable and copyable labels

GitOrigin-RevId: b9cbee73068cc01783a29a0ae6b87a65f32549ff

2 months agoIDEA-273958 - fixed declaration scope for patterns in the scopes that differ from...
Ilyas Selimov [Fri, 30 Jul 2021 07:44:32 +0000 (14:44 +0700)]
IDEA-273958 - fixed declaration scope for patterns in the scopes that differ from switch

GitOrigin-RevId: 8c8a835678a6c1de640e34277914b61e1542a1ab

2 months agoDBE-13717 add go to database object action
Alexander.Kass [Fri, 30 Jul 2021 07:30:16 +0000 (10:30 +0300)]
DBE-13717 add go to database object action

GitOrigin-RevId: a8e8d83380209945638acdb06aa8613df82ea1cd

2 months ago[java] reusing platform's `PsiElement` -> `VirtualFile` method (IJ-CR-12465)
Roman Shevchenko [Fri, 30 Jul 2021 08:51:39 +0000 (10:51 +0200)]
[java] reusing platform's `PsiElement` -> `VirtualFile` method (IJ-CR-12465)

GitOrigin-RevId: b3f2b2ddf105f1a347e1c6dad6d8b54e3ab6b2ce

2 months agoExtract facet and module api to lang-core, remove dependency vfs.impl->platform.lang
Dmitry Trofimov [Thu, 29 Jul 2021 21:42:58 +0000 (23:42 +0200)]
Extract facet and module api to lang-core, remove dependency vfs.impl->platform.lang

GitOrigin-RevId: 31bb5a5392f4ee16f6419ef979f90008dc339ad0

2 months agoplatform.remoteServers doesn't depend on platform.lang
Dmitry Trofimov [Thu, 29 Jul 2021 21:20:38 +0000 (23:20 +0200)]
platform.remoteServers doesn't depend on platform.lang

GitOrigin-RevId: 80e86be3737c1c17c8ded5299fcce90a69738f2f

2 months agodb.sql: remove dependency on platform.lang
Dmitry Trofimov [Thu, 29 Jul 2021 21:05:50 +0000 (23:05 +0200)]
db.sql: remove dependency on platform.lang

GitOrigin-RevId: b704b3e9d03a5fd5af97b6a783eab67f992b5175

2 months agodb connectivity: remove direct dependency on platform.lang
Dmitry Trofimov [Thu, 29 Jul 2021 13:18:06 +0000 (15:18 +0200)]
db connectivity: remove direct dependency on platform.lang

GitOrigin-RevId: 8b978001e9df938b038a6e9d2fc9c41198942847

2 months agoRemove annotation
Dmitry Trofimov [Thu, 29 Jul 2021 11:56:38 +0000 (13:56 +0200)]
Remove annotation

@Service annotation isn't applicable to an abstract class

GitOrigin-RevId: 183e0a7c04f6c32251d648ec4fee4fe9daf633f9

2 months ago[jps] compute transitive dependencies in reverse order (it is faster) and in parallel
Roman Ivanov [Thu, 29 Jul 2021 16:38:41 +0000 (18:38 +0200)]
[jps] compute transitive dependencies in reverse order (it is faster) and in parallel

GitOrigin-RevId: 25ac89e1a445a2b3672d17ee3613270ee977fd7d

2 months agomove the last EDT block out of read-action
Gregory.Shrago [Thu, 29 Jul 2021 20:33:38 +0000 (23:33 +0300)]
move the last EDT block out of read-action

This fixes the deadlock caused by an action that requests W/A during actions update (e.g. a naive implementation of `EditorComboBox`-based `CustomComponentAction` in a toolbar).

Also, report all such nested W/A requests.

GitOrigin-RevId: c44779a5ec1eaa72c5f298dd13a14b973ee53778

2 months ago[java] the case of a module losing ground (EA-320433)
Roman Shevchenko [Thu, 29 Jul 2021 21:37:21 +0000 (23:37 +0200)]
[java] the case of a module losing ground (EA-320433)

GitOrigin-RevId: 54ccca538f735b35bd3526fb837d6b918f9909bb

2 months agoIDEA-272610 Apply is enabled on open Run/Debug dialog with Application run configuration
Dmitry Avdeev [Thu, 29 Jul 2021 19:45:52 +0000 (22:45 +0300)]
IDEA-272610 Apply is enabled on open Run/Debug dialog with Application run configuration

managing isModified if storage is changed

GitOrigin-RevId: 81abdf0745fa8d2fba66ccbaa226e98f8380afe2

2 months agoCPP-22503: LLDBFrontend: Update commit hash
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

2 months 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

2 months 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