191 Commits
Author SHA1 Message Date
Leonid Shalupovandintellij-monorepo-bot 188b7ef96f IJI-3282 Optimize imports
GitOrigin-RevId: 3b5c00d8ff20b8d0bb6005bc450921085d2da9b2
2026-01-31 17:03:42 +00:00
Mikhail Pyltsinandintellij-monorepo-bot 6c3ad84680 [java-frontend] IDEA-366600 Get rid of additional "Java for JetBrains Client" plugin
- java backend

GitOrigin-RevId: fce68683d12e29cf35b179f848704dbe074f4d76
2026-01-15 16:28:43 +00:00
Mikhail Filippovandintellij-monorepo-bot ea41f7932a [build] IJI-2993 enable progressive mode for Kotlin
GitOrigin-RevId: f506021c20fc3b3e5ef692c9092592e3bf247036
2026-01-14 11:00:39 +00:00
Ilia Kirianovskiiandintellij-monorepo-bot 14751febab IJI-3414 Bazel: support show bytecode in delegating compilation to Bazel
GitOrigin-RevId: 5ac35e3992ef600f1d6fd5b54f996d581a6661cc
2025-12-25 21:33:56 +00:00
Mikhail Filippovandintellij-monorepo-bot 7744eca84a [build] IJPL-220367 bump Kotlin language and API versions
GitOrigin-RevId: c58c2f2ca3e4fbbe5116bd19119345174b7db32f
2025-12-20 13:35:48 +00:00
Bartek Paciaandintellij-monorepo-bot c68ea65ce3 test [ByteCodeViewer] IJ-CR-186051: replace 'lazy {}' with simple getters
GitOrigin-RevId: 7ea6cbdf25d1121c5444550643526570e4114148
2025-12-17 17:38:22 +00:00
Dmitry Zhuravlevandintellij-monorepo-bot 29219263e9 test [ByteCodeViewer]: use proper community path for resolving test data
GitOrigin-RevId: c543a7f4a80d5742b6a926f5f6b06f7909d6a114
2025-12-16 13:04:54 +00:00
Dmitry Zhuravlevandintellij-monorepo-bot 2a72453681 test [ByteCodeViewer]: prevent static fixtures initialization
E.g., LeakHunter may initialize such static fields and fail another test.

Follow-up: 1b44b118d470ace068774d9714eafc2704119e86

GitOrigin-RevId: af3af1e70db95c294c0dfedcba0c166eeb58da9a
2025-12-16 13:04:54 +00:00
Bartek Paciaandintellij-monorepo-bot 8af6cec884 [ByteCodeViewer] IDEA-382583 fix "Sync with Editor" working only for Java source files
GitOrigin-RevId: 4cd76a8c06552853e66b5cbc6b2cee816455de94
2025-11-26 17:50:40 +00:00
Bartek Paciaandintellij-monorepo-bot 0ed05175fe [openapi] clean up CompilerPaths: add some nullability annotations
GitOrigin-RevId: fc0fce165afe9019050c54d6e2d665b2eca43f5e
2025-11-03 12:07:21 +00:00
Bartek Paciaandintellij-monorepo-bot b1799dcc24 [ByteCodeViewer] IDEA-375559 make Bytecode Viewer work for Kotlin and Groovy sources
Probably it works for Scala sources too, but I didn't have any sample Scala project at hand
(and have never written a line of Scala).

Previously, the Bytecode Viewer didn't work if triggered for Kotlin, Groovy, or Scala source file
(though it worked if it was invoked on a .class file generated from their sources).

This potentially obsoletes the Kotlin's completely separate implementation of a bytecode viewer,
accessible through the "Show Kotlin Bytecode" action.

Kudos to Nikita Skvortsov for telling me about the CompilerPaths#getOutputPaths method!

GitOrigin-RevId: 365fe2305c04536055f616f8d165a325f14ece8b
2025-11-01 05:29:28 +00:00
Bartek Paciaandintellij-monorepo-bot 2c400d0ae2 [ByteCodeViewer] cleanup: fix small typo
GitOrigin-RevId: efc9d49e6097bc826ceb78ef9e818d4ab976bc68
2025-11-01 00:55:23 +00:00
Bartek Paciaandintellij-monorepo-bot ec93e9e898 [ByteCodeViewer] minor cleanup in ByteCodeViewerManager
GitOrigin-RevId: 646fb15fc7e292b366d7f439d008df6b4540eb89
2025-10-23 15:36:43 +00:00
Bartek Paciaandintellij-monorepo-bot b4238345e4 [ByteCodeViewer] ByteCodeViewerManager.findClassFile: minor refactor
GitOrigin-RevId: 97dc25e7b572a7ca251d4b4576fa4ec644dae813
2025-10-22 01:48:05 +00:00
Vladimir Krivosheevandintellij-monorepo-bot 0272d6a0c7 IJ-MR-175479 IJ-CR-146078 IJPL-209476 miglayout-swing, mvstore, proxy-vole, rhino, winp
GitOrigin-RevId: 18f6ef6f31cc80b26bca98a7ab025e2ade284102
2025-10-06 16:34:02 +00:00
Ilia Kirianovskiiandintellij-monorepo-bot f43aa95086 [bazel] Update build files (IJI-3062)
GitOrigin-RevId: 98a67396a48bddc3d084cc93c50ae2f2017bfe8c
2025-09-29 00:11:15 +00:00
Ilia Kirianovskiiandintellij-monorepo-bot 6f8920da99 [bazel] Update build files (IJI-3062)
GitOrigin-RevId: 2394c1289e33945f7640f249b17cbf34b31fd695
2025-09-23 09:25:59 +00:00
Nikolay Chashnikovandintellij-monorepo-bot 4f63150cff [intellij project configuration] change JVM target level from 17 to 21 in Kotlin facets (IJPL-176259)
GitOrigin-RevId: d518be3562a359b9d4034c2972d7c8444741b7f0
2025-08-30 07:50:09 +00:00
Krystian Gajewskiandintellij-monorepo-bot 63486e1268 add bytecode viewer api for finding class files
Merge-request: IJ-MR-173547
Merged-by: Krystian Gajewski <krystiang2015@gmail.com>

GitOrigin-RevId: 7f8f2f5b7184432f419306c0fd159611f1b84c8c
2025-08-26 10:39:05 +00:00
Aleksei.Cherepanovandintellij-monorepo-bot c7515bfd3a KTIJ-35250 [Bazel] Promote "Missing dependency superclass" warning to error (part 2)
This commit enables check only for modules WITH a Kotlin facet
Bazel generator was updated as well

GitOrigin-RevId: 90a3427d4b5a3ebc29e257693cb3748ac09bfc6a
2025-08-24 18:49:00 +00:00
Ilia Kirianovskiiandintellij-monorepo-bot dc268560b6 [bazel] Update build files (IJI-2835)
GitOrigin-RevId: 275260ab73f59d3c08f0b4cb9f4c89b74054094a
2025-08-20 08:49:22 +00:00
Mikhail Filippovandintellij-monorepo-bot 0e1e215c2c update bazel files
GitOrigin-RevId: 00c5dbade7ac3b8416f30d5527e4c83b35902ce5
2025-07-26 22:51:48 +00:00
Leonid Shalupovandintellij-monorepo-bot cff76ea65e bazel: split test and build sections in convert jps to bazel:L update Bazel files
GitOrigin-RevId: 90063178de33c2a95bfdebd160a721d6977d8097
2025-07-18 16:18:47 +00:00
Yuriy Artamonovandintellij-monorepo-bot bd52f25abb [java] IJPL-155949 Allow update for JVM bundled plugins
GitOrigin-RevId: 35cb6f236497f84da0234bbe808701316582fe72
2025-07-17 13:40:05 +00:00
Bartek Paciaandintellij-monorepo-bot e57e2f1d29 [ByteCodeViewer] IDEA-375406 Add plugin icon
GitOrigin-RevId: cca35e15e97541a6782be4430c5c723af7bb484e
2025-07-15 12:59:39 +00:00
Bartek Paciaandintellij-monorepo-bot f4fde2a91a [ByteCodeViewer] IDEA-375621 Enable Kotlin "explicit API mode"
GitOrigin-RevId: 4699d8a32823b9a5e94031f4be8a8dd8f0bdc092
2025-07-08 22:39:04 +00:00
Bartek Paciaandintellij-monorepo-bot 3eecfc24b7 [ByteCodeViewer] IDEA-375222 Update tab names when the setting is turned off
Previously, if the setting was on, and we created some tabs, and then we turned the setting off, the existing tabs' names were not updated.

Now they are updated.

GitOrigin-RevId: a7c4c0ff6e9aa49fc26791e7738ae34b56b0c3fd
2025-07-07 14:29:05 +00:00
Bartek Paciaandintellij-monorepo-bot ef6336ec8b [ByteCodeViewer] IDEA-375560 Fix showing bytecode for a class file that was built from a non-Java source
GitOrigin-RevId: d8d46bb0e905bd29a8c2bb24f9c448819b47fefb
2025-07-07 14:29:05 +00:00
Bartek Paciaandintellij-monorepo-bot 12c8510643 [ByteCodeViewer] change some service classes' visibility to internal
GitOrigin-RevId: bc3ffb2571821de7442b1beebe4a62629c205016
2025-07-05 23:41:33 +00:00
Bartek Paciaandintellij-monorepo-bot a42b2c1df1 [ByteCodeViewer] reformat and optimize imports
GitOrigin-RevId: aff3cbd742fae99cb127a607125efb96d00d4769
2025-07-05 23:41:33 +00:00
Bartek Paciaandintellij-monorepo-bot e185bf7e97 [ByteCodeViewer] Remove outdated Javadoc
Also remove an unused import.

GitOrigin-RevId: f5585743e1174f937c31cf362fa2b6da4a58103c
2025-07-03 11:21:21 +00:00
Bartek Paciaandintellij-monorepo-bot 6304c351f6 [ByteCodeViewer] IDEA-375353 Synchronize the class file being shown with the source file open in the main editor
This is optional, the user can toggle/untoggle this behavior.

GitOrigin-RevId: 6e7b8420db67b6b2fd6b36426e6f2a1478fee5bd
2025-07-02 22:38:29 +00:00
Bartek Paciaandintellij-monorepo-bot c98c8991d4 [ByteCodeViewer] IDEA-375345 Always display the latest version of the class file
Also: close the tab inside bytecode viewer tool window if the class file is deleted.

GitOrigin-RevId: ea1ef4e7159800ca8437b07f1d538549499b06b7
2025-07-02 22:38:29 +00:00
Bartek Paciaandintellij-monorepo-bot 21de45b3d1 [ByteCodeViewer] IDEA-375222 React to changes of app-wide setting "Show directory for non-unique file names"
GitOrigin-RevId: 08251286b53afcff78ba5663846bc6d5af5eab3c
2025-07-02 22:38:29 +00:00
Bartek Paciaandintellij-monorepo-bot 0f551270ac [ByteCodeViewer] IDEA-375222 Fully match the "tab name deduplication behavior" of the main editor
Previously, the behavior was mostly correct but there were edge cases, for example if 'Show Bytecode' action was triggered for the following files which were open in the main editor:
- classes/java/org/example/Main.java
- classes/java/main/simple1/Main.java
- classes/java/main/simple1/Main.java

Then the titles of tabs in the main editor were (correct):
- example/Main.java
- simple1/Main.java
- simple2/Main.java

But the titles of tabs in the bytecode viewer tool window were (wrong):
- org/example/Main.class
- simple1/Main.class
- simple2/Main.class

But after this commit, the names of tabs in the bytecode viewer tool window are (correct):
- example/Main.class
- simple1/Main.class
- simple2/Main.class

GitOrigin-RevId: 2c903dab6fccdf08ded1f09119d46307b587d59e
2025-07-02 16:12:27 +00:00
Bartek Paciaandintellij-monorepo-bot d61e2115c7 [ByteCodeViewer] Focus the bytecode tool window after the 'Show Bytecode' action is called
GitOrigin-RevId: 305c6b97d6201218079dca3c1af667ead944a5ec
2025-07-02 16:12:27 +00:00
Bartek Paciaandintellij-monorepo-bot 016f729df4 [ByteCodeViewer] IDEA-375222 Respect app-wide setting "Show directory for non-unique file names"
GitOrigin-RevId: 335b0c5ef30ef2e7795ab43fac4411e2825b04c0
2025-07-01 20:02:05 +00:00
Bartek Paciaandintellij-monorepo-bot c5ac9f7c77 [ByteCodeViewer] Remove a few occurrences of redundant generic type specification
GitOrigin-RevId: 5f9d545e5da1518705b177e1d7a78b524503ef15
2025-07-01 20:02:05 +00:00
Bartek Paciaandintellij-monorepo-bot 0b01dc7106 [ByteCodeViewer] IDEA-375222 Update tab name when tabs are closed
Current problems:
- does not respect the application-wide "Show directory for non-unique file names" setting

GitOrigin-RevId: 8b68558206017503fad07a55f0e3505ba3f73da9
2025-06-30 19:59:55 +00:00
Bartek Paciaandintellij-monorepo-bot 79a1401a08 [ByteCodeViewer] IDEA-375222 Always show directory for non-unique file names
Current problems:
- does not respect the application-wide "Show directory for non-unique file names" setting
- does not update tab names when tabs are closed

see also: #IJ-CR-166669

GitOrigin-RevId: 971f29a075fd3262cc0272cc4221aa38128e1991
2025-06-30 16:50:07 +00:00
Bartek Paciaandintellij-monorepo-bot df2d398f21 [ByteCodeViewer] Show a warning notification instead of a tool window when bytecode is missing
#IJ-CR-166669

GitOrigin-RevId: aaa1b40fd0596f286942181743a7fc10e8bac083
2025-06-30 16:50:07 +00:00
Bartek Paciaandintellij-monorepo-bot 3258827c2c [ByteCodeViewer] IDEA-374999 Replace usage of deprecated runWriteAction()
GitOrigin-RevId: 7847d32826f5e0def9543171390378a2919a22f7
2025-06-25 15:02:51 +00:00
Bartek Paciaandintellij-monorepo-bot cfe9374ae0 [ByteCodeViewer] update ISE error message
Mentioned in #IJ-CR-166669

GitOrigin-RevId: a10984dd54e0bb8e15c0a68da0c3c9c293438e59
2025-06-25 13:28:59 +00:00
Bartek Paciaandintellij-monorepo-bot 02764eecc0 [ByteCodeViewer] Fix typo in getSelectinFromSource method name
GitOrigin-RevId: a28691746db891795e729d7aca0dbdca147764ef
2025-06-25 13:04:39 +00:00
Bartek Paciaandintellij-monorepo-bot fb74182f73 [ByteCodeViewer] Remove outdated FIXME comments
GitOrigin-RevId: 78ce1360e37c917362c9374fd196ee8508cbb7c9
2025-06-25 12:58:05 +00:00
Bartek Paciaandintellij-monorepo-bot 73af7f89bd [ByteCodeViewer] IDEA-373600 Fix source<->bytecode matching being off by one when debug info is shown
GitOrigin-RevId: 57d6587afdbb97d966cf2c5460ccbc7f793fd0e4
2025-06-25 08:44:04 +00:00
Bartek Paciaandintellij-monorepo-bot ca5906a4f7 [ByteCodeViewer] Improve and simplify testing
Make all tests have two variants: with and without debug info.

Also, move bytecode fixtures out of BytecodeLineMappingTest because it adds too much noise there.
Move it to the newly created testData directory instead.

GitOrigin-RevId: 1b44b118d470ace068774d9714eafc2704119e86
2025-06-25 08:44:04 +00:00
Bartek Paciaandintellij-monorepo-bot 57a3f359e8 [ByteCodeViewer] IDEA-373600 Disable source<->bytecode line matching when there are multiple carets
Also reacts properly to carets being added and removed.

GitOrigin-RevId: 1ba44e0b8e25c67687a93d4f5074d32e9c91a6e6
2025-06-24 14:31:57 +00:00
Bartek Paciaandintellij-monorepo-bot 0a2768996e [ByteCodeViewer] IDEA-373600 Fix source<->bytecode line mapping if 'Show Debug Info' is enabled
GitOrigin-RevId: cdc8816c0c719a0255972e976d08b0acbb455600
2025-06-24 11:26:05 +00:00
Bartek Paciaandintellij-monorepo-bot e56adf0f57 [ByteCodeViewer] Rename stripDebugInfo to showDebugInfo for clarity and consistency
GitOrigin-RevId: 4c24b249c50361c62fceed32006cc61309cef373
2025-06-24 11:26:05 +00:00