Commit Graph

1686 Commits

Author SHA1 Message Date
Elena Shaverdova
6b83f341ae [Targets] Better exception handling around promises
IDEA-CR-68655 IDEA-253624

(cherry picked from commit d95ef417b4e5f95b74b36bdb4c60d7e88157a540)

IDEA-CR-68655

GitOrigin-RevId: 80b4730477e07a156d770fb7c0e6beb3dc2cd415
2020-11-16 12:00:24 +00:00
Elena Shaverdova
4275bd2ad7 [Targets] Enforce executeJavaState boolean parameters from other
IDEA-CR-68655 IDEA-253624

(cherry picked from commit 06d9733385aa0745d244454827b36408246bd50a)

IDEA-CR-68655

GitOrigin-RevId: ff648ffa193b7901036c1b0cf9e3b70ac5bbdaf6
2020-11-16 12:00:23 +00:00
Elena Shaverdova
814d1d5dd4 [Targets] Don't run executionManager.executePreparationTasks when not needed
IDEA-CR-68655 IDEA-253624

(cherry picked from commit 59faec4c4de6520ea75d1b92a2c61cc38398c803)

IDEA-CR-68655

GitOrigin-RevId: f2653f88bd0d3d12e28e7426e635b690562620a0
2020-11-16 12:00:23 +00:00
Elena Shaverdova
d90f9bcad3 [Targets] Move target preparation to be after making
IDEA-253624 Run Targets: SSH: the files are copied before the project is built.

(cherry picked from commit 42a7466ca94b66b1b1b7a4c9e9887ef7505a28a6)

IDEA-CR-68655

GitOrigin-RevId: c84e6063c538ab113f77d04dc276d6cb5e93e37d
2020-11-16 12:00:22 +00:00
Dmitry Avdeev
f6a5edf0a0 IDEA-251778 Add default path for project-dependent files to the target configuration
field and UI added to run configuration
TODO: pass it to the launch process

GitOrigin-RevId: 922452c6583d946429c974aca9ce8ead403304c7
2020-11-13 10:37:55 +00:00
Kirill Timofeev
e637dd52d4 Use JavaRunConfigurationExtensionManager instead of manually iterating over configuration extensions
This save us from accidentally updating java parameters from disabled RunConfigurationExtension

This is also a proper fix for IDEA-254972

GitOrigin-RevId: 797318367a9d61895d954d70513add6482143d05
2020-11-10 20:19:01 +00:00
Michael Golubev
8b05977202 IDEA-253753: Run Targets: Turn off run targets functionality for the sub-run-configs of Application
- disable run targets for all configurations without `getDefaultLanguageRuntimeType`
- pull `getDefaultLanguageRuntimeType` down to JUnitConfiguration with less unintended subtypes
- explicitly disable for existing subtypes of JUnitConfiguration
- explicitly disable for quarkus (as subtype of maven run configuration)

GitOrigin-RevId: 4a88651c44576c6241cf2236c31a6edc28eeb397
2020-11-08 18:12:23 +00:00
Anna Kozlova
4a2f04575f shorten command line: get rid of explicit user defaults setting (IDEA-254515)
if something else is changed in the configuration, then explicit setting would be saved to the configuration file which will break compatibility with old IJ (before 2017)

GitOrigin-RevId: e746aaa0504657750f20935993ac97f81ab02363
2020-11-05 20:53:08 +00:00
Vladimir Krivosheev
a43f2941b4 IDEA-CR-68358 better name, add javadoc
GitOrigin-RevId: 948f2d23dc33dadbee1af826de4e0203afd472cc
2020-11-05 08:45:38 +00:00
Nikolay Chashnikov
b1cc40fdc2 [devkit] automatically use '@argfile' shortening method when running tests in IntelliJ project (IDEA-254523)
GitOrigin-RevId: 85e87fd2aa1b86a497475caf6a52b97ed8b6f07e
2020-11-03 16:50:57 +00:00
Vladimir Krivosheev
782bc70f2f IDEA-254391 introduce SharedExtensionImplementation to mark violators
GitOrigin-RevId: 47e5ef000ca68e73dfa61e6544a342fa42490e82
2020-11-03 07:41:07 +00:00
Vladimir Krivosheev
e70e23f3b1 IDEA-250250 fix class location violations for spring/coverage/java/uast
GitOrigin-RevId: 5e80e06a4f48ddab40a8dc3c0edcf560dbe61dc9
2020-11-02 10:59:02 +00:00
Vladimir Krivosheev
c31626c2ee IDEA-250250 JUnit must not define actions that located in another module
GitOrigin-RevId: b4a0759fc414b1d4ca45acf2614b1bc9eb2034ad
2020-11-02 06:14:09 +00:00
Daniil Ovchinnikov
2166e7a311 IDEA-249719 [i18n] deprecate UsageViewPresentation#getUsagesWord
GitOrigin-RevId: 301f05ef74e8cdc1e0dd45656b755544a9811ab5
2020-10-28 11:27:49 +00:00
Dmitry Avdeev
23340e1e51 IDEA-253816 [new run config UI] "Build" Before Launch disappears after modifying the Run Configuration
GitOrigin-RevId: 8d4cb762eb2f697f8015d9b58774389f4d4debe1
2020-10-27 13:05:30 +00:00
Michael Golubev
337e24c787 IDEA-252711 - Run Targets: targets should be project-level
GitOrigin-RevId: 7bdbe4f522f04a534edb18193f5f149c5b1e05b5
2020-10-27 10:58:50 +00:00
Alexey Kudravtsev
2986e76ad8 cleanup: shorten code
GitOrigin-RevId: cd56421a22905870a59257368b8af054181c3c7a
2020-10-25 11:33:29 +00:00
Michael Golubev
56d41e0496 IDEA-253753 - Run Targets: Turn off run targets functionality for the subtypes of ApplicationRunConfiguration
GitOrigin-RevId: 4b548cbdfa0cf955d1eb48d284095c9e602bcf9b
2020-10-24 14:54:26 +00:00
Sergei Vorobyov
8d076427ea KTIJ-385 added fallback for reattach of non java debug processes
GitOrigin-RevId: 8ee3edc7c937edb150fbe5e40609f46c3d86fe33
2020-10-21 12:33:22 +00:00
Sergei Vorobyov
c84e71cbc5 [debugger] added stub debugger remote connection
GitOrigin-RevId: d1b3f67fd880540a4e2a65e2694b270ec92e42a8
2020-10-19 15:48:09 +00:00
Sergei Vorobyov
0df0f8e507 [debugger] merged stashAndReattach and reattach functions into one reattach(keepCurrentVM)
GitOrigin-RevId: 27db572b02c73500fcf85ae05ffc978f358e8958
2020-10-19 15:48:08 +00:00
Sergei Vorobyov
3cffd1cf57 IDEA-200694 fixed infinity waiting for connection into gradle daemon without debug agent
GitOrigin-RevId: 090681aaf3b0e38d7c293137c1cae6c530251e6c
2020-10-19 15:48:08 +00:00
Sergei Vorobyov
a5f817b944 IDEA-200694 added reattaching debug processes without closing previous connection
Allows to continue debug in parent process when child process is completed

GitOrigin-RevId: c052d7d6e0b2f0e6f2c51df19cadebd04328ab74
2020-10-19 15:48:07 +00:00
Sergei Vorobyov
0a947beabe IDEA-200694 added reattaching of Gradle debug processes into one session tab
GitOrigin-RevId: 33445e3fc16280aa0cb6a513ef571c9c274e0906
2020-10-19 15:48:06 +00:00
Sergei Vorobyov
67e80d689d [debugger] added logging of debugger server address info
GitOrigin-RevId: 32de293bcf45b53fe1ac389114b6224dc2f3a2dd
2020-10-19 15:48:05 +00:00
Dmitry Avdeev
8982029599 IDEA-246287 [new run config UI] Improve clarity around non-configured options
fixed initial state for Build and Run label

GitOrigin-RevId: d80eace078dc6ac775e930359bf5273e16ddf1c2
2020-10-19 08:37:19 +00:00
Eugene Petrenko
83c7c5da98 sdk-lookup: IDEA-233404 - try to resolve a missing SDK for run configuration - autofix locally detected SDKs
GitOrigin-RevId: a691c3549e961579c4f0199c9ec19a9d89194477
2020-10-18 22:06:36 +00:00
Alexey Kudravtsev
016f2aef5b cleanup: fix some embarrassing "expression is always true" warnings
GitOrigin-RevId: 7924e9541bb3e0fe2d328a7624401effba8d4b0a
2020-10-18 12:50:24 +00:00
Eugene Petrenko
f214ddfe91 jdk-auto: drop legacy&disabled run configurations sdk-lookup implementation
GitOrigin-RevId: c0d6c34a3d31e0030661ad4a36a5dec907458956
2020-10-16 23:55:55 +00:00
Eugene Petrenko
b69db3456a sdk-lookup: IDEA-233404 - try to resolve a missing SDK for run configuration
GitOrigin-RevId: 52cc451e5bb337348546c4b574bc4f68668da0a2
2020-10-16 23:55:52 +00:00
Sergei Vorobyov
6f4bced589 fixed warning after every debug process completion
GitOrigin-RevId: 41cf50a03c1a03dc717dbafb7a6e0b932d2d1762
2020-10-13 12:39:21 +00:00
Vladimir Krivosheev
b3d8820047 cleanup
GitOrigin-RevId: 63d29224e00603b91b985bb10bffda9d87695f66
2020-10-12 16:46:05 +00:00
Dmitry Avdeev
81d64a8bd8 IDEA-246287 [new run config UI] Improve clarity around non-configured options
adding Got It tooltip

GitOrigin-RevId: 23edb461e22ad904ecdf4727b4744d669c996680
2020-10-12 11:35:02 +00:00
Anastasia Ivanova
397b91c975 FUS: add ObjectEventData constructor with list parameter
GitOrigin-RevId: 75a55bc2ec750c0b611940d1c57851aec8a1bce0
2020-10-12 09:28:12 +00:00
Dmitry Avdeev
2f59aab03c IDEA-248457 Java Application with run targets: show Java language runtimes configured on a target instead of local JDKs
do not save target runtime in configuration

GitOrigin-RevId: 7bc0ae574311c925c3cab5fe904ad9de697b0fb1
2020-10-08 08:52:08 +00:00
Dmitry Avdeev
e1c5d097ee IDEA-252057 [run.targets] Java run configuration fails to run on docker target
GitOrigin-RevId: 38f580f29fe8c56c15ebaade5ce24159610ec46c
2020-10-07 18:45:00 +00:00
Alexey Kudravtsev
36d92a24a2 avoid concrete classes *OpenHashMap, use interface instead
GitOrigin-RevId: 6ff337729564d9ce1227231125d4fef83f49d69f
2020-10-07 13:51:57 +00:00
Alexey Kudravtsev
d2437cbdc2 avoid concrete class IntArrayList, use interface instead
GitOrigin-RevId: 0e8e08b55f58dfd3597e9999012e2746312a9e60
2020-10-07 13:51:52 +00:00
Alexey Kudravtsev
d4fbdcc1f2 avoid concrete class IntOpenHashSet, use interface instead
GitOrigin-RevId: 592050b9a3bdc5a1d490f45efaae4ba0367de490
2020-10-07 13:51:51 +00:00
Nikita Skvortsov
62f49b28d8 [gradle] improve Application run config import IDEA-252276
Support 'include dependencies with provided scope' in Gradle Idea Ext plugin

GitOrigin-RevId: 5eff14d45aac71e6a316eb6dd67ac0b7bcfbc67f
2020-10-06 12:17:41 +00:00
Egor Ushakov
f5e103d264 [debugger] fixed unreliable reattach
GitOrigin-RevId: dc3e58ea976675707fad555f5a52bee13f6b51e4
2020-10-06 09:17:58 +00:00
Elena Shaverdova
361601ccce [Targets] Use TargetProgressIndicator instead of ProgressIndicator for transparent interaction
GitOrigin-RevId: 2e839d8763e20dbb4b1535b843baef1731f2f430
2020-10-05 18:25:32 +00:00
Elena Shaverdova
af1f0e585f IDEA-251764 Make target preparation output discoverable by user
Moved log of target preparation to Build toolwindow

GitOrigin-RevId: 81d36eb6f9dffc89cb24ad5a2170adbe6f418b2c
2020-10-02 12:33:04 +00:00
Anna Kozlova
3c69b7aee4 junit: take into account file position of ClassSource (IDEA-186581)
GitOrigin-RevId: d9ddfa10e4944de7b9dc759ed6146d6286619fce
2020-10-02 12:13:45 +00:00
Elena Shaverdova
a03da47458 IDEA-196499 Run Configurations not viewable while indexing
GitOrigin-RevId: 24680273eeb5b98baf41d5ef766c6efc2e425328
2020-10-01 16:45:23 +00:00
Elena Shaverdova
790f2267ba Revert "Moved log of target preparation to Build toolwindow"
This reverts commit f371fa08

GitOrigin-RevId: b05134d633e3c0e85ef8b56c01a9173256a9d557
2020-10-01 11:48:20 +00:00
Vladimir Krivosheev
56fd73a01b DefaultJDOMExternalizer - use ClassValue to simplify dynamic plugin reloading
GitOrigin-RevId: 419180a7e5229afa075229046878e176e740398f
2020-10-01 05:19:01 +00:00
Elena Shaverdova
50af22c579 Moved log of target preparation to Build toolwindow
IDEA-251764 Make target preparation output discoverable by user

GitOrigin-RevId: f371fa08396e66a6a080b12cdee6000eacc9a54e
2020-09-30 14:37:56 +00:00
Alexey Kudravtsev
3ddb57a1d3 replace more places with PathUtil.pathEqualsTo(), move to VfsUtil as more appropriate place (IDEA-CR-65793)
GitOrigin-RevId: 8fcf0fbea09bd30e13d573a0aae7750c7c4beaca
2020-09-30 14:33:17 +00:00
Nikita Skvortsov
b86f35fdbd [gradle] fix potential NPEs (e.g. in tests or headless mode)
GitOrigin-RevId: f092a075daa23b132fdb9fc1ca49ec7c76e0bcc2
2020-09-30 09:50:59 +00:00