idea/community.git
14 months agoIDEA-97493 diff: support "Create Patch" action from DiffViewer
Aleksey Pivovarov [Tue, 27 Apr 2021 14:13:32 +0000 (17:13 +0300)]
IDEA-97493 diff: support "Create Patch" action from DiffViewer

GitOrigin-RevId: 35332d2cb242fe79aefeb0570f00db74988b0ff0

14 months agopatch: cleanup - remove dead code
Aleksey Pivovarov [Tue, 27 Apr 2021 15:52:53 +0000 (18:52 +0300)]
patch: cleanup - remove dead code

Follow-up: 44eb147b6732b7c56824b2f6c86f1cad4d8a3b06

GitOrigin-RevId: 0a91fd7d864b3b4a9e970f7f19241151ecb04304

14 months agopatch: do not throw IAE during relative path computation
Aleksey Pivovarov [Tue, 27 Apr 2021 15:45:37 +0000 (18:45 +0300)]
patch: do not throw IAE during relative path computation

Fix regression after fe48f06e359209923887d9dcd1b1b3621f5d7395

GitOrigin-RevId: 2eb86acf4d2d068e65f168f089067450dbbffb27

14 months agopatch: cleanup - use utility method
Aleksey Pivovarov [Tue, 27 Apr 2021 15:30:52 +0000 (18:30 +0300)]
patch: cleanup - use utility method

GitOrigin-RevId: 86d914595847ae7c78458fd9e4da181c14056ca1

14 months agopatch: cleanup - remove unnecessary wrapper class
Aleksey Pivovarov [Tue, 27 Apr 2021 15:08:51 +0000 (18:08 +0300)]
patch: cleanup - remove unnecessary wrapper class

GitOrigin-RevId: d27cee3af50d674fa7e4353d1a6d12f549814183

14 months agopatch: cleanup - extract method
Aleksey Pivovarov [Tue, 27 Apr 2021 15:07:11 +0000 (18:07 +0300)]
patch: cleanup - extract method

GitOrigin-RevId: c8e36fc5d5b3c1f30d86652bc87086e2e2dd20bd

14 months agoRely on Kotlin PSI to be able to use KotlinRunConfiguration during indexing and avoid...
Vladimir Dolzhenko [Sat, 24 Apr 2021 09:12:22 +0000 (11:12 +0200)]
Rely on Kotlin PSI to be able to use KotlinRunConfiguration during indexing and avoid use LightClasses

#KTIJ-10765 Fixed

GitOrigin-RevId: 7b3601a77718fe1795757e558a26fc9cb044c048

14 months ago[workspace model] restore mapping for module-level libraries when ModifiableRootModel...
Nikolay Chashnikov [Tue, 27 Apr 2021 15:19:04 +0000 (18:19 +0300)]
[workspace model] restore mapping for module-level libraries when ModifiableRootModel is disposed (IDEA-266964)

ModifiableModelCommitterServiceBridge::multiCommit disposes root model which contain no changes, so we need to restore mapping to original instance of LibraryBridge, otherwise after commit we'll end up with references to disposed LibraryBridge instances.

GitOrigin-RevId: 6d1cfda78761b5dcb02761954dceb6a96a88011e

14 months agoemploy `InjectedDataKeys` to reduce injected data queries
Gregory.Shrago [Tue, 27 Apr 2021 15:56:54 +0000 (18:56 +0300)]
employ `InjectedDataKeys` to reduce injected data queries

Only `TextEditorPsiDataProvider` can return meaningful data in injected context.
So all injectable data keys can be declared and counted upfront.
And no special treatment is required by async data context.

GitOrigin-RevId: 61262b932b6f33bc7e75f99090f8728f00f4932b

14 months agomove `LangDataKeys.LANGUAGE` to `CommonDataKeys`
Gregory.Shrago [Tue, 27 Apr 2021 14:45:42 +0000 (17:45 +0300)]
move `LangDataKeys.LANGUAGE` to `CommonDataKeys`

GitOrigin-RevId: 4233fee0776306520834b06d1984973982ade999

14 months agoTurn transparentTitleBarAppearance flag on by default
elena.korotkova [Tue, 27 Apr 2021 16:02:53 +0000 (19:02 +0300)]
Turn transparentTitleBarAppearance flag on by default

GitOrigin-RevId: 9aa203833f96fa3f8b53676ab539145fe1d1e4b4

14 months ago[java] Update inspection descriptions
Louis Vignier [Mon, 26 Apr 2021 14:30:38 +0000 (16:30 +0200)]
[java] Update inspection descriptions

GitOrigin-RevId: 13eb11d33bdfeee67be3acbcf18990a0512f755e

14 months ago[Workspace Model] Do not serialize artifact if they are disabled in the new model
Alex Plate [Tue, 27 Apr 2021 11:11:14 +0000 (14:11 +0300)]
[Workspace Model] Do not serialize artifact if they are disabled in the new model

GitOrigin-RevId: eca01374479a7c655d1db199a50a4584656bf1a8

14 months ago[Workspace Model] Small refactoring of artifact property test
Alex Plate [Tue, 27 Apr 2021 11:08:32 +0000 (14:08 +0300)]
[Workspace Model] Small refactoring of artifact property test

GitOrigin-RevId: 50ead4500d3ba1d239c61e2dd40605eb26ffa193

14 months ago[Workspace Model] Mark getModifiableCopy artifact as notNull
Alex Plate [Tue, 27 Apr 2021 10:55:04 +0000 (13:55 +0300)]
[Workspace Model] Mark getModifiableCopy artifact as notNull

GitOrigin-RevId: 02aaab0d67cd0d5f355f3de191156e6ced8370bf

14 months ago[Workspace Model] Use name generator for generating an artifact name
Alex Plate [Tue, 27 Apr 2021 10:52:02 +0000 (13:52 +0300)]
[Workspace Model] Use name generator for generating an artifact name

GitOrigin-RevId: 9605680f4a92e8339a6ee3784dd07870b356e598

14 months ago[Workspace Model] Use helper function to obtain an artifact entity by id
Alex Plate [Tue, 27 Apr 2021 10:49:39 +0000 (13:49 +0300)]
[Workspace Model] Use helper function to obtain an artifact entity by id

GitOrigin-RevId: 687183be4c789b82d7473e759e72cda12a40afee

14 months ago[Workspace Model] Create correct entity source for new created artifact
Alex Plate [Tue, 27 Apr 2021 10:44:10 +0000 (13:44 +0300)]
[Workspace Model] Create correct entity source for new created artifact

GitOrigin-RevId: 270d509318d000a92534d0abc6c14e291466e3ee

14 months ago[Workspace Model] Remove unused ifs
Alex Plate [Fri, 23 Apr 2021 11:23:14 +0000 (14:23 +0300)]
[Workspace Model] Remove unused ifs

GitOrigin-RevId: 2c9949132cc206612702265a0c83c72fe15e374a

14 months ago[Workspace Model] Support updating artifact after updating source code
Alex Plate [Fri, 23 Apr 2021 10:59:25 +0000 (13:59 +0300)]
[Workspace Model] Support updating artifact after updating source code

GitOrigin-RevId: 38248709ec9a2a4360c038ce5787ea2e977bcb64

14 months ago[Workspace Model] Fix issues with committing and disposing modifiable model
Alex Plate [Thu, 22 Apr 2021 17:00:33 +0000 (20:00 +0300)]
[Workspace Model] Fix issues with committing and disposing modifiable model

GitOrigin-RevId: 7f979a1bdfd2cd331f0934f2c92e48b97f6e0d59

14 months ago[Workspace Model] Implement artifacts via workspace model
Alex Plate [Thu, 4 Feb 2021 15:51:18 +0000 (18:51 +0300)]
[Workspace Model] Implement artifacts via workspace model

GitOrigin-RevId: 539f54c3efa07b13e7da8b8da40b01404eef75b0

14 months agoPKGS-664 Fix PKGS inspections
Sebastiano Poggi [Tue, 27 Apr 2021 09:54:08 +0000 (11:54 +0200)]
PKGS-664 Fix PKGS inspections

Additional changes:
 * Persist onlyStable/onlyKMP flag state
 * Precompute updates in data service
 * Fix threading in data service

GitOrigin-RevId: 39c9de39e3bd6acfa702eb1c8ab3ff02a19e398c

14 months ago[java-inspections] ConditionCoveredByFurtherCondition: do not subclass InstructionVisitor
Tagir Valeev [Tue, 27 Apr 2021 13:24:22 +0000 (20:24 +0700)]
[java-inspections] ConditionCoveredByFurtherCondition: do not subclass InstructionVisitor

GitOrigin-RevId: 3911738b0d25710d9b64b3ba7241c94b45adbcea

14 months ago[java-dfa] DfaAssist: restore arraystore/aioobe behavior
Tagir Valeev [Tue, 27 Apr 2021 12:54:13 +0000 (19:54 +0700)]
[java-dfa] DfaAssist: restore arraystore/aioobe behavior

This is somewhat incorrect but it mimics the old behavior. Can be fixed later.

GitOrigin-RevId: cd735dcf7deae4512f8aaaaeb68359e18d9ed9bd

14 months ago[java-dfa] NullabilityProblem as JvmDfaProblem; DebuggerInstructionVisitor is not...
Tagir Valeev [Tue, 27 Apr 2021 11:21:20 +0000 (18:21 +0700)]
[java-dfa] NullabilityProblem as JvmDfaProblem; DebuggerInstructionVisitor is not InstructionVisitor anymore

GitOrigin-RevId: e1eae438f5483beded1c7adaa006ab6a5990b06a

14 months ago[java-dfa] ArrayIndexProblem, ClassCastProblem
Tagir Valeev [Tue, 27 Apr 2021 10:53:37 +0000 (17:53 +0700)]
[java-dfa] ArrayIndexProblem, ClassCastProblem

GitOrigin-RevId: d53518097a6983b28cf1f59b076ba56fdc0faf56

14 months ago[java-dfa] onCondition: three-state
Tagir Valeev [Tue, 27 Apr 2021 10:31:52 +0000 (17:31 +0700)]
[java-dfa] onCondition: three-state

GitOrigin-RevId: be05bbcc6025fd3b88e95bf76febcb40ce0bbfd2

14 months ago[java-completion] GuessManagerImpl: avoid subclassing InstructionVisitor
Tagir Valeev [Tue, 27 Apr 2021 09:17:57 +0000 (16:17 +0700)]
[java-completion] GuessManagerImpl: avoid subclassing InstructionVisitor

GitOrigin-RevId: 1b2102b03a77b739a14c71d333c0d88a86194f3f

14 months ago[java-dfa] Introduce UnsatisfiedConditionProblem, more refactoring
Tagir Valeev [Tue, 27 Apr 2021 09:00:39 +0000 (16:00 +0700)]
[java-dfa] Introduce UnsatisfiedConditionProblem, more refactoring

Reducing number of InstructionVisitor overridden methods

GitOrigin-RevId: e2e7d4bd7c50b2b37458633b1f9511f0abe607cf

14 months ago[java-inspections] Fixes according to review IJ-CR-8161
Tagir Valeev [Tue, 27 Apr 2021 06:06:54 +0000 (13:06 +0700)]
[java-inspections] Fixes according to review IJ-CR-8161

1. Do not report catch parameters
2. Improve merger

GitOrigin-RevId: 9d017e2231f7484c97777354f73a27f519106ad4

14 months ago[java-completion] Remove parameter/local from completion if it's shadowed by inner...
Tagir Valeev [Tue, 27 Apr 2021 05:31:05 +0000 (12:31 +0700)]
[java-completion] Remove parameter/local from completion if it's shadowed by inner class field

GitOrigin-RevId: abdd0555adefec2d214c61a92d4a9199a0a4d3c7

14 months ago[java-tests] Ignore lost comments on "Remove 'while' statement" action
Tagir Valeev [Tue, 27 Apr 2021 03:45:36 +0000 (10:45 +0700)]
[java-tests] Ignore lost comments on "Remove 'while' statement" action

GitOrigin-RevId: 6040c8d22cd9033216d951363521c9aa0b1fb951

14 months ago[java-inspections] IDEA-265512 Local variable is redundant is not highlighted when...
Tagir Valeev [Tue, 27 Apr 2021 03:36:18 +0000 (10:36 +0700)]
[java-inspections] IDEA-265512 Local variable is redundant is not highlighted when pattern is used

GitOrigin-RevId: 7b3919db8b74de179e5fd33e02fa29071f5d3fe6

14 months ago[java-dfa] EnsureInstruction: ephemeral states processed properly
Tagir Valeev [Mon, 26 Apr 2021 09:56:44 +0000 (16:56 +0700)]
[java-dfa] EnsureInstruction: ephemeral states processed properly

GitOrigin-RevId: e92024de4cbd91c6067021bfe2130770986e28a8

14 months agoRevert "IDEA-268008 [Big Sur UI] Context Menu"
Alexander Lobas [Tue, 27 Apr 2021 14:40:13 +0000 (17:40 +0300)]
Revert "IDEA-268008 [Big Sur UI] Context Menu"

GitOrigin-RevId: 6e380798130caf67cb5424a644f27f9bec3670ef

14 months ago[IFT] Fix triggers and add GUI test for Java Type matching completion lesson
Konstantin Hudyakov [Tue, 27 Apr 2021 12:27:20 +0000 (15:27 +0300)]
[IFT] Fix triggers and add GUI test for Java Type matching completion lesson

IDEA-CR-71359

GitOrigin-RevId: 314c0be99fbd8f57345f38ec9d86b4878627c397

14 months ago[IFT] Add GUI test for Java Basic completion lesson
Konstantin Hudyakov [Tue, 27 Apr 2021 12:25:56 +0000 (15:25 +0300)]
[IFT] Add GUI test for Java Basic completion lesson

IDEA-CR-71359

GitOrigin-RevId: e59753fa0774ad3af6381999bad6be1cbb42365b

14 months agoDisable by default Big Sur native alerts.
Alexander Lobas [Tue, 27 Apr 2021 13:50:30 +0000 (16:50 +0300)]
Disable by default Big Sur native alerts.

GitOrigin-RevId: 9219396cc5727a95c9c79f03a9d9c9a8300bf6d8

14 months agoStatisticsUtil: add getNextPowerOfTwo for long
Roman Ivanov [Tue, 27 Apr 2021 11:11:18 +0000 (18:11 +0700)]
StatisticsUtil: add getNextPowerOfTwo for long

GitOrigin-RevId: 9918ce083542ab763157655cbe5e8ee0a276184a

14 months agoadd descriptions for ProgressBar.selectionBackground/Foreground
Konstantin Bulenkov [Tue, 27 Apr 2021 10:25:47 +0000 (12:25 +0200)]
add descriptions for ProgressBar.selectionBackground/Foreground

GitOrigin-RevId: fa302dc2a21316671d70380034a6174a6471668f

14 months agointentions: additional fixes, review WEB-50649
Andrey Starovoyt [Tue, 27 Apr 2021 11:50:59 +0000 (14:50 +0300)]
intentions: additional fixes, review WEB-50649

GitOrigin-RevId: 1c4e400d92b95f23e1dfd52389d8e43d6ec8414e

14 months agointentions: xml WEB-50649
Andrey Starovoyt [Tue, 27 Apr 2021 10:58:59 +0000 (13:58 +0300)]
intentions: xml WEB-50649

GitOrigin-RevId: 0094eeca686a4de4b416bbeec5263a3cc13448ca

14 months agointentions: json & x-path WEB-50649
Andrey Starovoyt [Tue, 27 Apr 2021 10:47:20 +0000 (13:47 +0300)]
intentions: json & x-path WEB-50649

GitOrigin-RevId: 9843203417b96fb20a5a6dffe284f9b692d494ba

14 months ago[ml-completion] collect only non-zero values for package matching features
Alexey Kalina [Tue, 27 Apr 2021 06:36:21 +0000 (09:36 +0300)]
[ml-completion] collect only non-zero values for package matching features

(cherry picked from commit a4d682e29cbcaedc4c61dd5a56e5ee5a890c6cbf)

IJ-CR-8610

GitOrigin-RevId: 66e18b8a9481ea9ff05b101cad4a2136c4c422dd

14 months ago[ml-completion] java features: add tests on fqn trie
Alexey Kalina [Mon, 26 Apr 2021 13:34:12 +0000 (16:34 +0300)]
[ml-completion] java features: add tests on fqn trie

(cherry picked from commit 2f1c7d89db1b753d4ef82572c29d0f1a348a957d)

IJ-CR-8610

GitOrigin-RevId: caf51c90504ad28e73bffec6b2c60d92057ac065

14 months ago[ml-completion] add package matching features for java
Alexey Kalina [Mon, 26 Apr 2021 08:59:01 +0000 (11:59 +0300)]
[ml-completion] add package matching features for java

(cherry picked from commit 34b2afedfe844465fd842e8a31492c6279d0a89f)

IJ-CR-8610

GitOrigin-RevId: 4cd2757716c794e19a4bf84efe9c659475a41e66

14 months agorun gutter marks: don't sort or do anything when only one run gutter provider is...
Anna Kozlova [Tue, 27 Apr 2021 11:18:29 +0000 (13:18 +0200)]
run gutter marks: don't sort or do anything when only one run gutter provider is expected (GO-10986)

the change: ignore default order (0) completely. Pass MAX_INT application configuration provider to ensure that ordering would choose it to be first anyway.

Sorting between 3 gutter providers is impossible, unfortunately. One need to provide different constants, some of providers may be missed in some cases and the constant must be in [0, providers.size()] which is hardly doable

GitOrigin-RevId: fac4396ba1df9ad2a0cebfb314991c36573fa6df

14 months agoIDEA-268059 Evaluate expression doesn't work from inline debugger popup
Egor Ushakov [Tue, 27 Apr 2021 12:06:30 +0000 (15:06 +0300)]
IDEA-268059 Evaluate expression doesn't work from inline debugger popup

GitOrigin-RevId: 28fb4e1f67f984512c3c5d6d05b7bbdac0d48a0a

14 months ago[ml-completion] IDEA-267985: check that change is modification and element is identifier
Alexey Kalina [Tue, 27 Apr 2021 11:49:42 +0000 (14:49 +0300)]
[ml-completion] IDEA-267985: check that change is modification and element is identifier

GitOrigin-RevId: d518f1d02ca0a871bba54909e0b7005b071f4be7

14 months agoModifiers from macro action invocation shouldn't affect macro execution (IDEA-198381)
Bas Leijdekkers [Tue, 27 Apr 2021 10:38:57 +0000 (12:38 +0200)]
Modifiers from macro action invocation shouldn't affect macro execution (IDEA-198381)

GitOrigin-RevId: 932ee8ed715ec6c6afe33c8c7eeaf67e31e5dab1

14 months agoIDEA-267701 Scan Eclipse projects in the user's home directory
Dmitry Avdeev [Tue, 27 Apr 2021 09:05:39 +0000 (12:05 +0300)]
IDEA-267701 Scan Eclipse projects in the user's home directory

GitOrigin-RevId: 0c7b5d043ec11550590ef53e2cea2072477b768d

14 months agoMove BookmarkType to API
Sergey Malenkov [Mon, 26 Apr 2021 19:23:40 +0000 (22:23 +0300)]
Move BookmarkType to API

GitOrigin-RevId: 77f6a7f8ff8eff460d0618d4771b208c966ddc2f

14 months agoterminal: call dispatchEvent instead of processKeyEvent (IDEA-170763)
Sergey Simonchik [Tue, 27 Apr 2021 11:22:41 +0000 (14:22 +0300)]
terminal: call dispatchEvent instead of processKeyEvent (IDEA-170763)

This creates KeyEvent with keyChar=='~' after AltGr+2 (French AZERTY keyboard).

GitOrigin-RevId: f857bdcba379f5e93d7554b1e642c47d99bb99ad

14 months agoIDEA-267294 "Stretch to Right"/"Stretch to Left": Ctrl+Shift+Arrow keys resize the...
Vassiliy.Kudryashov [Tue, 27 Apr 2021 10:30:43 +0000 (13:30 +0300)]
IDEA-267294 "Stretch to Right"/"Stretch to Left": Ctrl+Shift+Arrow keys resize the dialog instead of text selection

GitOrigin-RevId: 2207a02499d355378c1e6d2130a5760fcaf52e3c

14 months agoFUS: increment version of inspections group
Anastasia Ivanova [Tue, 27 Apr 2021 11:27:40 +0000 (18:27 +0700)]
FUS: increment version of inspections group

GitOrigin-RevId: c59a954e72ff11cebba7362a4e8c6a56b8c9a5b8

14 months ago[IntelliJ project configuration] fix paths to sources in aalto-xml library
Nikolay Chashnikov [Tue, 27 Apr 2021 11:08:42 +0000 (14:08 +0300)]
[IntelliJ project configuration] fix paths to sources in aalto-xml library

Otherwise library configuration file is modified when the library is synchronized with Maven repository.

GitOrigin-RevId: 50d80544ce0dba7c0786dd868da32eb8346e0b1a

14 months ago[workspace model] fix serialization of LinkedHashSet properties (IDEA-266962)
Nikolay Chashnikov [Tue, 27 Apr 2021 10:12:28 +0000 (13:12 +0300)]
[workspace model] fix serialization of LinkedHashSet properties (IDEA-266962)

The default instantiator creates instance of LinkedHashSet via reflection and its 'map' field will be set to 'null', so any attempt to access content of the set will fail with NPE.

GitOrigin-RevId: 64aa6bae48913820d0b36cbf3b58ccde992362d4

14 months agoCPP-24993 Exception on opening IDE: java.lang.Throwable: Attempt to load key 'lcd...
Vladimir Krivosheev [Tue, 27 Apr 2021 10:46:04 +0000 (12:46 +0200)]
CPP-24993 Exception on opening IDE: java.lang.Throwable: Attempt to load key 'lcd.contrast.value' for not yet loaded registry.

GitOrigin-RevId: b4ada91745cfc63eec4ef4ecb58e1dd004bca9ad

14 months agoavoid extra list creation
Vladimir Krivosheev [Tue, 27 Apr 2021 10:28:09 +0000 (12:28 +0200)]
avoid extra list creation

GitOrigin-RevId: 887540f10e384fdf7892936f203d41d97290eae8

14 months agoenforce `ActionPlaces.isPopupPlace` in action popups 2
Gregory.Shrago [Tue, 27 Apr 2021 10:37:43 +0000 (13:37 +0300)]
enforce `ActionPlaces.isPopupPlace` in action popups 2

GitOrigin-RevId: ead8bfceec358117e206b021c58b22cc3604bcfd

14 months agoIDEA-267214 java.lang.IllegalArgumentException: Argument for @NotNull parameter ...
Vladimir Krivosheev [Mon, 26 Apr 2021 07:41:45 +0000 (09:41 +0200)]
IDEA-267214 java.lang.IllegalArgumentException: Argument for @NotNull parameter 'fileEditors' of com/intellij/codeInsight/daemon/DaemonCodeAnalyzer$DaemonListener.daemonFinished and 'fileEditors' of com/intellij/execution/lineMarker/RunnableStatusListener.daemonFinished must not be null

GitOrigin-RevId: 337943a2a240caa580d70fefb1af61999345e208

14 months ago[ml-completion] IDEA-267985: calculate vcs_declaration_changed only for cached docume...
Alexey Kalina [Tue, 27 Apr 2021 10:23:34 +0000 (13:23 +0300)]
[ml-completion] IDEA-267985: calculate vcs_declaration_changed only for cached documents and changes

GitOrigin-RevId: 302dd979f8a78b7ef06f915ba2b3557cefc307e9

14 months agointroduce async and non-async `InjectedDataContext`
Gregory.Shrago [Tue, 27 Apr 2021 02:12:54 +0000 (05:12 +0300)]
introduce async and non-async `InjectedDataContext`

"Non-async data context detected in async mode" warning helped
to discover that actions with `myWorksInInjected` flag set get
non-async data-context wrapper for perfectly async data-context
via `AnActionEvent.getDataContext`.

GitOrigin-RevId: ea0b4befb5a733e272b5c1ad2611ed79201caa9e

14 months agoindex: mark stub indexes to be force cleaned if clear() called while initialization...
Dmitry Batkovich [Tue, 27 Apr 2021 07:50:56 +0000 (10:50 +0300)]
index: mark stub indexes to be force cleaned if clear() called while initialization IDEA-267942

GitOrigin-RevId: b41b2771ba094c9a296e0651557a769c2e169b42

14 months agogo to file should work with light virtual files EA-265605
Dmitry Batkovich [Tue, 27 Apr 2021 07:29:37 +0000 (10:29 +0300)]
go to file should work with light virtual files EA-265605

GitOrigin-RevId: dd401d4bac62f92d541f45f1107806f2c3f443d3

14 months agoInitial support for REPL in Kotlin worksheets (KTIJ-11523)
Dmitry Jemerov [Mon, 26 Apr 2021 17:26:41 +0000 (19:26 +0200)]
Initial support for REPL in Kotlin worksheets (KTIJ-11523)

GitOrigin-RevId: 1151ed91ce96305e0c3f4b0e19c4df608bddaa5c

14 months agoRegister ScratchFileModuleInfoProvider as <projectListener>
Dmitry Jemerov [Mon, 26 Apr 2021 17:18:15 +0000 (19:18 +0200)]
Register ScratchFileModuleInfoProvider as <projectListener>

Otherwise editors are reopened before the startup activity executes, and reopened worksheets aren't associated with the correct module

GitOrigin-RevId: 489e279344a5bb86d992f05f553421f1dca2032a

14 months agoExtract TargetProgressIndicatorAdapter out of Fleet
Dmitry Jemerov [Mon, 26 Apr 2021 16:51:05 +0000 (18:51 +0200)]
Extract TargetProgressIndicatorAdapter out of Fleet

GitOrigin-RevId: a2f124270883450e5a89c2658ef64817ce31e0c8

14 months agoAdd implementation of FileEditor.getFile() which is now required
Dmitry Jemerov [Mon, 26 Apr 2021 16:41:23 +0000 (18:41 +0200)]
Add implementation of FileEditor.getFile() which is now required

GitOrigin-RevId: 335e4afb0fca68b9467142f2c978bf4cdb6b51b4

14 months agoCleanup: delete unused parameters
Dmitry Jemerov [Mon, 26 Apr 2021 16:32:52 +0000 (18:32 +0200)]
Cleanup: delete unused parameters

GitOrigin-RevId: 274cb87a791b9f01fd1a0c3f36aab91094d5b138

14 months agoFix package of ParameterTargetValue.kt
Dmitry Jemerov [Mon, 26 Apr 2021 16:30:00 +0000 (18:30 +0200)]
Fix package of ParameterTargetValue.kt

GitOrigin-RevId: 80cb184b68570f61b2a45db0db5b071a75733226

14 months agoKotlinStandaloneScriptRunConfiguration cleanup and i18n fixes
Dmitry Jemerov [Mon, 26 Apr 2021 16:24:13 +0000 (18:24 +0200)]
KotlinStandaloneScriptRunConfiguration cleanup and i18n fixes

GitOrigin-RevId: 3e83b7d16a6b73a5e09346ee6ea7647902fa0c56

14 months agoSupport Kotlin script run configuration on WSL (KTIJ-11522)
Dmitry Jemerov [Mon, 26 Apr 2021 16:03:01 +0000 (18:03 +0200)]
Support Kotlin script run configuration on WSL (KTIJ-11522)

GitOrigin-RevId: 5aed28561d0eab0c657051e0a48bbc5dd420b4e9

14 months agoSome extensions for CompositeParameterTargetedValue API (for KTIJ-11522)
Dmitry Jemerov [Mon, 26 Apr 2021 16:01:24 +0000 (18:01 +0200)]
Some extensions for CompositeParameterTargetedValue API (for KTIJ-11522)

GitOrigin-RevId: 52a140a92a64a1b07e572911c52aa7192fdf6a3a

14 months agoInitial support for running Kotlin REPL inside WSL (KTIJ-10773)
Dmitry Jemerov [Mon, 26 Apr 2021 15:07:45 +0000 (17:07 +0200)]
Initial support for running Kotlin REPL inside WSL (KTIJ-10773)

GitOrigin-RevId: 3498951c3eca69af192c3ab670b6aae769b705c5

14 months agosupport new plugin model in plugin descriptor loader (part 1)
Vladimir Krivosheev [Mon, 26 Apr 2021 09:33:21 +0000 (11:33 +0200)]
support new plugin model in plugin descriptor loader (part 1)

GitOrigin-RevId: 624a5eb2e565480ab1e5c0e0df40d91697c60d30

14 months agohandle BOM and more efficient XML parsing — pass InputStream with UTF-8 encoding...
Vladimir Krivosheev [Mon, 26 Apr 2021 08:42:50 +0000 (10:42 +0200)]
handle BOM and more efficient XML parsing — pass InputStream with UTF-8 encoding to XML reader instead of Reader

GitOrigin-RevId: 2357b8b01cd0cc0c70e1521d1f11f799963f189d

14 months agocleanup
Vladimir Krivosheev [Mon, 26 Apr 2021 08:40:32 +0000 (10:40 +0200)]
cleanup

GitOrigin-RevId: aeae8f58da1b87782aa878682f7334122ec2d9a5

14 months agocleanup
Vladimir Krivosheev [Fri, 23 Apr 2021 10:00:26 +0000 (12:00 +0200)]
cleanup

GitOrigin-RevId: 0ba841fd986c3119cb24c07deeb0c2f1db8dcc1e

14 months agoRename .java to .kt
Vladimir Krivosheev [Fri, 23 Apr 2021 10:00:18 +0000 (12:00 +0200)]
Rename .java to .kt

GitOrigin-RevId: 2881c93cff25f11cc9e9e3516041ccce946f644c

14 months agocleanup
Vladimir Krivosheev [Thu, 22 Apr 2021 05:44:11 +0000 (07:44 +0200)]
cleanup

GitOrigin-RevId: da74211244f42883727d5704acdd2984d835f23c

14 months agoRename .java to .kt
Vladimir Krivosheev [Thu, 22 Apr 2021 05:44:02 +0000 (07:44 +0200)]
Rename .java to .kt

GitOrigin-RevId: 4615644159078c07a7c10dea2d8afb68828cbf62

14 months agocleanup
Vladimir Krivosheev [Tue, 20 Apr 2021 09:24:28 +0000 (11:24 +0200)]
cleanup

GitOrigin-RevId: 8b15f5de28f202280c8b99779f99b25ec37db8b4

14 months agoRename .java to .kt
Vladimir Krivosheev [Tue, 20 Apr 2021 09:24:16 +0000 (11:24 +0200)]
Rename .java to .kt

GitOrigin-RevId: 2a006bcca65d30a3dedfcb300ab055f03ff05a2a

14 months agoNew toolbar: fix IDEA-267427
elena.korotkova [Tue, 27 Apr 2021 07:44:32 +0000 (10:44 +0300)]
New toolbar: fix IDEA-267427

GitOrigin-RevId: 687fe63136dfb01c108420f1dfd02b7b59608fe6

14 months ago[ml-completion] kotlin: enable ml completion by default in eap
Alexey Kalina [Tue, 27 Apr 2021 07:55:23 +0000 (10:55 +0300)]
[ml-completion] kotlin: enable ml completion by default in eap

GitOrigin-RevId: 778acb869030b203453ab5706bc1abeab2aa9781

14 months agoIDEA-265492 - merged quick fix properties, fixes the bug during the parent operator...
Ilyas Selimov [Tue, 27 Apr 2021 07:22:09 +0000 (14:22 +0700)]
IDEA-265492 - merged quick fix properties, fixes the bug during the parent operator replacement quick fix

GitOrigin-RevId: 573c761815d3f139fe68948bc68e9082cb608988

14 months agojavac index: check project is not disposed EA-266263
Dmitry Batkovich [Mon, 26 Apr 2021 21:09:39 +0000 (00:09 +0300)]
javac index: check project is not disposed EA-266263

GitOrigin-RevId: 8a902807b322f283c5b94e36d6a085d561d3d1b4

14 months agojunit: don't add vintage engine for junit < 4.12
Anna Kozlova [Mon, 26 Apr 2021 19:16:26 +0000 (21:16 +0200)]
junit: don't add vintage engine for junit < 4.12

vintage engine will fail with no tests detected in this case. In many cases though, users receive old junit from some transitive dependency and have no real junit 3 tests in the project. Let them decide explicitly if vintage engine is required

GitOrigin-RevId: d9378eac7c2e816a5b5635489d142eccbb91681d

14 months agoHTML indexing diagnostics [IDEA-267366]: simplify wording for shared indexes.
Sergey Patrikeev [Tue, 27 Apr 2021 05:10:21 +0000 (08:10 +0300)]
HTML indexing diagnostics [IDEA-267366]: simplify wording for shared indexes.

GitOrigin-RevId: 972ba80ac919a09433f08f7b2b5f6c5bc65a1de3

14 months agoSurround some operations with text control ClientId
Artem .Bukhonov [Fri, 9 Apr 2021 19:59:11 +0000 (22:59 +0300)]
Surround some operations with text control ClientId
Assertions on ClienId added

(cherry picked from commit b515ba50fa2f091179e0b708c0c88e3913b3df50)

IJ-MR-8643

GitOrigin-RevId: e150a39e47f578748fb63ce419e4facb81fdc80d

14 months agoreplace explicit toolbars update with `ActivityTracker.inc`
Gregory.Shrago [Mon, 26 Apr 2021 21:54:16 +0000 (00:54 +0300)]
replace explicit toolbars update with `ActivityTracker.inc`

GitOrigin-RevId: 670bbb80f60c4165b9bb382e8e7509b84440b488

14 months ago[vcs-log] simplify: remove extra field and method
Julia Beliaeva [Mon, 26 Apr 2021 20:02:59 +0000 (23:02 +0300)]
[vcs-log] simplify: remove extra field and method

GitOrigin-RevId: afe26913fadebe30f1d055f064915a9e299a556b

14 months ago[java] Update inspection descriptions
Bart van Helvert [Mon, 26 Apr 2021 20:46:35 +0000 (22:46 +0200)]
[java] Update inspection descriptions

GitOrigin-RevId: 860ae956934103a4a3bf3e84ed80e74c1c8f61df

14 months agoProofread inspection descriptions for Java (in progress)
Aleksandra Zolushkina [Mon, 26 Apr 2021 17:48:21 +0000 (19:48 +0200)]
Proofread inspection descriptions for Java (in progress)

GitOrigin-RevId: 07461a92cc1e9c82e3721246b6555bc06e5c835d

14 months agoIDEA-265638 single cancellation listener per JList
Daniil Ovchinnikov [Mon, 26 Apr 2021 19:19:49 +0000 (21:19 +0200)]
IDEA-265638 single cancellation listener per JList

GitOrigin-RevId: 451f1a2f90f099c2c146fc715ae7c9a09e845427

14 months agoStubs: do not log PCE as error when building a stub.
Sergey Patrikeev [Mon, 26 Apr 2021 19:18:41 +0000 (22:18 +0300)]
Stubs: do not log PCE as error when building a stub.

GitOrigin-RevId: 6597d5509aab85463c2d3a0b8cf8c4e33590d4c1

14 months agoCleanup (better naming)
Roman Shevchenko [Mon, 26 Apr 2021 18:58:51 +0000 (20:58 +0200)]
Cleanup (better naming)

GitOrigin-RevId: 15fca968faa60c8f4b7d6480ae10a3db1be8da89

14 months agoCleanup (better naming)
Roman Shevchenko [Mon, 26 Apr 2021 18:57:53 +0000 (20:57 +0200)]
Cleanup (better naming)

GitOrigin-RevId: 86efeabbbe23b08cbe43a5f44c61c13d7a925013