Tagir Valeev
c3ecaaa190
[java-dfa] More annotations; annotations for comparators; warn on nullity violation from methodref return
...
GitOrigin-RevId: d0b1a4967d361f409d4d25562c595e2812fc8044
2024-09-19 19:06:26 +00:00
Tagir Valeev
f7a5a79a2e
[javadoc-tests] Test for external type annotations (IDEA-231901); bump default level to 21
...
GitOrigin-RevId: 184754528a776dbd7545cecb7da625840e2cbffe
2024-09-19 19:06:26 +00:00
Tagir Valeev
be4f6cd282
[java-inspections] Redundant keySet()/values(): support entrySet(); avoid warning inside Map implementations (IDEA-346005)
...
GitOrigin-RevId: ebf925ab3ff7c1357248a65201fe654aada0f4e8
2024-09-19 19:06:26 +00:00
Tagir Valeev
6e23889cc9
[java] Syntax of typePath changed; annotations for collection factories
...
GitOrigin-RevId: 178882a91d4e6cff0ec317739b107fadb0d07047
2024-09-19 19:06:26 +00:00
Bas Leijdekkers
ba90fcc173
Java: make auto-import action available on method references to non-static methods (IDEA-336191)
...
GitOrigin-RevId: 2441af053858efe56887a5ea8dc34cfd08878261
2024-09-19 17:29:43 +00:00
Mikhail Pyltsin
abb1899900
[java-inspections] IDEA-357009 new option to configure custom classes for IncorrectMessageFormatInspection
...
GitOrigin-RevId: ab026ee405f78ff29519afb0db62449a682b5bd3
2024-09-19 12:20:53 +00:00
Tagir Valeev
a1eecbd0ae
[java] External type annotations (IDEA-231901): remove them on variable introduction
...
Also bumped test project descriptor
GitOrigin-RevId: fd519a34b01abbb9de135f1c39fc1cb02c8de891
2024-09-18 20:27:35 +00:00
Tagir Valeev
35c9c6ca5a
[java-dfa] Basic support for Unmodifiable type annotation
...
GitOrigin-RevId: 4bc07e2533efa45356ba26b89c065b453a40d253
2024-09-18 20:27:35 +00:00
Tagir Valeev
b50767f679
[java] Basic support for external type annotations
...
Only in XML directly; no editing UI for now; no inlays for now; only for libraries (Cls), currently no intent to extend to sources (Psi)
Part of IDEA-231901 Support TYPE_USE in external annotations
GitOrigin-RevId: 672ed09f57ffc40b61e8fe4dd33d0f9acdac92dc
2024-09-18 20:06:30 +00:00
Mikhail Pyltsin
3001c41aed
[java-inspections] IDEA-357938 try to infer logging type inside methods for StringConcatenationArgumentToLogCallInspection
...
GitOrigin-RevId: a09f433bdc1cbed3c81ee4fab6f4986b5ada4271
2024-09-18 14:42:24 +00:00
Mathias Boulay
0cdf89293d
fix(jdoc): inline mk structs break detection
...
GitOrigin-RevId: 0cb1adbd59262523ce59767fee5f33e78234bd9f
2024-09-18 14:34:29 +00:00
Mikhail Pyltsin
681f0aaa5e
[java-console] IDEA-359033 incorrect place for class name in stacktrace for hprof
...
GitOrigin-RevId: 149d972bbfbecaad86ceec3e29eeba46f35595d1
2024-09-18 11:00:06 +00:00
Georgii Ustinov
2da97bd1ae
[Java. Code Completion] Simplify lambda expression for Logger completion test
...
IDEA-359199
GitOrigin-RevId: f250bb6713f003ec06875ef149551de602573836
2024-09-18 06:25:24 +00:00
Mathias Boulay
fef6778210
fix,test(jdoc): Stabilize spaces in test files
...
GitOrigin-RevId: 0c6b8c8ca44e90bdc80764b5fa1d8f2656762100
2024-09-17 16:28:17 +00:00
Mathias Boulay
b7d5b6900c
feat(javadoc-handler): basic typing assistance
...
GitOrigin-RevId: 500c7ede653a91d1ea67c85efc2248657c35ccab
2024-09-17 16:28:17 +00:00
Mathias Boulay
d6d13853e6
feat(javadoc-handler): auto insert end of code fence
...
GitOrigin-RevId: 24c855a125c859bcc80f43c93a7d6c57ec9e3586
2024-09-17 16:28:17 +00:00
Mathias Boulay
027d4fb022
fix(javadoc-handler): insert leading tokens before start of comment
...
GitOrigin-RevId: 2fc351433f7841f9753d67e2a8d925a9991a1716
2024-09-17 16:28:17 +00:00
Mathias Boulay
68242cd5b9
fix(javadoc-gen): @code tag rendering full line
...
Turns out there was another edge case that the ones from the Youtrack issues.
GitOrigin-RevId: 6bccd3d0aa4fc121059558b847ba90731d9c8962
2024-09-17 16:28:17 +00:00
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
Bas Leijdekkers
cb7ac04d17
Java: handle classes without a qualified name better (IJ-CR-144804)
...
GitOrigin-RevId: 88ee8c15122aaca6028b591d8538e18de0882643
2024-09-16 18:13:55 +00:00
Mikhail Pyltsin
f7b4abaa1f
IJ-CR-144148 [java] IDEA-358751 Java Annotations copied to generated getter / setter
...
- move settings to JavaRefactoringSettings
- rename to GetterSetterGenerationOptions
GitOrigin-RevId: 09c8d01ba66f3d88583cb609ee8317bf90c222c8
2024-09-16 17:10:39 +00:00
Egor.Skrypnikov
a9f21f9116
[Rider] Fix item unwrapping in test
...
GitOrigin-RevId: e008b41e83f7acb89fdf6e2bb2d3004422e20422
2024-09-16 12:34:33 +00:00
Georgii Ustinov
507ae5bd17
[Java. Logging] Simplify logic of JvmLoggerCompletionContributor
...
IDEA-359199
GitOrigin-RevId: 946fcfa18dedd03905e6f8a638ae0a86c3515b75
2024-09-16 12:19:41 +00:00
Tagir Valeev
037c7339b0
Make DocCommentPolicy non-generic; type parameter is not very useful here
...
GitOrigin-RevId: e5c1e431e67c1aeb24a237172aaee85b37433cd3
2024-09-16 11:23:15 +00:00
Tagir Valeev
05de6a6bdb
Less raw types
...
GitOrigin-RevId: 2a6e712b4017cf1ead7870543e562acb654fbeaf
2024-09-16 11:23:15 +00:00
Bas Leijdekkers
c6974e1116
Java: better way to fix highlighting usages of record components (IDEA-318178, IDEA-316341)
...
GitOrigin-RevId: ece57c928d31d3d7c5a7c6c2a0e69184f5927e5e
2024-09-15 18:12:26 +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
Bas Leijdekkers
2f32c69d13
Java: find record component usages in the right file (IDEA-318178, IDEA-316341)
...
GitOrigin-RevId: 8078a16b2e128a2f638e40a6fe11a488e667dddf
2024-09-14 15:22:40 +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
Maxim.Kolmakov
c6d31a553c
Remove @HardwareAgentRequired annotation
...
All Perf Unit tests are run on the hardware agents to ensure stability of the metrics.
So the annotation is not needed anymore and it doesn't work on JUnit5 tests so the same test is run twice and since test execution time depends on the bucketing, metrics are jumping.
GitOrigin-RevId: fc83a368447d09d6ad1b269c88fe4f6c79067a91
2024-09-13 15:28:16 +00:00
Tagir Valeev
6a4df21065
[java-tests] SmartPsiElementPointersTest: eliminate raw types
...
GitOrigin-RevId: b074947d4b54d8982603ee9b1ede7ca4db51ab5b
2024-09-13 11:01:30 +00:00
Aleksey Dobrynin
f590114d83
[java, highlighting] Fix module conflict highlighting for exported packages IDEA-352819
...
GitOrigin-RevId: d4479fb863280674ae8960c930e6e8b1628b7321
2024-09-13 06:24:34 +00:00
Mikhail Pyltsin
1f476ec640
IJ-CR-144148 [java] IDEA-358751 Java Annotations copied to generated getter / setter
...
- rework settings
GitOrigin-RevId: fc914bfed1b8046eccf2e76054c39f4c2ad7359c
2024-09-12 19:42:01 +00:00
Bas Leijdekkers
c40e983f98
Java: rename method correctly if the name conflicts with javadoc reference (IDEA-355643)
...
GitOrigin-RevId: c1ae53780e8ec3a56834dd32ecd9bc19cfd222fb
2024-09-12 18:27:21 +00:00
Tagir Valeev
dbfdbb4d40
[java-stubs] TypeAnnotationContainer: properly report annotation owner from generated annotations
...
Fixes IDEA-354380 Erroneous null warning when using jspecify 0.3 NonNull bounds in generics
The wrong owner caused malfunction of a condition inside DfaPsiUtil.getElementNullability. As a result, we weren't able to merge declared nullability with instantiation-based nullability for compiled code
GitOrigin-RevId: 3ae900174cb7d34a801f07d9644997c85d257b9f
2024-09-12 15:11:36 +00:00
Tagir Valeev
c22a9186f9
[java-inspections] Support simple chaining in NotNullFieldNotInitializedInspection
...
Fixes IDEA-145194 Do not report 'Not-null fields must be initialized' when field is initialized indirectly
GitOrigin-RevId: c3bae51deaedbbbb4d035e5d7d3b55f2ca9b8c03
2024-09-11 20:52:54 +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
Mikhail Pyltsin
8980aa2c1f
IJ-CR-144148 [java] IDEA-358751 Java Annotations copied to generated getter / setter
...
- add new option
GitOrigin-RevId: b893b09e8e157cbcc4cba78cda4d61e973f1f4e5
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
Roman Shevchenko
4269e27cb3
[platform] rewriting CopyTBXReferenceAction to use a URL object instead of string concatenation (IJPL-149928)
...
GitOrigin-RevId: 15a5a2c6e401228d51f083f3de656b3d392b740a
2024-09-09 12:11:51 +00:00
Lev Leontev
4478324e2a
IDEA-358871 honor exclusion in CoreJavaDirectoryService#getPsiClasses
...
GitOrigin-RevId: 19fa5bfadef763431bcf025773127cb58f01f850
2024-09-06 19:39:11 +00:00
Mikhail Pyltsin
6f4d6c3fc7
IJ-CR-144148 [java] IDEA-358751 Java Annotations copied to generated getter / setter
...
- more tests for annotations with arguments
GitOrigin-RevId: e2a6ce55af9899df4c6fbf9101989c00b8ba2723
2024-09-06 15:36:44 +00:00
Bas Leijdekkers
c47a581888
Java: merge two tests
...
GitOrigin-RevId: 3811faf0c478ae7e9e2c7ff40da645ef41312d09
2024-09-06 13:43:06 +00:00