Commit Graph

306 Commits

Author SHA1 Message Date
Alexey Merkulov
79a9ffd7b8 [debugger] Add additional consistency diagnostic
GitOrigin-RevId: aa20b976a7913b2e89b6f5f9d6bcc21047d66688
2024-05-29 15:30:56 +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
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
Tagir Valeev
66f7ffa8d9 [java-execution] Reduce field access to avoid spurious concurrency bug EA-1001921
GitOrigin-RevId: cdf0a4311c4cbb9965c8e8fa48c492f1e57cde5a
2024-02-06 21:34:47 +00:00
Andrey Cherkasov
019a6852f4 [java] Make extension classes final
GitOrigin-RevId: 1aae04982598568a111e8c78b9a71c9d2b4aa150
2023-12-13 20:02:09 +00:00
Mikhail Pyltsin
77c14bfaa5 [java-console] IDEA-315142 support stacktrace logs with class loader
GitOrigin-RevId: 2ee1950759d90c754f25c03c5cd6e2f44f1339a4
2023-12-13 14:39:01 +00:00
Konstantin Nisht
d32141e78d [platform] IJPL-49: Improve i18n handling
GitOrigin-RevId: 0b53b757a30f7bffdc730a2536e7ee06951e1f4d
2023-09-17 22:58:03 +00:00
Nikolay Chashnikov
1042c5a0a2 cleanup: remove author from TODO comments and remove some obsolete and unclear TODOs
Mentioning an author of a comment makes little sense since it can be easily found by 'Annotate' action. Also, it may give a false impression that only the author may address the problem described in the comment.

GitOrigin-RevId: 2aa52762b109f0d2f1a6ec6f7bf53f24b39c0997
2023-09-06 11:11:13 +00:00
Kirill Likhodedov
59860d5bf6 Support Linchek stack traces: IDEA-324320
The Linchek tool mentions so-called events before `at` word, which indicate which method was called with which parameter.

The normal exception parser doesn't work here, because the method call matches the `(<digit>)` pattern, and it confuses the exception parser which thinks that it is the left-most appearance of a file with line. To avoid this, we specifically search for the `(<digit>)` after the "at" word.

GitOrigin-RevId: cbc7c2523fceaa30d819d1a6c982c99dd3c0c5fb
2023-07-25 14:30:57 +00:00
Kirill Likhodedov
e2b6e09dba refactor: simplify the algorythm which parses the exception line searching for the closing bracket
Searching for the leftmost pattern seems to be more logical from the start of the string, rather than from the end.

GitOrigin-RevId: 3e9330957d34930add0e827526c1dd202de6036f
2023-07-25 14:30:52 +00:00
Konstantin Nisht
862d574b1b [headless] Refactor environment key usage in project files
Changed the method `getKnownKeys()` to property `knownKeys` in EnvironmentKeyProvider interface and all of its usages in the project. This change is part of a larger refactoring to simplify the interface and make its usage more idiomatic in Kotlin.

GitOrigin-RevId: 351a4f1bc28a34d79c40abae06a35d42365fbf70
2023-07-10 18:06:02 +00:00
Mikhail Pyltsin
382ce6ea51 IJ-CR-104984 [java] IDEA-314850 Guess the location in the stacktrace when the line numbers are not available
GitOrigin-RevId: 4efea8ef42d6c2ea431932a43d154e6a9864d980
2023-04-02 20:43:53 +00:00
Konstantin Nisht
b60b0c9bd0 [platform] IJPL-49: Redesign API
GitOrigin-RevId: 852c5725a7fccad3d4630141307e05976c902e50
2023-03-30 22:25:03 +00:00
Konstantin Nisht
b8ef3d50aa [platform] IJPL-49: Improve API
GitOrigin-RevId: f71d0c16118a030166f102e9a8e0fb4e33930b68
2023-03-30 16:16:35 +00:00
Konstantin Nisht
6c9df80c18 [platform] Rename interfaces according to review
GitOrigin-RevId: 62a6a50bd59f6190a6aa2a914b460033d87b28ce
2023-03-30 16:16:26 +00:00
Konstantin Nisht
888ec800fe [java] Allow configuring JDK in headless mode via environment keys
GitOrigin-RevId: 840189fbdc0e4f3f1e38491899ece8cadb6fb8da
2023-03-30 16:16:25 +00:00
Mikhail Pyltsin
ccb016ebcd IJ-CR-104984 [java] IDEA-314850 Improve refiner for several lines
GitOrigin-RevId: 9a3c79af7941c3aea776d234a741c8e8c2eb9879
2023-03-29 14:11:34 +00:00
Mikhail Pyltsin
a089626747 IJ-CR-104984 [java] IDEA-314850 Guess the location in the stacktrace when the line numbers are not available
GitOrigin-RevId: 17856385822e1e51f9634655ccd2dbc0c37f2dc4
2023-03-27 19:23:54 +00:00
Micah Jo
8704b06fda [java] Add support for hiding application run line marker
closes https://github.com/JetBrains/intellij-community/pull/2334
#IDEA-313606 Fixed

GitOrigin-RevId: 008f88dabc0ae34536cbd66d524043b44a5ef12c
2023-03-07 11:52:27 +00:00
Tagir Valeev
e9832acb26 [java] Use pattern variables; other minor cleanup
GitOrigin-RevId: e2345bd54d92f6676c6fbc55955e85cbdc5c2793
2023-02-01 17:09:26 +00:00
Tagir Valeev
16b1a401f6 [java-completion] VmOptionsCompletionContributor: fix alternative JDK processing
GitOrigin-RevId: ff6f7559ac1310472fbf432157c9512a43d751b2
2023-01-31 21:58:00 +00:00
Nikolay Chashnikov
471c43843e [java] fix comparison of JDK from different vendors in Run Configuration (IDEA-310873)
Version strings include JDK's vendor, so a special comparator must be used for them.

GitOrigin-RevId: b203e87a4ea76bd8ea49ce4beb1f1b4f06220bf7
2023-01-27 16:20:01 +00:00
Nikolay Chashnikov
8ce3039acf cleanup: get rid of usages of deprecated constants from PsiType (IDEA-309438)
GitOrigin-RevId: 3373eb8b47af51b9f6dd71e565f773d69e8a3218
2023-01-26 16:11:57 +00:00
Nikolay Chashnikov
1178f48134 cleanup: remove redundant '@author' tags from javadoc comments - 14
Now we have Code Vision hints which determine the author via Git history and show it in the editor automatically, and this information is more accurate than the tags which were automatically added when files were created.

GitOrigin-RevId: e0f2d6f1a9e6446397171170b4cf60d03a26b12c
2023-01-18 17:02:10 +00:00
Daniil Ovchinnikov
578eaaf60e rename library kotlin-stdlib-jdk8 -> kotlin-stdlib
GitOrigin-RevId: cddf45ccfd5563d3fe209bea62a1c37c94f44ff9
2023-01-10 12:22:34 +00:00
Tagir Valeev
0e6d14fe3d [vcs] Migrate VcsContentAnnotationExceptionFilter to UAST
Fixes IDEA-308074 Improve Analyze Stack Trace feature, analyze the whole method, not just a line

GitOrigin-RevId: 66574e723a9b015ea8b2f8198994bc0585fd9dd4
2022-12-21 14:01:35 +00:00
Tagir Valeev
15b23c536a Fix constant value and some other warnings
GitOrigin-RevId: 8c9ffeab46602a73270451ae97bd25a47a2076e4
2022-12-01 17:34:54 +00:00
Nikolay Chashnikov
e7195f6214 cleanup: remove '@author peter' tags from javadoc comments
Now we have Code Vision hints which determine the author via Git history and show it in the editor automatically, and this information is more accurate than the tags which were automatically added when files were created.

GitOrigin-RevId: 99ea11604b3d5dfdf838d7f3685477814e642ceb
2022-10-13 14:39:10 +00:00
Tagir Valeev
68d244216b Enhanced switch used
GitOrigin-RevId: 27858757000794d205b739ab455792db3ccaab1a
2022-09-15 17:12:16 +00:00
Vladimir Krivosheev
cb6297d3d6 extract NamedColorUtil
GitOrigin-RevId: 9ed3b12688ad37e254f1e17a25b3f11ffeebd18e
2022-09-13 19:59:48 +00:00
Nikolay Chashnikov
07946fb1dd [java] cleanup: remove unused deprecated API (IDEA-295370)
GitOrigin-RevId: c8370b89546b74bf94c6c6d249d7cdd34233c7a4
2022-09-06 12:45:03 +00:00
Nikolay Chashnikov
8d62e6dbc8 [project model] replace OrderRootsEnumerator::usingCustomRootProvider by a more specific usingCustomSdkRootProvider
Actually, the original method was used to replace roots of SDKs only, so it makes sense to express this in the method signature. Also, this allows callers to get rid of deprecated 'OrderEntry::getFiles' calls.

GitOrigin-RevId: 0f7c22c15dfbbdb57bd3221b7e2a78bb58269456
2022-08-22 12:55:17 +00:00
Tagir Valeev
9038e3f77b Remove empty and irrelevant javadoc tags
GitOrigin-RevId: dcbbb8cff7ef267525129c464769f761d92c2120
2022-08-09 09:41:49 +00:00
Anna Kozlova
496550484c [execution] EA-455644 - AE: JavaRunConfigurationModule.findClass
e.g. in empty project default package doesn't exist

GitOrigin-RevId: eafcc8fc32c4e6e688270ffcf886db722d2c7744
2022-07-08 14:04:19 +00:00
Alexey Kudravtsev
ca680aa4d2 fix signatures: add correct wildcards
GitOrigin-RevId: 483d4ae0f0fdca915b666013e145062e2de1ea14
2022-06-05 17:14:38 +00:00
Valery Teplyakov
7c23782c40 [fleet] Terminal markup tests. Fix markup small issues
GitOrigin-RevId: 6e436904e94f392c4ab35a0cd31f9c9d3ad067e1
2022-05-04 00:48:08 +00:00
Alexey Kudravtsev
bec3569a9d cleanup
GitOrigin-RevId: fe295dad4f2b4f18ddcafe6e67858ba6b1d555c7
2022-03-17 12:45:44 +00:00
Valery Teplyakov
61e89e3e8a [fleet] API for terminal output markup
Java, Kotlin stacktrace markup processors

GitOrigin-RevId: 50825a6604b0608bc0b446e53eb9c12f6d713181
2022-03-17 09:21:57 +00:00
Nikolay Chashnikov
3de1d05eec [API] mark for removal API which was deprecated in 2021.2 or earlier and has few usages only (IDEA-281036)
GitOrigin-RevId: 6f1cdecf02dae3ab19351a4fa4e895f98265ea0a
2022-02-17 22:44:08 +00:00
Nikolay Chashnikov
abc373560d [API] replace ApiStatus.ScheduledForRemoval annotation by 'forRemoval' attribute (IDEA-288466)
Since we don't want to specify planned removal date anymore, there is no need to use a separate annotation.

GitOrigin-RevId: a047c55475e0f4752a2842577e094fb041c6c05b
2022-02-11 15:12:14 +00:00
Anna Kozlova
216eb3d5c4 [kotlin] [junit] correctly validate class names with spaces (KTIJ-20123, KTIJ-8611)
GitOrigin-RevId: ac2b2f4fa890d47c19e902e54b4bea0a1354897a
2021-12-20 08:23:01 +00:00
Alexey Kudravtsev
339f7863b3 use notnull values when dealing with concurrent/weak/soft maps
GitOrigin-RevId: 4488d6f79f37c60795dc82995ff94bf4a34b4363
2021-11-10 12:58:35 +00:00
Alexey Kudravtsev
4adf3ac396 cleanup: remove unnecessary, wrong or confusing @SuppressWarning("unused")
GitOrigin-RevId: 597bab6088fe9ccdc9a46f1af59490eccf644a6b
2021-09-22 14:22:37 +00:00
Nikolay Chashnikov
a90508fbca [java] API cleanup: remove deprecated API (IDEA-271555)
GitOrigin-RevId: 78ca994b689a03aba22eee5e05385bc726e03e85
2021-09-10 18:08:28 +00:00
Tagir Valeev
a54198136b [java] Document JUnitPatcher
GitOrigin-RevId: ed298c52da74b2c698c562be920488011c4f8ac7
2021-09-03 06:18:43 +00:00
Tagir Valeev
1fdaca5104 [java] Document ExceptionFilterFactory
GitOrigin-RevId: 53bfa4199c86faeaf22482a1b5e1f34e479b360c
2021-09-03 03:15:44 +00:00
Tagir Valeev
986c0ed4d3 [java] VcsContentAnnotationExceptionFilter: read PsiFile under read-lock
Fixes EA-330486 - T: SharedImplUtil.findFileElement

GitOrigin-RevId: f7a81d95e7786d9430a4380801614866b7e85937
2021-08-16 04:21:07 +00:00
Tagir Valeev
bb9f7c9bb7 [java] Exception position refining logic moved to impl module
GitOrigin-RevId: d7e5d2aaa09f0c0276ae47f83d9c5c12f8fb7be5
2021-06-30 06:48:56 +00:00
Tagir Valeev
66ca544767 [java] ExceptionWorker and dependencies moved to execution (close to ExceptionFilter)
GitOrigin-RevId: 2cdcc7464aa969c83427b33fa1be46dfbbb130c1
2021-06-30 05:42:42 +00:00
Anna Kozlova
b46c52328f [execution] start patchers in bg for debugger runner as well
GitOrigin-RevId: 3d69f5c5992c83691da2a3e83f3bdb79103a90df
2021-06-16 16:46:10 +00:00