Commit Graph

2248 Commits

Author SHA1 Message Date
Louis Vignier
4319199c41 [ui] Set caret position to 0 when opening VM options editor
#IDEA-355487 Fixed

GitOrigin-RevId: 414fc476f093c8af5dcb8ab4b8fcf0d98eba4b5e
2024-07-19 14:33:47 +00:00
Tagir Valeev
d263e30396 Remove raw types in PopupStep#onChosen inheritors
GitOrigin-RevId: df36f1a249ab4d87c2d10e3d39c27f0351298921
2024-07-08 16:18:24 +00:00
Mikhail Pyltsin
c437caf780 [java] IDEA-355892 JEP 477 JEP 477. Problems with run gutters
- new java features are introduced (for main methods)
- `mainCandidateComparator` is moved to `PsiMethodUtil`
- `PsiMethodUtil.findMainMethod` can compare methods and not only return first
- ApplicationRunLineMarkerProvider works with `getSlowInfo` in dumb mode
- ApplicationRunLineMarkerProvider uses the same logic for classes and methods

GitOrigin-RevId: e2c20e8690ac032b52c7de742cdb39933ef1d1d3
2024-07-04 20:24:54 +00:00
Tagir Valeev
fcb2657b84 [java-execution] Extract createVmOptionsFragment
GitOrigin-RevId: db10826752af0b7d356305bb6ed07905573b1a7a
2024-07-03 12:47:15 +00:00
Gregory.Shrago
f4aa7a6275 migrate getData to uiDataSnapshot: build
GitOrigin-RevId: b2bff83dc79717f64f4f2afec013444a7146c70b
2024-07-01 17:55:51 +00:00
Gregory.Shrago
92047f763d migrate getData to uiDataSnapshot: java
GitOrigin-RevId: 6917901f5fe425ee883779c2fc1775960c2af540
2024-07-01 17:55:51 +00:00
Louis Vignier
2edee9ae1a [jdk] Ensure user consent before downloading a JDK
#IDEA-281903 Fixed

GitOrigin-RevId: 90d89df552ccb30c80b191e26ab188615198a92f
2024-06-22 21:42:51 +00:00
Tagir Valeev
3fd0f4975d Pattern variable can be used fixes; other warning fixes
GitOrigin-RevId: 4965216d1872b439970db33dbe2864d5aab9606e
2024-06-18 19:55:23 +00:00
Gregory.Shrago
a5c7b747ac hide explicit action updates in line marker tooltips
Also, pull up default `TooltipProvider` that supports `equals/hashCode`.

GitOrigin-RevId: d74769a1a608e61070f3c4eb09c611285450f6ea
2024-06-12 22:44:50 +00:00
Gregory.Shrago
b97f0eb75a cleanup some DataContext inheritors
GitOrigin-RevId: 00117fa0cd6ebea35596ac18791793f19222a58a
2024-06-04 23:28:22 +00:00
Konstantin Aleev
902797757d [java] IDEA-349661 application run configuration params: do not use environment as parent disposable
GitOrigin-RevId: ac4ff0c1ebc9bf962d4a30d8e81ca09756abb9b5
2024-05-22 18:10:18 +00:00
Mikhail Pyltsin
bcbb7c4f13 IJ-CR-133924 [java-test] EA-1144109 Fix IndexNotReadyException for other languages
- fix application run markers for groovy

GitOrigin-RevId: 95a3115bd69f56502f8a39d5d8280a64c204c7e8
2024-05-20 01:21:36 +00:00
Anna Kozlova
fd5ffab05e IJPL-797 intellij.platform.testRunner review internal API
GitOrigin-RevId: 290fe8b8df9d75add60b06bb7705beb227563920
2024-05-15 11:39:22 +00:00
Mikhail Pyltsin
8ce0f0f6eb [java-test] EA-1186044 Fix IndexOutOfBoundsException navigatable elements
GitOrigin-RevId: 2b266d3acfc0e44c638b097ccdd6f8ba373a2ed6
2024-05-09 13:02:22 +00:00
Mikhail Pyltsin
cf036b0070 [java-tests] IDEA-348322 Java: Add the ability to launch tests in Dumb mode
- allow reenter for callWithAlternateResolver

GitOrigin-RevId: cfee83a037227fe6c58b148a076a64af9b6ff007
2024-05-08 14:24:34 +00:00
Dmitry Batrak
881b370b95 RDCT-1092 Hotkeys are displayed incorrectly in popups on different OS
replace SystemInfo.isMac with ClientSystemInfo.isMac() in keyboard-shortcuts-related code

GitOrigin-RevId: 640604dff8e09d1aeccd0edc156873dd63c09fea
2024-04-22 19:16:22 +00:00
Tagir Valeev
db6e42365c [java] ExceptionLineParserImpl: move precise caret position computation to background
Fixes IDEA-325656 T: ExceptionLineParserImpl$ExceptionFinder.onLinkFollowed

GitOrigin-RevId: 22c845c2cc0d04da0fbdb6935ff514b1621d61ce
2024-04-22 12:55:36 +00:00
Tagir Valeev
c3d55c8599 Fix warnings
GitOrigin-RevId: e65cebeeff3ef889f432db92616fa8a8eb50f9d0
2024-04-18 10:40:24 +00:00
Dmitry Batrak
d2d4f6ab88 GTW-7495 Keymap settings in HTTPClient in devcontainer is incorrect
Use context-dependent Ctrl/Cmd+Enter shortcut to take into account the OS of the client process

GitOrigin-RevId: 1ec4df494b81c9c25972918a4f25a9e8d02688e9
2024-04-10 11:41:38 +00:00
Bart van Helvert
17e76c3f15 [platform] Add collector for measuring time spent in program runner
#IDEA-344147

GitOrigin-RevId: 5d00fee390ea8c129488c0f4fcbbb502b17ccbd7
2024-04-10 11:15:59 +00:00
Alexander Kuznetsov
31ad48be45 [profiler] IDEA-351210 IDEA-351205 combine two console decorators, deprecate RunConfigurationExtension.decorate
GitOrigin-RevId: 37ede5da55f0b04769489ea5fa6e0a9381a76ed6
2024-04-09 17:13:58 +00:00
Yuriy Artamonov
59597eb185 [platform] IJPL-938 Deprecate public utils in com.intellij.refactoring.suggested
Update usages

GitOrigin-RevId: d56e13ad1631e92d900ded8d89edbed7bf214c41
2024-03-29 22:09:46 +00:00
Mikhail Pyltsin
75f080da26 [java-tests] IDEA-348322 Java: Add the ability to launch tests in Dumb mode
Merge-request: IJ-MR-128894
Merged-by: Mikhail Pyltsin <Mikhail.Pyltsin@jetbrains.com>

GitOrigin-RevId: 68a6972f96f46855ecce100a84f85ef03d60e6e4
2024-03-29 16:31:09 +00:00
Alexander Kuznetsov
b365997b66 [profiler] IDEA-349516 performance charts in the Run toolwindow, under the registry key for now
GitOrigin-RevId: 073616ba6ba407ea38f96dc3ebdca54a6f75a611
2024-03-27 21:19:11 +00:00
Mikhail Pyltsin
f8cd0f252a [java-execution] IDEA-346887 Java: unable to run application in dumb mode from line marker
- don't override `isDumbAware`, use `implements DumbAware` instead

GitOrigin-RevId: 08d346abe53a51d3b2fdad3e3de458b3b40bd6b6
2024-03-25 16:07:39 +00:00
Mikhail Pyltsin
46d7f93b9b [java-run] IDEA-349848 Java: unable to run application in dumb mode from line marker. Don't update event manually
- delete updating actions

GitOrigin-RevId: 6f0d294c553623cd01b082852a16ddff3798534b
2024-03-22 20:36:03 +00:00
Mikhail Pyltsin
121e02006c [java-run] IDEA-349848 Java: unable to run application in dumb mode from line marker. Don't update event manually
- filter only RunContextAction

GitOrigin-RevId: 39a00ae4475109ef165220a84b79c90b78f9cf41
2024-03-22 20:35:58 +00:00
Mikhail Pyltsin
810cf08c4e [java-run] IDEA-349848 Java: unable to run application in dumb mode from line marker. Don't update event manually
- delete updating actions

GitOrigin-RevId: d06ea5911deb3eac0b5a5d6619e2e3e364a0b4a1
2024-03-22 13:55:12 +00:00
Mikhail Pyltsin
9178c1e4b6 [java-run] IDEA-349848 Java: unable to run application in dumb mode from line marker. Don't update event manually
- filter only RunContextAction

GitOrigin-RevId: 08f8420f964c9ae6b6c10586a5ef5e61b70deb35
2024-03-22 13:55:07 +00:00
Konstantin Aleev
9f9c9aa975 [java] EA-895396 application run configuration params: get main class in NBRA
GitOrigin-RevId: d0e4ecba8bd956268666d25676c8a3a87149562a
2024-03-12 23:04:15 +00:00
Mikhail Pyltsin
4385321f3d [java-execution] IDEA-346887 Java: unable to run application in dumb mode from line marker
GitOrigin-RevId: 0f7945c0e2ed9513dd4cb62aca453b52cc737d5e
2024-03-01 17:38:42 +00:00
Egor Ushakov
20a0c16bc5 removed some deprecated method usages
GitOrigin-RevId: 9681dcc7196548957e91ff8008b6908d87f12d29
2024-02-09 19:14:09 +00:00
Egor Ushakov
2c642be5aa EA-913617 - T: ToolWindowImpl.setIcon
GitOrigin-RevId: 269fce052529d1ce684b2f31f6f2445b46a6c35a
2024-02-08 09:59:23 +00:00
Vladimir Krivosheev
975adf1801 cleanup
GitOrigin-RevId: 0c0a2c7533698697e8b189e3f3a9deb84b22dab2
2024-02-07 17:03:33 +00:00
Alexey Kudravtsev
dff6fec7de conserve 1Mb: do not create empty ArrayLists (part of KTIJ-27475 Investigate Kotlin plugin excessive memory usage)
GitOrigin-RevId: f35afbdbe5563f77127b00b3adebe9a1c8907832
2024-02-06 22:38:04 +00:00
Julia Beliaeva
eabf122230 [ui] move setupPlaceholderVisibility to TextComponentEmptyText
GitOrigin-RevId: 5552c21702e670fe9c75fbc6292b6051139b60e2
2024-01-23 17:02:37 +00:00
Mikhail Pyltsin
70ecc55cab [java-java-highlighting] IDEA-343643 not show gutter for nested class in implicit class
GitOrigin-RevId: 5449d3539e2dfc7baf85d724a66e4cfbdefd3d76
2024-01-22 13:42:21 +00:00
Mikhail Mazurkevich
3ead6f3518 [classpath] IJPL-401 Turn off classpath.index by default
Before the caching was enabled in `UrlClassLoader` by default, and it led to problems in different areas (IJPL-401, IDEA-322782, IDEA-305759). So, just simple usage of `UrlClassLoader` without even being aware of this functionality can easily break something, e.g., Gradle project compilation. So, it was decided to turn it off by default and use it explicitly where it's needed.

GitOrigin-RevId: 3212f4b3767a1e05fcf240ce852de7a520ee0997
2024-01-19 15:06:52 +00:00
Konstantin Aleev
da0308f481 [platform] IDEA-342326 provide factory method for char tail type
- ensure that TailType class is loaded before CharTailType class if factory method is used

GitOrigin-RevId: ccfe8d4ae66c9ff6bd9ab0bef9367c4357db1759
2024-01-08 10:52:30 +00:00
Andrey Cherkasov
24adef8e2a Resolve warnings about 'protected' members in a 'final' classes
GitOrigin-RevId: 5d7c04b6371be1f2cc924a86614919ab6ee5b642
2023-12-14 17:36:45 +00:00
Mikhail Pyltsin
5cb1d206fe [java-execution] IDEA-339923 runnable and gutters for implicit classes
GitOrigin-RevId: 73795451d90cd498aea44d3db7420fdbfc809264
2023-12-14 11:18:41 +00:00
Andrey Cherkasov
019a6852f4 [java] Make extension classes final
GitOrigin-RevId: 1aae04982598568a111e8c78b9a71c9d2b4aa150
2023-12-13 20:02:09 +00:00
Konstantin Aleev
78028ce3b4 [java] IDEA-340478 run configuration: add tooltip for modify classpath setting
GitOrigin-RevId: 7a355e4fb51eb24935a9e8a154b525443c8c9a7d
2023-12-12 15:08:17 +00:00
Mikhail Pyltsin
b915353545 [java] IJ-CR-121727 IDEA-339871 Line numbers are likely diverged... tooltip is wrong
- reuse records for tests

GitOrigin-RevId: 8c98209b3c3ffcb96ba5ae6d060ee077eb18ac09
2023-12-11 18:46:54 +00:00
Mikhail Pyltsin
3f86cf9292 [java-highlighting] IDEA-339935 JEP 463
- rename unnamed classes to implicitly declared classes

GitOrigin-RevId: 2c6d7f16a1dc6d2371b8f8b5f5675246c9bc99f9
2023-12-11 15:49:28 +00:00
Mikhail Pyltsin
db877bcc3c [java] IJ-CR-121727 IDEA-339871 Line numbers are likely diverged... tooltip is wrong
- added mapping for VarHandler and MethodHandler

GitOrigin-RevId: 39ab705e27ee4f500875f41380ff534db7380e56
2023-12-08 18:56:09 +00:00
Bart van Helvert
297df6fec4 [uast] Migrate Test diff provider to use UInjectionHost
#KTIJ-27448

GitOrigin-RevId: 146ae01911cf2ec8ebf87d1a4d30b8279afb5249
2023-12-08 10:59:35 +00:00
Mikhail Pyltsin
da267402e5 [java] IDEA-339871 Line numbers are likely diverged... tooltip is wrong
- skip reflection packages

GitOrigin-RevId: 6850dcf8ff786cc2399eb864b1be96f3071381a7
2023-12-07 10:40:18 +00:00
Daniil Tsarev
d0c5c5e4a0 [quarkus] IDEA-338978 Provide Quarkus run configuration for '@QuarkusMain' classes
(cherry picked from commit 7501527e035c801643163dad2f1b0ad97c68b3a2)

IJ-CR-121192

GitOrigin-RevId: e622c52c0dc8696db0256cda179218b34b8dd345
2023-11-30 13:37:44 +00:00
Tagir Valeev
b69dfa6c47 [java] AlternativeSdkRootsProvider: rewrite to Java to avoid problems with companion object in extension
GitOrigin-RevId: a65caeeb2653e1e3ead63cc52bb11a5bcdf8759a
2023-11-08 19:40:52 +00:00