Commit Graph

104 Commits

Author SHA1 Message Date
Dmitry Batkovich
7839a41189 java: fix missing properties
GitOrigin-RevId: b759ad927d0f4953b5b8ca59666e2176e095093b
2025-04-23 13:32:00 +00:00
Dmitry Batkovich
5deb99d818 IJPL-184918 Thousands of PluginException errors: mismatched class implementations in recent test runs
GitOrigin-RevId: ed43984aad9be752aa193f9bc900c7a65398744a
2025-04-23 13:32:00 +00:00
Ilia Kirianovskii
675eab0b82 [bazel] Update build files
GitOrigin-RevId: 8666e87d2a1221f1d48e9c170bdf632ed0cfd6d9
2025-04-22 20:36:03 +00:00
Dmitry Batkovich
8cedb6fa60 java: move JavaWhiteSpaceFormattingStrategy to frontback, execute JavaMoveLeftRightHandler on frontend only
GitOrigin-RevId: a9fe813dc835e9a4286ed5effe3e4f0d97274ae7
2025-04-20 20:48:24 +00:00
Dmitry Batkovich
6319a70ded java: move code style and formatter to frontback. It activates features like smart indent on frontend side
GitOrigin-RevId: 5e124ce9dc73155495ebf82ce283c3f9d5516e53
2025-04-19 21:43:40 +00:00
Dmitry Batkovich
297529b59e java: avoid dependency on jsp for java frontback
GitOrigin-RevId: 391f52007d89a5443c8a98a8ed2235977934a268
2025-04-17 13:10:08 +00:00
Dmitry Batkovich
cca12db33d remove dependency between kotlin minimal and java frontback
GitOrigin-RevId: 69c1cbcc80fd281ee39a84801e4a41099ca9c3c5
2025-04-17 13:10:08 +00:00
Dmitry Batkovich
21a4616d5a java: drop FrontendJavaTypedHandler, move its code to JavaTypedHandlerBase
GitOrigin-RevId: d53e5564dc1813adfe99e9544c9cde5ddbbaac13
2025-04-17 13:10:08 +00:00
Dmitry Batkovich
8eb8701ec7 java: move JavaDefinitionService to frontback module
GitOrigin-RevId: b1fdfa882cf75e5dc5aa02f9cce8c889f7c2f994
2025-04-17 13:10:08 +00:00
Dmitry Batkovich
190697d191 java: use the same JavaSmartEnterProcessor on frontend and backend
GitOrigin-RevId: 70fff966ed99e9f0494a988e989284b29c2bda37
2025-04-17 13:10:08 +00:00
Dmitry Batkovich
6af2de0a6a java: make JavaColorSettingsPage extend FrontendJavaColorSettingsPage (and rename it)
GitOrigin-RevId: 923682955a3ce0f6b4339b1beedc968b9629db93
2025-04-17 13:10:08 +00:00
Dmitry Batkovich
cae9c6c268 java: re-use standard JavaSyntaxHighlighterFactory for lexer highlighting on frontend. Drop FrontendJavaSyntaxHighlighterFactory.
GitOrigin-RevId: a696a5deee2c2ea75b719c4995b4d5a20b808137
2025-04-17 13:10:08 +00:00
Maksim Zuev
00751a99ef [rd debugger] IDEA-370752 Fix export dump action
GitOrigin-RevId: 472ad6e9a5cc6e0ea33767d69a080df7bf7f7e2a
2025-04-16 20:14:15 +00:00
Maksim Zuev
1842fad512 [rd debugger] IDEA-370752 Truncate full thread dump when sending via RPC
GitOrigin-RevId: a553d4556242e2d3516d3e33be573898d1926330
2025-04-16 20:14:15 +00:00
Maksim Zuev
08d6c85694 [rd debugger] IDEA-370752 Fix passing awaiting thread state to FE
* serialize awaiting dependencies as indexes in the list

GitOrigin-RevId: d6112913673055d2d982366d02f682bd19a962c2
2025-04-16 20:14:15 +00:00
Maksim Zuev
dcd2a74aae [rd debugger] IDEA-370752 Move ThreadDumpAction to java.frontback module to be available at FE
GitOrigin-RevId: 66f767742d0bdcfb3baa5c2612d23a985346dd78
2025-04-16 20:14:15 +00:00
Dmitry Batkovich
97840b8c75 java: deduplication in front/back extensions registrar
GitOrigin-RevId: 9c4edf9c9b4c9e7367b6051c678cea8fa83747de
2025-04-13 15:15:41 +00:00
Dmitry Batkovich
cb05166850 java: keep only one JavadocTypedHandler implementation for front / back
GitOrigin-RevId: 1529002bf967294960c708821ca44dcdcd5dca0b
2025-04-12 17:40:27 +00:00
Max Medvedev
0e5df35887 IDEA-359853 rename PsiKeywords to JavaKeywords
GitOrigin-RevId: 549c1b35265414221b6b83ed1b5c426418ad032e
2025-04-03 11:33:32 +00:00
Max Medvedev
0ce5d6986a IDEA-359853 deprecated constants in PsiKeyword
GitOrigin-RevId: 94f23984ad8f4f467fed1f01f47b2a9b46242cac
2025-04-03 00:36:42 +00:00
Vladimir Krivosheev
008f3b6e8d update bazel files
GitOrigin-RevId: 6df5c8c80f8583d0006ffb53e80eb615544ef287
2025-04-01 16:40:18 +00:00
Georgii Ustinov
0e32780e31 [Java. Code Formatting] Make JD_KEEP_EMPTY_TRAILING_LINES private property in order to not to export it
IDEA-361836

GitOrigin-RevId: 6500f7532c8cd8b39feafea174fd6759a112da76
2025-04-01 13:06:43 +00:00
Georgii Ustinov
c101d64161 [Java. Code Formatting] Introduce option to temporary disable formatting for trailing lines in javadoc
IDEA-361836

GitOrigin-RevId: 48ef55416d3ad6362a964579b93615a597647ea4
2025-04-01 13:06:43 +00:00
Max Medvedev
c4d2a83d30 IDEA-359853 introduce JavaBinaryOperations
GitOrigin-RevId: 8c4cd1a8fb76a7c79bce882a669af0a057045ab0
2025-04-01 00:38:44 +00:00
Max Medvedev
63a8290a30 IDEA-359853 convert Java lexers to Kotlin
GitOrigin-RevId: d19dea17585aa0e2ced7f6f9dd35a34cae95608c
2025-04-01 00:38:44 +00:00
Max Medvedev
4be493e18c IDEA-359853 introduce intellij.java.syntax module
GitOrigin-RevId: a0fdf52125e1fef08203de16198825e58d1df490
2025-04-01 00:38:44 +00:00
Tagir Valeev
b8792b5e29 [java-completion] MissingThrowExpressionFixer: avoid completion if it's started on the expression line
Fixes IDEA-367667 Complete current statement action breaks on a new line character

GitOrigin-RevId: fed8b5d8d860f491391413383922c112d9649eff
2025-03-07 13:38:36 +00:00
Bartek Pacia
248f36eac8 [java-typing] fix typing { inside a Java string in switch-case expression adding } outside the string literal
fix IDEA-368266

Merge-request: IJ-MR-156690
Merged-by: Bartek Pacia <bartek.pacia@jetbrains.com>

GitOrigin-RevId: 68b837ddad0bc7e614ee51fa1934e86b13df69b4
2025-03-04 22:19:59 +00:00
Mikhail Pyltsin
82be0e6064 [java-imports] IDEA-368382 incorrect place for module import
- support static separately

GitOrigin-RevId: 8d1acc0e8d2bd7d60b1f03b1ebe367d7d9f2e2a9
2025-03-01 17:25:26 +00:00
Mikhail Pyltsin
abca56d632 [java-imports] IDEA-368382 incorrect place for module import
GitOrigin-RevId: ce6ec1c65d5777e5e3059093fdd01baf24f95e50
2025-03-01 08:14:43 +00:00
Vladimir Krivosheev
32eeb4ee9f update bazel files
GitOrigin-RevId: 524d4c1ce8590184de334693be7d6a207d8682f7
2025-02-05 12:27:57 +00:00
Victor Turansky
45c546d689 WEB-68929 Module intellij.xml.parser (from intellij.xml.frontback)
GitOrigin-RevId: de312aa4b70477a324b9750452a22b3a8d4a0457
2025-02-04 21:14:05 +00:00
Nikolay Chashnikov
3c560d0268 [java] cleanup: get rid of fake packages in content modules of Java Frontend plugin (IDEA-366600)
Fake packages were used to ensure that the main plugin classloader is used to load the classes from content modules. Now the same can be achieved explicitly with loading="embedded" attribute. This is also needed to ensure that the classpath for content modules can be properly specified (this is needed for IJPL-165692).

Also, it's possible to use auto-layout for the plugin, so there is no need to specify it explicitly.

GitOrigin-RevId: 6a75b4868b796215018d230949752bc978c60476
2025-01-31 17:23:22 +00:00
Vladimir Krivosheev
051ed2529b cleanup
GitOrigin-RevId: 6fa4f979e0a6641885e2225eb985b13713373ac5
2024-12-26 14:56:01 +00:00
Bas Leijdekkers
0ed14734d9 Java: add configuration for a separate color for record components (IDEA-350397)
GitOrigin-RevId: d3efcc3d50a2641306c32775ab356c188330f8e8
2024-12-19 19:09:44 +00:00
Bas Leijdekkers
3c2a0901cc Java: add configuration for a separate color for record classes (IDEA-338018)
GitOrigin-RevId: 45ef46717d9d49575a3a207fbeacd2ea3759fb83
2024-12-19 19:09:44 +00:00
Bas Leijdekkers
aaae6972f9 Java: use .messagePointer() to avoid storing UI strings in static field in color settings
GitOrigin-RevId: b2e71849660cfed94c202dec6e0e3ace60ca38e0
2024-12-19 19:09:44 +00:00
Mikhail Pyltsin
36c497436c IJ-CR-151305 [java-import] IDEA-364508 support optimize imports
- use layout table

GitOrigin-RevId: 6862419acc2beb72f87cca6b93612f9afe81f698
2024-12-19 18:02:44 +00:00
Nikolay Chashnikov
45a808fcdc [intellij project configuration] remove Kotlin facets which don't specify any custom options for a module
If there is no Kotlin facet in a module, it automatically inherits the project-wide options from .idea/kotlinc.xml. So if a configuration of a Kotlin facet in a module doesn't specify any custom options, the facet is not necessary, and it can be removed to simplify the project configuration and make it easier to modify project-wide options later.

Also, a test which reports such unnecessary Kotlin facets is added.

GitOrigin-RevId: 7cf2a714064499e1cdd768978ff7afd839567c87
2024-12-17 14:02:59 +00:00
Vladimir Krivosheev
98799639aa do not use _test as lib - test targets do not support this
GitOrigin-RevId: f2f49db4294b6a64040dbbd5f1d95e972cbd70a3
2024-12-15 18:32:30 +00:00
Mikhail Pyltsin
ab52fbdf4e [java-import] IDEA-364508 support optimize imports
- new options are added
- changes for optimize imports

GitOrigin-RevId: 82b0223f9e7e2972d13ab182ea651cdccd28a5d3
2024-12-10 19:06:21 +00:00
Vladimir Krivosheev
8c77c9ed84 don't export ide.core.impl from lang-impl
GitOrigin-RevId: 029fef0995b0d8e6b684f463bdd856dd17021366
2024-12-02 11:32:59 +00:00
Vladimir Krivosheev
17916c90f8 libraries -> lib, resources, opt-in, test deps
GitOrigin-RevId: db66ee95dcb0f0553b40c9cc56cd6afed8634cdd
2024-11-27 13:53:42 +00:00
Georgii Ustinov
abfeea2b41 [Java. Code Formatting] Format records annotations similar to java fields
IDEA-298007

GitOrigin-RevId: 685e8020cef634d3554a70cbb35d9c5fd2fc33d1
2024-11-14 19:02:05 +00:00
Andrzej Głuszak
cbca664f6c [bazel] Second attempt at generating tests
GitOrigin-RevId: 7763c9994b7c311310b83b98a542775feb00ed68
2024-11-09 11:06:41 +00:00
Bas Leijdekkers
70a876a4fe Java: avoid changing code style api for import setting (IJ-CR-147745)
GitOrigin-RevId: b6d8223525eabd52a7973ef10927403063b3b89a
2024-10-25 14:51:18 +00:00
Bas Leijdekkers
4b1e32f7c4 Java: add "Layout on-demand import from the same package first" option (IDEA-204441)
enabled by default for consistency with other tools

GitOrigin-RevId: df5a4b65c5f31b195bd091a91d16ea0bc7bcc36c
2024-10-24 22:20:52 +00:00
Vladimir Krivosheev
4a176d4c02 IJ-CR-146078 extract intellij.platform.bootstrap
GitOrigin-RevId: b79efc92829111228e83058e54381d8e02116b6f
2024-10-05 22:01:55 +00:00
Mathias Boulay
b7d5b6900c feat(javadoc-handler): basic typing assistance
GitOrigin-RevId: 500c7ede653a91d1ea67c85efc2248657c35ccab
2024-09-17 16:28:17 +00:00
Mikhail Filippov
f13d92e82f IJPL-150165 switch to invoke dynamic lambdas in Kotlin
GitOrigin-RevId: 63ba45a21874cc723917982996fce1a510b2a182
2024-09-05 11:19:31 +00:00