Mathias Boulay
e05667345c
fix(javadoc): Missing character on new lines within snippets
...
#IDEA-358874 Fixed
GitOrigin-RevId: e03874f588e31c106d3a25518c05e0850b3fcd24
2024-09-17 16:28:17 +00:00
Tagir Valeev
ac0c57748b
[java-inspections] IDEA-346005 Add new inspection: Unnecessary keySet() call
...
GitOrigin-RevId: d1f1db0ae939017a8550b91cd8742dc222a8db99
2024-09-17 07:28:39 +00:00
Georgii Ustinov
507ae5bd17
[Java. Logging] Simplify logic of JvmLoggerCompletionContributor
...
IDEA-359199
GitOrigin-RevId: 946fcfa18dedd03905e6f8a638ae0a86c3515b75
2024-09-16 12:19:41 +00:00
Yuriy Artamonov
47f1c44a90
[java] IJPL-158521 Actions: fix ellipsis in messages for Java actions
...
GitOrigin-RevId: bfce0d6efa8747660c4b9af3d8defbfa47e4509a
2024-09-15 14:50:09 +00:00
Georgii Ustinov
f7ff124bf1
[Java. Logging] Improve completion for logger
...
IDEA-359199
GitOrigin-RevId: a3162b75c3fa4ed32b3b17bcbf0753cf01fe72db
2024-09-14 14:51:59 +00:00
Bas Leijdekkers
5c06f74975
Java: don't report non-private field as assigned not accessed when it is implicitly read and written (IDEA-357404)
...
GitOrigin-RevId: 943ef6961c19510e5d4291367293424a87499487
2024-09-13 16:40:26 +00:00
Tagir Valeev
8ed70be46d
[java-inspections] IDEA-359031 Preview API use warning: ignore imports
...
GitOrigin-RevId: d9ba762be3f03f60372a70471f4c04efc26a9a66
2024-09-11 12:08:36 +00:00
Tagir Valeev
9092a09789
[java-intentions] BindFieldsFromParameters: disable for existing field if static or type doesn't match
...
GitOrigin-RevId: ad1d93533626f5e76a3f53c5ab25b06a5aa07f1e
2024-09-10 23:44:56 +00:00
Tagir Valeev
0f2865b919
[java-intentions] DefineParamsDefaultValueAction: better check of possible signature conflicts
...
GitOrigin-RevId: 5eb26ee62852e2e5e6188e740b807c775ded0277
2024-09-10 23:44:55 +00:00
Mathias Boulay
055ce7ad56
Fix(JavaDoc): fix markdown construct being unaffected inside legacy docs
...
GitOrigin-RevId: 25beb0f37329a1b98a511144558c291b5c284398
2024-09-09 18:26:13 +00:00
Tagir Valeev
ad5122e632
[java-completion] Use var when preferred
...
Fixes IDEA-212766 Java Postfix completions should use Java 10 var keyword if possible (for, fori, cast, ...)
GitOrigin-RevId: 58813cb4f7ecfbaf6da5fd51237a7e778313fff2
2024-09-09 17:41:44 +00:00
Mikhail Pyltsin
d72eba89a1
[java-completion] IDEA-357258 Java 23: .switch postfix completion is not supported for primitive data types
...
GitOrigin-RevId: ae848584ee81611bde2e1201c79923c2e170f6e6
2024-09-09 15:21:29 +00:00
Mathias Boulay
2cfd03bd80
fix(JavaDoc-gen): compilation on backport, Better rendering, respect IDE options
...
Fixes IDEA-354610, IDEA-353932
Partially addresses IDEA-352642
fix(JavaDoc-format): handle indent on markdown
fix(JavaDoc-backport): fix compilation
GitOrigin-RevId: 5d1705da21be59ec0bc92a1b35bdf986a3227064
2024-09-09 12:59:51 +00:00
Bas Leijdekkers
c47a581888
Java: merge two tests
...
GitOrigin-RevId: 3811faf0c478ae7e9e2c7ff40da645ef41312d09
2024-09-06 13:43:06 +00:00
Tagir Valeev
cf460af83e
[java-inspections] IDEA-358770 Stream/Optional desugaring: support Predicate.not
...
GitOrigin-RevId: af9cdb5e674406bbbe94a746e85a662a590a4d3d
2024-09-05 12:54:57 +00:00
Anna Kozlova
716e2552f3
[java] quick doc: skip duplicated links in package doc
...
- classes might come from different libraries, but given the same links, it's impossible to navigate to desired one anyway
^KTIJ-26237 fixed
GitOrigin-RevId: 4db0b5e1dc38399376e998c04869374f3ef8d17d
2024-09-04 18:23:36 +00:00
Mathias Boulay
286567da08
fix(JavaDoc): Collapsed markdown comments with wrong suffixes
...
Not perfect at all, it should be able to rely on the commenter API instead.
GitOrigin-RevId: f41d181e9f27905bca1156912b7850f5a96ba943
2024-09-02 16:39:21 +00:00
Bas Leijdekkers
952c203d93
Java: fix surrounders selecting generated code (IDEA-355874)
...
GitOrigin-RevId: 5ab70db1b9aff1a5a7483729e2e65a24fffa6dab
2024-08-29 19:03:09 +00:00
Bas Leijdekkers
f198a23cdf
Java: don't evaluate enum constants as constants expressions
...
GitOrigin-RevId: c5d703ce78b569a3bdab9e8e9dcc2e95bdadd07f
2024-08-29 19:03:09 +00:00
Bas Leijdekkers
ed81723f17
Java: don't evaluate constant for incomplete expressions
...
GitOrigin-RevId: 15542db6b8631edbc96bd7ea9cc2b1a975fcbcbb
2024-08-29 19:03:09 +00:00
Mathias Boulay
d03ded346a
fix(JavaDoc): Inline code block support
...
GitOrigin-RevId: ac902221d848139b9a92559b0f61558cfb259319
2024-08-29 16:55:53 +00:00
Mathias Boulay
2bd10fba65
fix(JavaDoc): Html code support in tags
...
GitOrigin-RevId: b4d6a52b9e5a8f292a41b5b94e93b6bfd16364b9
2024-08-29 16:55:53 +00:00
Tagir Valeev
59325634ab
[java-inspections] IDEA-356832 Inspections ignore redundant Class::cast method call
...
GitOrigin-RevId: 390a19d69020bc91f1395e6c4d23f14992ca396b
2024-08-28 17:54:26 +00:00
Mikhail Pyltsin
07ce79c60f
IJ-CR-143108 [java-action] IDEA-356782 Incorrect place of caret into text block with injection after enter
...
GitOrigin-RevId: 0550bdd9f009773eb84fb51c0faf82df157b5265
2024-08-28 13:04:23 +00:00
Mathias Boulay
2750d267ea
fix(JavaDoc): better language highlight on codeblock
...
GitOrigin-RevId: 2445935a3c083ecca24d899a300d02c08378f525
2024-08-27 18:12:21 +00:00
Mikhail Pyltsin
4362fe4584
IJ-CR-143108 [java-action] IDEA-356782 Incorrect place of caret into text block with injection after enter
...
- add <cursor> for tests
- get rid of `Host`
- reformat code
GitOrigin-RevId: 0ca88901798a6f282089992f48fd1c88d26e0293
2024-08-27 12:46:52 +00:00
Georgii Ustinov
940f66f53d
[Java. Inspections] Add tests for not showing popup for add exception to method signature
...
IDEA-358300
GitOrigin-RevId: a7b8c716d772ae5ca631037ebb923bb796946af9
2024-08-27 10:05:40 +00:00
Bas Leijdekkers
18cb209fa7
Java: add cast to single branch of conditional expression when possible (IDEA-358278)
...
GitOrigin-RevId: 8f3137172d8a1526da2228e3c9ed911f9805c16c
2024-08-26 18:38:16 +00:00
Bas Leijdekkers
83bba063e7
Java: improve message for cast fix
...
GitOrigin-RevId: 40cd180ca8fdae46a3ea0216ec7b08e82ca22364
2024-08-26 18:38:16 +00:00
Mathias Boulay
d56883b763
fix(JavaDoc): formatter, inspections
...
GitOrigin-RevId: 77686401cbf38ea31e93311a608bac7472ccc73c
2024-08-26 10:42:10 +00:00
Mikhail Pyltsin
e01d24d5c8
[java-highlighting] IDEA-357866 Spurious "Different case kinds used in the switch" error on incomplete code
...
- fixes
- not double error messages
GitOrigin-RevId: 8f789243ee4e09d3eb8de6a2db7dcbe25ee517db
2024-08-22 16:03:56 +00:00
Mikhail Pyltsin
cd14483af8
[java-highlighting] IDEA-357866 Spurious "Different case kinds used in the switch" error on incomplete code
...
- improve error message
GitOrigin-RevId: 2a8da472e07dd10bdb0ae75e679b6056ab884b72
2024-08-22 16:03:56 +00:00
Bas Leijdekkers
affc8566c8
Java: show duplicate throws tags in Javadoc (IDEA-345275)
...
GitOrigin-RevId: 8487e9cdbea877c548500b9718f3de1ddd02f322
2024-08-22 15:27:14 +00:00
Bas Leijdekkers
1a5e213e96
Java: "Suppress for <x>" fix should not make code uncompilable (IDEA-358115)
...
GitOrigin-RevId: 754d0bac805a0e9d56489c63e5486d6e7e15a4db
2024-08-22 15:27:14 +00:00
Mikhail Pyltsin
e39d914c56
[java-highlighting] IDEA-357868 Better error message for primitive types in instanceof
...
GitOrigin-RevId: bb638cf01ec27474d89859c27c5410add6be5931
2024-08-22 09:22:53 +00:00
Mikhail Pyltsin
cbc5e8cd2d
[java-action] IDEA-356782 Incorrect place of caret into text block with injection after enter
...
- introduced JavaEnterInInjectedTextBlockHandler
GitOrigin-RevId: 7085ebb8d23177b11f49da17df2eb7df98f39b8a
2024-08-21 18:41:23 +00:00
Bas Leijdekkers
bd7f1f4270
Java: proper order of 'true' and 'false' in quick-fix name (IDEA-357973)
...
also fixes internationalization and the incorrect comma in the name
for "Create missing switch branches" quick-fix
GitOrigin-RevId: 16285e054447d8d15318df8889499bbbf91243a7
2024-08-21 09:12:08 +00:00
Mikhail Pyltsin
2954ea71d0
[java-completion] Basic completion does not complete case keyword with default case
...
GitOrigin-RevId: 7e4f78bfb981202f90ae7d75302753a71055599c
2024-08-19 17:51:59 +00:00
Mathias Boulay
f95cbb9677
fix(JavaDoc): better autocomplete
...
GitOrigin-RevId: 64cc8794d732cd08566413b0070b371768e47d8f
2024-08-19 10:39:25 +00:00
Mathias Boulay
abd7b1dded
fix(JDoc): Formatting and inspections issues
...
GitOrigin-RevId: 910e9b3335fa7c3967fb79893ecba7c69595a201
2024-08-14 18:24:38 +00:00
Mathias Boulay
6ebdc205ef
feat(javadoc): early markdown support part 2
...
GitOrigin-RevId: 74093daa489fda535b3951828d6617519e5d293f
2024-08-14 02:45:23 +00:00
Mathias Boulay
3825899d51
feat(IDEA-353092): early markdown jdoc support
...
GitOrigin-RevId: 8c02012551f1a97d3f5d6aed021889911b138b28
2024-08-13 11:44:06 +00:00
Mikhail Pyltsin
cb37003541
[java-inspections] IDEA-357323 Propose case null during adding all cases
...
GitOrigin-RevId: 6d7ffccc28d64ed0f52db0235c41796d1d81284e
2024-08-09 11:00:42 +00:00
Bas Leijdekkers
4426c2fc85
Java: create field from parameter with method type parameter type correctly (IDEA-357162)
...
GitOrigin-RevId: 3a9947fa58b394f0e0b5377fbe75702f3d4b8f6a
2024-08-06 10:48:28 +00:00
Bas Leijdekkers
24aaef624d
Java: fix false positive on reference to enum constant (IDEA-357156)
...
GitOrigin-RevId: 7c833e46823ab41c9bdf275308ccee226d7e1a5f
2024-08-06 10:48:28 +00:00
Bas Leijdekkers
5c96c794ed
Java: fix one more case where "invert if" loses comment (IDEA-252033)
...
GitOrigin-RevId: 8bba0c15ca98a31a29ffc8a0d46effca9d96d27f
2024-08-06 10:48:28 +00:00
Bas Leijdekkers
e39764dd13
Java: allow "invert if" in more places and cases
...
GitOrigin-RevId: f3d942d13ed72b7f94e189bb9d155b64c4603a97
2024-08-06 10:48:28 +00:00
Mikhail Pyltsin
ccf2a6bae5
[java-inspections] IDEA-356982 PsiImplicitClass is created for certain invalid code and renders the whole file gray
...
- skip implicit classes in unused analysis
GitOrigin-RevId: 6eb880108723b3623b0cc449d76f9f87942fc8b7
2024-08-01 16:00:34 +00:00
Bas Leijdekkers
a35a9f91ba
Java: improve error highlighting for unknown annotation method
...
GitOrigin-RevId: 6fdb6e2f397280cf4795cbd09ddcc1461a5897ff
2024-07-30 22:37:25 +00:00
Bas Leijdekkers
1bdb332af2
Java: better error recovery on annotation parsing (IDEA-209573)
...
GitOrigin-RevId: a600121ecbd9fa6338237f0d3802486c7f8a5656
2024-07-30 22:37:25 +00:00