Commit Graph

59138 Commits

Author SHA1 Message Date
Alexey Kudravtsev
bba9f96b1f ensure the highlighting session is never disappear from the current progress indicator unexpectedly (which could be the case due to unstructured api)
GitOrigin-RevId: 134a26ba3607c67fdade41fb0230d5fad8aa3973
2024-07-29 13:25:39 +00:00
Maksim Zuev
dd4705d51f [debugger] IJPL-158332 Compile and reload only modified files during hot swap
GitOrigin-RevId: 6b7522904b2e796b1e75b745017da70eb9b74281
2024-07-29 11:21:53 +00:00
Maksim Zuev
bb43d09386 [debugger] IJPL-158332 Hot swap button in a floating toolbar when source changes are detected
GitOrigin-RevId: f9ac6cbaa0ebdb0d7893e3c644b650d4317aef86
2024-07-29 11:21:53 +00:00
Vladimir Krivosheev
6f3748266c IJPL-158348 JSRemoteModulesUsagesDetector - get rid of Disposable
GitOrigin-RevId: 05ea0150241ff1fee7b857d0cdcf95a580b37123
2024-07-27 17:40:38 +00:00
Mikhail Pyltsin
374345b1a9 IJ-CR-140943 [java-inspections] IDEA-356672 Support JEP 477. Incorrect intentions and actions with implicit imports
- use module scope
- fix formatting problem
- skip nested classes during checking conflicts for module imports

GitOrigin-RevId: 4fc7987c4d9e3c3f6cbda37181b4a7c808ee18c1
2024-07-26 18:23:16 +00:00
Georgii Ustinov
571ab91be6 [Java] Remove unused loggers
IDEA-356480

GitOrigin-RevId: 4cb1b4e70c1c2356071f58643ebb540253017b6c
2024-07-26 16:51:09 +00:00
Georgii Ustinov
c423c74bb9 [Java] Add toolbar and button for the scrolling until end in compilation charts
IDEA-356480

GitOrigin-RevId: 0a9f4a9e9eb44dc557286ce32faabd7f4d5b2f72
2024-07-26 16:51:08 +00:00
Georgii Ustinov
fb1a7b145a [Java] Repaint components immediately when apply any of the filters
IDEA-356484

GitOrigin-RevId: 8b58ac8ee2ce59e47b1ac6ae63d3de0393428bf7
2024-07-26 16:51:08 +00:00
Georgii Ustinov
5c3080b5d5 [Java] Improve adhesion to the right border for compilation charts
IDEA-356480

GitOrigin-RevId: 5ea82d24ca31e8bb3a185b27f5424728405497b0
2024-07-26 16:51:08 +00:00
Aleksey Dobrynin
bf4e754b12 [java, complete, import-module] Add support for the completion order of the "import module declarations"
GitOrigin-RevId: 395229f6e5ef536219e26fed01c9e6ee953e12e6
2024-07-26 15:50:54 +00:00
Bart van Helvert
cccd5c04a1 [java] Remove incorrect language annotation
GitOrigin-RevId: b6041d14c4924db1dc32dcf50fe5ead88feae023
2024-07-26 12:58:37 +00:00
Mikhail Pyltsin
67bca974ba IJ-CR-140944 [java-completion] IDEA-356673 Support JEP 477. Incorrect import insertion
- more tests
- getAllImplicitImports is moved to java-api

GitOrigin-RevId: cdce02674d2ac8271881f6f8f0a84d1f9ed93351
2024-07-26 12:44:48 +00:00
Mikhail Pyltsin
d186699847 [java-inspection] IDEA-355916 update implicit<->explicit classes inspections
- tests
- optimize imports
- ReplaceOnDemandImportIntention supports module imports

GitOrigin-RevId: 228135179fc26f44064dd196ae70326fd91fb3ee
2024-07-26 12:44:48 +00:00
Mikhail Pyltsin
7b0eaea1e9 [java-inspection] IDEA-356474 Support JEP 477: support implicitly imported modules in optimize imports
GitOrigin-RevId: d4fb59ccffbf0a51f97b1ba965f2d0d59834940e
2024-07-26 12:44:48 +00:00
Tagir Valeev
3521c7ac6c [java-inspections] EqualsWithItselfInspection: fix description (IDEA-355789)
GitOrigin-RevId: ce48c8a535717b2b433078f43909b2f28084d360
2024-07-26 11:03:19 +00:00
Tagir Valeev
1fe9c2e631 [java-intentions] Do not suggest to add a cast to new expression (except) upcast
Part of IDEA-356767

GitOrigin-RevId: e9f9e6c1a46ade85c14f20811444299e8aff0c17
2024-07-26 10:51:23 +00:00
Tagir Valeev
d2cf90784f A few contract annotations
GitOrigin-RevId: 6d57e7822db10e49c74cf5c7cf27a0d8d349e930
2024-07-26 10:51:23 +00:00
Anna Kozlova
ef6be658b3 [kotlin] find usages: override java's overload settings checkbox
^KTIJ-30769 fixed

GitOrigin-RevId: 18b8313243d98c465ee7157266fd9315ff4bcbc3
2024-07-26 08:34:11 +00:00
Vladimir Krivosheev
398ebce1d5 split content report
GitOrigin-RevId: ef449bdf4c5480a6ee3ce43b4af118c2c6e31219
2024-07-25 19:20:06 +00:00
Aleksey Dobrynin
013eb83aa8 [java, complete, import-module] Complete the name of the current module for Module Import Declarations IDEA-355531
GitOrigin-RevId: c3eb0b36ebb8b221d6484ee4fd26927c19571464
2024-07-25 17:30:26 +00:00
Maksim Zuev
3ad0ea6d85 [debugger] Add callback on value computation
* fix flaky test org.jetbrains.kotlin.idea.debugger.test.InlineScopesAndK1IdeK2CodeEvaluateExpressionTestGenerated.SingleBreakpoint.Coroutines.Uncategorized.testAccessClassPropertyInSuspendFunction

GitOrigin-RevId: 643f2b54ead68cda51676a4005fafae48cad755b
2024-07-25 17:11:16 +00:00
Georgii Ustinov
789e32da8f [Java] Change position in zooming of compilation charts only when viewport width is smaller than overall width
IDEA-356484

GitOrigin-RevId: 418c67811b6c89a0c7cd9811e431d05bd9a41119
2024-07-25 15:26:34 +00:00
Alexander Lobas
932f2d438e Swap icon path parameters: move expUI path to the first place
GitOrigin-RevId: 74cf09fb454c89b676be259cdd7437a81ac4c067
2024-07-25 15:12:07 +00:00
Georgii Ustinov
8ebc6783c7 [Java] Refactor drawing image
IDEA-356484

GitOrigin-RevId: 0d3cefd760c2d90ca17b570ed63b5b66ef996083
2024-07-25 15:07:09 +00:00
Georgii Ustinov
ff15063ad4 [Java] Basic performance improvement of the compilation chart during zooming
IDEA-356484

GitOrigin-RevId: ad130a0f227d89fd822be9fc64953a01b92bf0ad
2024-07-25 15:07:09 +00:00
Yann Cébron
2b2e1284f6 [java] CoreJavaDirectoryService: mute inspection (IDEA-356815)
GitOrigin-RevId: 49c4da7f27d705008e9d2120c7c05317af989a19
2024-07-25 14:41:14 +00:00
Alexey Kudravtsev
6a9966fdda get rid of all incrementality in todo highlighting because of the TODO API limitations; to fix IJPL-159012 todo coloring disappears by typing
GitOrigin-RevId: 3d4f0efb17d535806f759eb23f88494b79443e06
2024-07-25 14:00:01 +00:00
Mikhail Pyltsin
11f2d22415 [java-inspection] IDEA-356474 Support JEP 477: support implicitly imported modules in optimize imports
- added test
- the main logic was implemented in IDEA-356672

GitOrigin-RevId: cea8a71db91527ae175da2060c65423dec740b46
2024-07-25 09:33:08 +00:00
Mikhail Pyltsin
6d101f8467 [java-inspection] IDEA-356699 Support JEP 477. UnusedImportInspection doesn't support implicit imports and modules
GitOrigin-RevId: b3fbb9aea04067e704e3ef3dba9e16262e33b0c6
2024-07-25 09:33:08 +00:00
Mikhail Pyltsin
ee4964a9a9 [java] UnusedImportGlobalInspectionTest convert to string block
GitOrigin-RevId: cfa22e2d932d1dad579e907d2a7e018a8e277587
2024-07-25 09:33:08 +00:00
Mikhail Pyltsin
ded1094859 [java-completion] IDEA-356673 Support JEP 477. Incorrect import insertion
- support implicit imports for completions

GitOrigin-RevId: fa685959d367e0560f5d216ca850d50828cbd651
2024-07-25 09:33:08 +00:00
Mikhail Pyltsin
8f3e75e7db [java-inspections] IDEA-356672 Support JEP 477. Incorrect intentions and actions with implicit imports
- improve ImplicitImportChecker to support modules
- check conflict for modules
- new method `PsiImportModuleStatement.findImportedPackage` is added

GitOrigin-RevId: 0d0f61916bdda17b8c9d9146a13aa8d6d0876bb1
2024-07-25 09:33:07 +00:00
Vlad Koshkin
eee0379f5b [kotlin] k2: hiding kotlin script modules with registry flag
^KTIJ-30706 Fixed

GitOrigin-RevId: ad1a2ad3e7bc4bde7ce9fdc115d8b919cbba528d
2024-07-24 23:46:10 +00:00
Vladimir Krivosheev
caf660475b IJPL-158075 SingleEdtTaskScheduler as a safe and efficient solution for old UI code
we cannot create child scope as not all clients pass disposable and/or call `Alarm.dispose`

GitOrigin-RevId: 6513eff48043a5c8ced15c9b5449eaab2842a0af
2024-07-24 19:28:11 +00:00
Louis Vignier
25ad74d2fe [jdk] Use @return tag in kdoc
IJ-CR-140587

GitOrigin-RevId: 3b8f73569e7afbdbffdf80005da1c5be870d1232
2024-07-24 17:15:06 +00:00
Louis Vignier
89adeb005a [npw] Validate WSL compatibility with detected JDKs
#IDEA-356638 Fixed

GitOrigin-RevId: 8dc688e80b53f6d234ef1d1dfb76a2d250110b6b
2024-07-24 17:15:06 +00:00
Aleksey Dobrynin
9f9f6e0527 [java, complete, import-module] Complete module names for Module Import Declarations IDEA-355531
GitOrigin-RevId: 6cf4de84d101370d001fee581474fcd687a5ecc3
2024-07-23 22:25:57 +00:00
Georgii Ustinov
9be8046a23 [Java] Replace adhesion from horizontal scroll bar to viewport
IDEA-356480

GitOrigin-RevId: af5b29adde12a31360424c08ae4dca32b508e244
2024-07-23 19:18:13 +00:00
Georgii Ustinov
c6568b6da8 [Java] Refresh UI of compilation charts one time per second
IDEA-356484

GitOrigin-RevId: 98927225d8adb528530f51397c40f08faea96e50
2024-07-23 19:18:13 +00:00
Alexandr Trushev
291a54cc98 IJPL-158885 Migrate highlighting grave to Necromancer API
GitOrigin-RevId: ced652528104a7f7d8a0fd8a354b8f2eb712433e
2024-07-23 19:03:05 +00:00
Alexey Merkulov
c67a833362 [debugger] Improve attachment naming for debugger problems
GitOrigin-RevId: bafecf8783221d0663e28b9f29335b99ffed8214
2024-07-23 18:43:42 +00:00
Nikita Kudrin
cdf91bf213 [benchmarks] Renaming PerformanceTest* => Benchmark*
GitOrigin-RevId: 9963b84d51e1062acc262a8d3d3de1409a708e3b
2024-07-23 18:20:01 +00:00
Alexey Kudravtsev
65d4f96daa make JobLauncher work even with low cpu count, (e.g. on teamcity agent to be able to run testHighlightVisitorsMustRunIndependentlyAndInParallel()), better compensate for blocking thread waiting for ApplierCompleter
GitOrigin-RevId: 10aef9dab739b0d74c6ab9901ee2f9053a1a9dc4
2024-07-23 16:27:31 +00:00
Aleksey Dobrynin
e927f5ac3e [java, highlighting, import-module] Support Feature level check for Module Import Declarations IDEA-355536
GitOrigin-RevId: 36dcbb509e788a3243f93a52c83cd24ae0dd6985
2024-07-23 16:19:59 +00:00
Alexey Kudravtsev
fd52528d9a fixes to restore ability to cherry-pick to 242
GitOrigin-RevId: a8caf4d3c0cebf250b75c0de61f6bf06437aec53
2024-07-23 13:26:54 +00:00
Dmitry Krasilschikov
668830abec IJPL-158158 Get rid of project usage in UsageContextPanel: backward compatibility and avoiding project leaking
GitOrigin-RevId: 7b552990f678655f35daaa295e40762837127c89
2024-07-23 13:16:22 +00:00
Vladimir Krivosheev
ea9220c042 IJPL-158881 ability to use coroutine scope instead of disposable
GitOrigin-RevId: 1e7957219dc80de4a80881a5cfc4a7f389b5309a
2024-07-23 08:41:39 +00:00
Anna Kozlova
daca89d7a0 [kotlin] k2: port generate equals & hash code
- add pluggable velocity templates

^KTIJ-23439 fixed
^KTIJ-14628 fixed

GitOrigin-RevId: 2f80b96d87572222e57e4c2d99651c9f61a582ba
2024-07-22 22:19:56 +00:00
Mikhail Pyltsin
605a95ac5b IJ-CR-140269 [java] M IDEA-355777 Support implicit imports
- rework caches

GitOrigin-RevId: ff25dc49ab394bacd84af5565a3bfd4b120dd08e
2024-07-22 21:10:32 +00:00
Nikolay Chashnikov
14c1c5ec10 [jps build] use relative paths when loading the workspace model from cache if and only if IDE uses relative paths (IJPL-157801)
StorageSerializerUtil.getVirtualFileUrlSerializer stores VirtualFileUrl instance in completely different format if 'ide.workspace.model.store.relative.paths.in.cache' registry option is enabled. Deserialization in the build process must use the same format as the IDE, so now value of this registry options is passed as 'ide.workspace.model.store.relative.paths.in.cache' system property to the JPS build process and used there to switch relativization on or off.

GitOrigin-RevId: a87b7f4f1a2c073a8d1fdaaa72a38b5dc11d0e01
2024-07-22 18:59:54 +00:00