Commit Graph

14 Commits

Author SHA1 Message Date
Bas Leijdekkers
db09a65955 Java: add quick fix to remove to package statement in implicit class (IDEA-343977)
GitOrigin-RevId: 58660c335331489dd416bd4979f6a5f89c1d51fa
2024-01-24 20:02:54 +00:00
Tagir Valeev
c74bfa2e57 [java] IDEA-341317 Navigation into multi-release JARs
GitOrigin-RevId: 43612b6950fca72ab58af9b1eb5dc4940f90c501
2023-12-19 16:48:57 +00:00
Mikhail Pyltsin
45b4e8e23c [java-intentions] IDEA-340601 allow creating methods in ImplicitClass
GitOrigin-RevId: 1e0cd613359f27e889df5cf03ce535c1a1a99ca7
2023-12-12 20:14:00 +00:00
Tagir Valeev
2a4fc312fb [java] IDEA-327241 Enable compilation and running Java projects with configured unsupported preview versions
GitOrigin-RevId: df85f51ac1d4249ec3baf34f5ce7d150e06d2a13
2023-12-09 13:20:33 +00:00
Bas Leijdekkers
0b59d209aa Introduce language levels for Java 22
GitOrigin-RevId: cbc48e46a05c15e13d3c5e23cf32ae5f958ef615
2023-12-07 00:58:17 +00:00
Nikolay Chashnikov
055febd921 [java rd] use fake root packages for modules included in com.intellij.java.frontend plugin (IDEA-322563)
We need to have root packages for module xml files in plugin model v2, but if we specify packages with real classes in these modules, they'll fail to load with "must not be requested from main classloader" error, because inter-module dependencies aren't specified for these files. If we specify module dependencies, the big 'com.intellij.java' plugin will fail to load because it isn't migrated to plugin model v2 yet and includes contents of these module descriptors via xi:include tag. So it seems that we need to use fake packages without real classes until 'com.intellij.java' plugin is migrated to plugin model v2.

Check in InterfaceExtensionImplementationClassResolver is suppressed for 'com.intellij.java.frontend' plugin as well for now.

GitOrigin-RevId: 7b2321835becc9f4589ddae09a40160bf735044e
2023-11-06 19:58:09 +00:00
Nikolay Chashnikov
0675f3c131 [java rd] include required modules in plugin.xml for com.intellij.java.frontend plugin (IDEA-322563)
This is necessary to load these modules with ModuleBasedProductLoadingStrategy, which is used to start JetBrains Client.

GitOrigin-RevId: 1dd18b9786e71630f3c2779c557b8661ea89bf85
2023-11-06 08:49:02 +00:00
vladimir.petrenko
bd349939e2 RDCT-555 Sync language level to the client: modules and dependencies refactor
remove unnecessary dependency on kotlin serialization module from `intellij.platform.core` module (it is an OpenAPI module, some test failed)

move all changes from `intellij.java.frontback.psi` module to `intellij.java.frontback.psi.impl` module so that there will no be a dependency on kotlin serialization modules in the `intellij.java.frontback.psi` module because `intellij.java.frontback.psi` module is an OpenAPI module (some test failed)

(cherry picked from commit a3fa1ab533734442fb6691b0162b3f930a66d9bc)

IJ-MR-116786

GitOrigin-RevId: 81bf0153f9528d9ec58e6b557fa0b7aee80a2c46
2023-11-03 15:16:59 +00:00
vladimir.petrenko
44e2e2673f RDCT-555 Sync language level to the client: rename, docs
(cherry picked from commit 424eaf84b82de71398835516cdfb40d7c6e93035)

IJ-MR-116786

GitOrigin-RevId: 437d362879e9bdcd767885da277e263696993068
2023-11-03 15:16:58 +00:00
vladimir.petrenko
beaffbe96a RDCT-555 Sync language level to the client: get rid of JavaLevelPerVirtualFileHolder
(cherry picked from commit 270bb57bb961c668ecbae3c43e334c64d80c7bf7)

IJ-MR-116786

GitOrigin-RevId: d8bf777c995f72ddc138b2e60e1ee31e2615779f
2023-11-03 15:16:52 +00:00
vladimir.petrenko
93daf5ab14 RDCT-555 Sync language level to the client: review fixes (IJ-MR-116786)
- more info log.error
- handle more possible exceptions
- in *.xml-s: use more modern "content" approach to include xml from another module. Add `package` attribute because it is necessary in case of including via "content"
- use "suspend-friendly" read action invocator
- little concurrency problem fix
- remove `ModalityUiUtil.invokeLaterIfNeeded` because its initial purpose to ensure to work with protocol on EDT is not actual in this version of code

(cherry picked from commit 3c2bebbfb3b5c27495df983bd834aeb4705c54bc)

IJ-MR-116786

GitOrigin-RevId: d58505efc9f6f00918df07f7a43e5bda12ca5a04
2023-11-03 15:16:47 +00:00
vladimir.petrenko
9d44ee30f4 RDCT-555 Sync language level to the client: new API impl
(cherry picked from commit 1083ea9c2392cb8c2d687610caf2d8fc86c20910)

IJ-MR-116786

GitOrigin-RevId: a66822074e5fafb6582ec1a2ab856d443a6a6c7e
2023-11-03 15:16:45 +00:00
Bas Leijdekkers
295ce7b01b Java: add fix to remove extra semicolon between import statements
GitOrigin-RevId: 3d390b9bbca1432e1a320201870e2c61edd07b23
2023-09-19 17:05:44 +00:00
Mikhail Pyltsin
e23e60a0eb [java-rd] IDEA-322563 Improve editing experience in Remote Dev for Java
- lexer, parser, IElementType for frontend

GitOrigin-RevId: 8842d018eab3ca17749660520820174d4f792437
2023-09-13 09:09:01 +00:00