Georgii Ustinov
4f741ef16c
[Java. Code Formatting] Create a migration activity for java codestyle settings
...
IDEA-110857
GitOrigin-RevId: 6469cfd69acf5e68dad3cced70942326ebde1c7c
2024-07-04 19:56:48 +00:00
Georgii Ustinov
93b6c3ccc2
[Java. Code Formatting] Split option to add blank lines for fields with/without annotations
...
IDEA-110857
GitOrigin-RevId: 6ee23199e686c649439833df1223a12494be9d00
2024-07-04 19:56:48 +00:00
Mikhail Pyltsin
42968dfc2f
IJ-CR-137825 [java-typing] IDEA-354366 close braces after switch rule
...
- support multiline case rules
GitOrigin-RevId: 8c5dd5a3c4cb6b699c565ef39c2c29deacffc7e2
2024-06-26 14:34:55 +00:00
Mikhail Pyltsin
3b8b3f50f4
[java-typing] IDEA-354366 close braces after switch rule
...
GitOrigin-RevId: 057d759e922903ffca05c1ad6c405f4422e90d26
2024-06-25 19:07:29 +00:00
Mikhail Pyltsin
2023228d8c
[java-generation] IDEA-344399 generate annotation based on type_use option
...
- extracted new option
- reuse this option in MissortedModifiersInspection
- override uses this option too
GitOrigin-RevId: 39f3f72991240753c86c7f80df865728aa9743ad
2024-06-17 21:14:57 +00:00
Mikhail Pyltsin
4221b3e7bb
[java-parser] Fix unnecessary qualifiers for static fields for parsers
...
GitOrigin-RevId: 8e0e9b3351cfc9229137661c555e898194e53060
2024-06-14 18:09:14 +00:00
Georgii Ustinov
bbeb4ab06d
[Java. Code Formatting] Add javadoc for formatter option "Inside block braces when body is presented"
...
IDEA-270369
GitOrigin-RevId: b08f6a21f3f06cb5291f8b6c20273a11b290d452
2024-06-10 14:55:42 +00:00
Georgii Ustinov
3ae38b4cff
[Java. Code Formatting] Fix typo for whitespace option "Inside block braces when body is presented"
...
IDEA-270369
GitOrigin-RevId: cce77ef8ec80c45622f6707c9671ac5a774763f8
2024-06-10 10:10:41 +00:00
Georgii Ustinov
bb9759a556
[Java. Code Formatting] Add support to configure spaces for simple nonempty blocks when the "Spaces within blocks" is disabled
...
IDEA-270369
GitOrigin-RevId: 19283bcf734658323659abe7f14e5c38fdc9fec3
2024-06-07 17:47:43 +00:00
Yann Cébron
56cd5fddea
[java] JavaLineIndentProvider: remove static init
...
GitOrigin-RevId: fd4fb3dcdc3414e0ac61c2e2b2ed48d5d498e85b
2024-03-06 19:11:19 +00:00
Tagir Valeev
c3b35ef889
[java] Rename methods to avoid mentioning explicit Java version
...
GitOrigin-RevId: a2d0fcf924b19d88462cbae662f6bc50fac51903
2024-02-13 15:29:35 +00:00
Tagir Valeev
bf85acba82
[java] More JavaFeature uses
...
Also: new JavaFeatures (ASSERTIONS, ENUMS, PRIVATE_INTERFACE_METHODS)
GitOrigin-RevId: f073845a77730b486afa56317e2c12ff044f5425
2024-02-12 19:12:43 +00:00
Tagir Valeev
95fab49390
Warnings fixed
...
GitOrigin-RevId: b0f27da5a94e6497f85c95b51625f4512304cfcc
2024-02-09 21:17:03 +00:00
Georgii Ustinov
73b8f74c04
[Java. Code Formatting] Fix indent for the first new line in multiline string when press enter
...
IDEA-327035
GitOrigin-RevId: 38d9fe32ce4ef171a89b53cb7034a3010786ec71
2024-01-15 16:37:31 +00:00
Georgii Ustinov
b255a19d17
Rename JavaCodeStyleSettings option for moving simple methods to the new line
...
IDEA-126070
GitOrigin-RevId: c4df6085aec282617344b1876cb8cc3c7bff5629
2024-01-04 12:13:12 +00:00
Georgii Ustinov
a8e0525924
Add formatter option to move method body on new line in simple method
...
IDEA-126070
GitOrigin-RevId: ce849fa727fa2bf1b3c27231c408e7fe0a06c00d
2024-01-04 12:13:10 +00:00
Andrey Cherkasov
24adef8e2a
Resolve warnings about 'protected' members in a 'final' classes
...
GitOrigin-RevId: 5d7c04b6371be1f2cc924a86614919ab6ee5b642
2023-12-14 17:36:45 +00:00
Andrey Cherkasov
019a6852f4
[java] Make extension classes final
...
GitOrigin-RevId: 1aae04982598568a111e8c78b9a71c9d2b4aa150
2023-12-13 20:02:09 +00:00
Georgii Ustinov
dacbca4cb7
Add wrapping options for enum fields annotations
...
IDEA-171773
GitOrigin-RevId: 51cf6a8154d9d278b182f165f98efa2d83d052d3
2023-12-12 13:26:17 +00:00
Mikhail Pyltsin
2e1c6343f2
[java-rd] IDEA-339292 Move setting to fronback part to make them available for remote dev
...
Merge-request: IJ-MR-121171
Merged-by: Mikhail Pyltsin <Mikhail.Pyltsin@jetbrains.com >
GitOrigin-RevId: ae28b85856cb723e7b51bea3e3cbef91e6de634d
2023-12-01 17:44:34 +00:00
Tagir Valeev
8b1795dc3f
[java-typing] Yet another fix for braces typing in string templates (IDEA-336810)
...
GitOrigin-RevId: 70895c6be623545585ecf7f01f02fda73db8eea8
2023-11-28 15:14:49 +00:00
Tagir Valeev
749f715eab
[java-typing] Improve support of brace skipping (IDEA-336810)
...
GitOrigin-RevId: 0ec9bfb13f33a14254d0d7b7dcb0e3874898f52c
2023-11-09 11:04:44 +00:00
Alexey Kudravtsev
9b4cc7a05d
new inspection: "missorted imports" with quick-fix-only severity, to fix IDEA-334084 No "Optimize imports" action is displayed
...
GitOrigin-RevId: 92028252fc0b4c8ab05b7236de15ff44090a7183
2023-11-08 14:55:31 +00:00
Mikhail Pyltsin
5cb5c4c79c
[java-rd] IDEA-337346 Exception in java thin client for highlighting brackets
...
GitOrigin-RevId: 8703602214ecf1acdda745e0afc606700b74ddc1
2023-11-07 00:05:10 +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
Tagir Valeev
f179a8a2e9
[java-typing] Skip closing brace after non-first embedded expression (IDEA-336810)
...
GitOrigin-RevId: a3a06e08fba502cf58ef08774cf4a7e3401a7a97
2023-11-06 19:11:42 +00:00
Tagir Valeev
6b0d88e6a8
[java-typing] IDEA-336810 Braces insertion for String Templates doesn't work correctly for text blocks
...
GitOrigin-RevId: 3224ca9e1eae8100d34a52a46e9da569979534c4
2023-11-02 20:33:53 +00:00
Bas Leijdekkers
2ebaab02d1
Java: fix selection behaviour for String Templates (IDEA-333906)
...
GitOrigin-RevId: 0727e9c5b4a56d752bc38d7fc6fa22ca676dd9ba
2023-10-31 23:25:43 +00:00
Bas Leijdekkers
fb26d47cda
Java: fix text block extend selection behaviour (IDEA-227005, IDEA-226986)
...
GitOrigin-RevId: 9d9f4201db2e0b2dfedc8485701ea6f050e0df41
2023-10-31 23:25:21 +00:00
Bas Leijdekkers
661fc8569c
Java: fix text block selection behaviour in text blocks with escaped newlines (IDEA-282073)
...
GitOrigin-RevId: 430c4c67698acdb46d1756c5ed3bc12d6b01a5bd
2023-10-30 10:30:22 +00:00
Tagir Valeev
169a5849ac
[java-typing] Fix test and } handling in string templates (IDEA-333179)
...
GitOrigin-RevId: 318d7215f7aa80ec0bf7f2c4f3a2228856e23a1e
2023-10-04 16:35:57 +00:00
Tagir Valeev
5a61cfcc6e
[java-typing] String template typing improvements: avoid } duplication; fix at input at EOF
...
GitOrigin-RevId: 5e2a3509a9300d53c2101d22bf4420fd5e520949
2023-09-29 17:40:48 +00:00
Mikhail Pyltsin
b851673c40
[java-rd] IDEA-322563 refactoring for java rem-dev
...
- rename BasicJavaDocElementType with BASIC_, to distinct them from usual ones
GitOrigin-RevId: 4f33eb1ddb49412501bd21a9c7cf53a1ea591521
2023-09-29 09:19:18 +00:00
Mikhail Pyltsin
4cf2e16167
[java-rd] IDEA-333104 fix cases when highlighting get null in parents
...
- fix comments
- BasicJavaTokenSet is renamed to ParentAwareTokenSet and move to core
- method `toTokenSet` is deleted, because it was the reason a lot of mistakes
GitOrigin-RevId: b776be4f067d99e4a531d3622dfa9b9e8078c543
2023-09-29 09:19:15 +00:00
Tagir Valeev
7014be59fd
[java-typing] IDEA-333031 Auto-multilining for String doesn't work if there is a string template in the code
...
GitOrigin-RevId: 86ca76290687aeb3c0023c745069dfd897145af6
2023-09-28 13:58:33 +00:00
Tagir Valeev
c09b082016
[java-typing] IDEA-333179 "}" not added automatically after typing "\{" in interpolated string
...
GitOrigin-RevId: 5e8c790eb6422a25705806cdcb94c252c92883b3
2023-09-28 10:30:02 +00:00
Mikhail Pyltsin
a5d749d8ea
[java-completions] IDEA-332716 IJ-CR-115136 SmartEnter invoked on the 'switch' expression does not move caret inside
...
- added formatting for switch expression
-simplify MissingSwitchBodyFixer
GitOrigin-RevId: 4c77e10ce5dd83d9c4f5d08c0c9fe94eeca0d411
2023-09-26 14:09:08 +00:00
Mikhail Pyltsin
6a746407f8
[java-rd] IDEA-322563 fix cases when highlighting get null in parents
...
- rename basic token sets to BASIC_
GitOrigin-RevId: 88cb12cf1eeff34651093507ba8865778c9089f9
2023-09-22 18:53:29 +00:00
Mikhail Pyltsin
e2bf8301c0
[java-rd] IDEA-322563 refactoring for java rem-dev
...
- rename basic token sets to BASIC_
GitOrigin-RevId: 1f6191a6fddbee5676fefeff2e40d718b15dee53
2023-09-22 18:53:26 +00:00
Daniil Ovchinnikov
27e155fc21
IJPL-167 bump language and API version 1.8 -> 1.9
...
GitOrigin-RevId: 5204df1784bbbba550476415e4ceff7368ab5fd4
2023-09-19 19:52:47 +00:00
Mikhail Pyltsin
3639cdd8c8
[java-completions] IDEA-332716 SmartEnter invoked on the 'switch' expression does not move caret inside
...
GitOrigin-RevId: 71e2605538a5c31587f00173eff6fa117d950025
2023-09-18 23:01:48 +00:00
Mikhail Pyltsin
de67570ff3
[java-rd] IDEA-322563 clean up code
...
-some methods get statics
-deleted unnecessary commas
GitOrigin-RevId: b48425975356467a7cca9fb5d50756778d37efc9
2023-09-18 23:01:42 +00:00
Tagir Valeev
9295c9732c
Warnings fixed
...
GitOrigin-RevId: c0ece7c55bc5a87d03096694a10d7df66a80b44d
2023-09-18 11:42:58 +00:00
Tagir Valeev
ce7ea33a0a
[java-completion] IDEA-331975 'Complete Current Statement' invoked on the 'while' keyword does not insert opening parenthesis
...
GitOrigin-RevId: 3d61667b9af08123dddef7f74e346473187266cd
2023-09-18 11:42:52 +00:00
Mikhail Pyltsin
d2af2f9736
[java-rd] IDEA-322563 Improve editing experience in Remote Dev for Java
...
- editor actions
GitOrigin-RevId: e774f42e72be12b613a9c300dd988589048bd483
2023-09-13 09:09:01 +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