Tagir Valeev
38bfebaa23
Unnecessary fully-qualified names removed
...
GitOrigin-RevId: 903dbd15b9f5c307d2e17747a86d5eeecaff144a
2022-02-16 09:35:23 +00:00
Anna Kozlova
d33902fd9b
[java] [refactorings] change signature: resort refactoring dependencies
...
GitOrigin-RevId: c2205ed7b43a5a9f16e80635fae0082ab57ffcd5
2022-02-14 15:47:00 +00:00
Anna Kozlova
134a70e68e
[java] [refactorings] cleanup change class signature api
...
GitOrigin-RevId: 334b593ada3dbde313013fee6bd1496aaed95c32
2022-02-11 20:34:06 +00:00
Artemiy Sartakov
9dcbd71cc6
MultiplePathConstructionsInspection: added inspection (IDEA-288529)
...
Reports multiple Path.of() or Paths.get() calls in a row with same expression
GitOrigin-RevId: 654825f7946243d0fd58ed2d2d4d577305ad0da5
2022-02-11 09:14:01 +00:00
Anna Kozlova
5fabc33985
[javadoc] replace inferred/external explanation section with external links to help (IDEA-179266)
...
GitOrigin-RevId: 1e9a12f907fe6861eb0ad3ee975a11a34af4d75c
2022-02-09 14:02:19 +00:00
Tagir Valeev
b69d1625f1
[java] Rename notification.group.setup.external.annotations to "something happened" form
...
GitOrigin-RevId: 943b15a7e27159130860877c140cda40cc5734c9
2022-02-09 12:23:06 +00:00
Vladislav Kovalchuk
2f2c0dc683
[java-inspections] Repair unresolved class reference
...
GitOrigin-RevId: 2774be088a8878bbbe89e09b32a7fd038ce4a83a
2022-02-08 15:37:14 +00:00
Alexandr Suhinin
8ddc580a11
[javadoc inspection]: split settings into Missing javadoc and 'Javadoc declaration problem'
...
GitOrigin-RevId: b2aa297e5b12b4bf9d1184424d0dee768ec768b1
2022-02-07 09:48:38 +00:00
Dmitry Avdeev
0311ee1a62
IJP-1077 Inlay hints: new settings UI
...
snippet & description for implicit types
GitOrigin-RevId: 03a2b9f5fe5145855dc746ef7d6b6e6113c311f9
2022-02-03 10:30:39 +00:00
Dmitry Avdeev
eb54bfca5b
IJP-1077 Inlay hints: new settings UI
...
snippets & descriptions updated
GitOrigin-RevId: 111699b4da89302ca27e8ea67de9b9d043b8d4c2
2022-02-02 15:46:17 +00:00
Anna Kozlova
74aba9523c
NPE
...
GitOrigin-RevId: c66148910706471ef982aad20b33ce18d486fe67
2022-02-02 13:07:58 +00:00
Artemiy Sartakov
c699fe0e24
IOStreamConstructorInspection: cr fixes (IJ-CR-20017):
...
1. report for arbitrary expressions that expect OutputStream / InputStream
2. report for arbitrary file creation arguments
3. check recursively if file creation argument is effectively final
4. reuse effectively final path variables if possible
5. use Paths.get() instead of Path.of() since 'of' method appeared only in java 11
6. info level for java 10 and higher
GitOrigin-RevId: 0a778328fe938faa0fe7eb2f199064f90b7a6d1b
2022-02-02 08:24:36 +00:00
Anna Kozlova
884bff7aa3
[java] [refactorings] simplify change signature refactoring
...
search for overriders in a separate run
GitOrigin-RevId: 64f8d8dfb4c386553f8b9b917d4e740757e7a2f7
2022-01-31 15:42:56 +00:00
Bas Leijdekkers
d73341c619
show method calls with () in "Inline stream mapping method" intention messages
...
GitOrigin-RevId: 2602d4e06902450e197232450c86d79ebc5203f7
2022-01-31 10:13:18 +00:00
Bas Leijdekkers
5ba739b481
small improvements to "Stream API call chain can be replaced with loop" inspection messages
...
GitOrigin-RevId: 1bb01310db3e3233bf4ef1b1cb40a49ba50e793a
2022-01-31 10:13:17 +00:00
Bas Leijdekkers
64b5b30b64
small improvements to "Stream API call chain can be simplified" inspection messages
...
GitOrigin-RevId: 97de1fccf08a714baab42068fafcaa3db4c00edd
2022-01-31 10:13:16 +00:00
Bas Leijdekkers
358239888b
improve "Redundant step in 'Stream' or 'Optional' call chain" inspection messages
...
GitOrigin-RevId: 37afe33d6a5e437a80338183e0019bf399fcfc45
2022-01-31 10:13:15 +00:00
Bas Leijdekkers
312cbd98d6
show method calls with () in "Manual min/max calculation" inspection messages
...
GitOrigin-RevId: 0be6faa7bd6ea391f53bc811fe8f3124424fd950
2022-01-31 10:13:14 +00:00
Bas Leijdekkers
ea834397dc
show method calls with () in "Replace with bulk method call" inspection messages
...
GitOrigin-RevId: cc40c33ea4729b0faaecefe3e67287ece06090bd
2022-01-31 10:13:13 +00:00
Artemiy Sartakov
51b6c30a78
BulkFileAttributesReadInspection: added inspection
...
Inspection reports multiple java.io.File attribute calls in a row. Attribute calls:
- lastModified
- isFile
- isDirectory
- length
It suggests replacing them with a single attributes extraction using java.nio.file.Files.readAttributes method
GitOrigin-RevId: cd2f93645aab9a4cba2e1f87e05b431f0d21ee50
2022-01-31 06:31:09 +00:00
Tagir Valeev
2f15cd0c7e
[java] Key for External annotations notification group
...
GitOrigin-RevId: e91420cc00947db6bd084ccbb174945b02b77eb0
2022-01-28 10:05:04 +00:00
Tagir Valeev
453a00c310
[java-inspections] IDEA-287483 Suggest explicit type for uninitialized 'var', based on the first assignment
...
GitOrigin-RevId: 80fa9ecf09130d04c41d27ad40897ef24183e4e1
2022-01-28 10:05:00 +00:00
Tagir Valeev
e21dc50342
[java] ExternalAnnotationsManagerImpl: fix some warnings
...
GitOrigin-RevId: fc2a20c6d626ed2751a0c4cb9883d000ce42c414
2022-01-28 10:04:44 +00:00
Anna Kozlova
162b2994c1
[java] [refactorings] simplify (II)
...
GitOrigin-RevId: fd29ac96bba48b991a9ae504ab014b188a08443a
2022-01-28 07:21:55 +00:00
Anna Kozlova
1be78cbb7e
[java] introduce parameter: move delegate on top level, hide gear (IDEA-286024)
...
GitOrigin-RevId: 7f4829a590bcd1ffdb070a31c8072bd7993b6cc2
2022-01-28 07:21:36 +00:00
Roman Ivanov
46bb1ca3ea
[java] move refactoring to separate module
...
GitOrigin-RevId: 8de4efc815830feaddd1a686f00a885a428461c0
2022-01-27 12:57:22 +00:00
Dmitry Batkovich
97e1acf924
restore broken StubIndex api
...
GitOrigin-RevId: ddd65b9d10cfa044bcb6b89f20fd754be9b1220f
2022-01-26 20:19:14 +00:00
Artemiy Sartakov
67e36d74a5
IOStreamConstructorInspection: added inspection (IDEA-171230)
...
Inspection suggests conversions:
1. FileInputStream -> Files.newInputStream
2. FileOutputStream -> Files.newOutputStream
in cases when FileInputStream can be replaced with InputStream.
Also, it reuses path variable after conversion when possible (path variable should be effectively final).
GitOrigin-RevId: 474dcaeeb5336fcc8330b4b3ed65d443042ecf2f
2022-01-25 07:01:39 +00:00
Tagir Valeev
935c92fc4f
[java] Report malformed external annotations file in balloon instead of EA
...
GitOrigin-RevId: 825ab42bb5920aa30d78022450a16fe3397a76c5
2022-01-20 11:11:32 +00:00
Anna Kozlova
8cbf9a517f
[java refactoring] better explained warning message for move instance method (IDEA-285862)
...
GitOrigin-RevId: 7970b8ad4bf298d443b5fbb41dcfe76733e3e0fd
2022-01-12 15:18:40 +00:00
Dmitry Jemerov
398a58faea
i18n and normalize names for notification groups in Java plugin (IDEA-256552)
...
GitOrigin-RevId: 13f4bce1a4753d5575fe1404115832c0abb5602c
2022-01-10 15:48:00 +00:00
Bas Leijdekkers
70c0275590
fix capitalization of some intention names
...
GitOrigin-RevId: 2365475c72e9cc8623b1c726537b86dd309944f8
2022-01-06 11:53:21 +00:00
Andrey.Cherkasov
345977a17c
[java-inspections] Fixes after review (IJ-CR-16364)
...
GitOrigin-RevId: 68d047ac93ce4c2edbe200635505d661b7da25e9
2021-12-30 01:16:16 +00:00
Roman Ivanov
2717b57828
[java] highlight @snippet javadoc tag if not available at a given language level
...
GitOrigin-RevId: 7e2a20fbc52b2c8fa72018103ace9a5dc13aa454
2021-12-28 12:13:40 +00:00
Tagir Valeev
6e56b53f48
[java] Avoid loading advanced annotations for default project
...
Fixes EA-404824 - T: StartupManagerImpl.checkNonDefaultProject
GitOrigin-RevId: 1e89acaa8e2598e9c2d178f38468f96066e24638
2021-12-24 06:52:53 +00:00
Roman Shevchenko
925df50c75
Cleanup (warnings; formatting)
...
GitOrigin-RevId: 0d8207f2c380e1eba94675778b969fa349191c4c
2021-12-23 23:53:15 +00:00
Tagir Valeev
66d79effa2
[java-completion] IDEA-285384 Create else-if live template
...
GitOrigin-RevId: 8a8c932a9f51df845e536c8d670cccb08b01e108
2021-12-22 04:14:15 +00:00
Tagir Valeev
9cc417c2c7
[java-completion] Statistics for StreamConversion.CollectLookupElement
...
An attempt to fix IDEA-270266 StreamEx.toList should always be preferred to collect(toList)
GitOrigin-RevId: 06aefe875aa12ed6d1ff49eb22fbaf73a6ca4f40
2021-12-17 07:30:10 +00:00
Roman Ivanov
fd1ca7caae
[java, formatter] separate setting for space around = in annotations IDEA-168042
...
GitOrigin-RevId: a82e40692a706ac35b3b2c6ef12edfef8f068d40
2021-12-13 13:30:45 +00:00
Andrey.Cherkasov
020ffc7630
[java-inspection] SlowListContainsAllInspection (IDEA-274813)
...
GitOrigin-RevId: 8c8381b699eb83cec89889ad596fc35e81afd6f1
2021-12-02 19:00:37 +00:00
Tagir Valeev
dc3f7a9258
[java-completion] IDEA-283592 Method completion for toString() automatically invokes the toString generator - that should be optional
...
GitOrigin-RevId: 711dc0ded53119e338f844dcbcf6e78361e120fa
2021-12-02 09:16:38 +00:00
Bart van Helvert
200ad9d560
[refactoring] Fix migration capitalization
...
GitOrigin-RevId: 513d043595b004c2468d37aaea80c15ed0173375
2021-11-26 22:12:11 +00:00
Tagir Valeev
ad628b9ce9
[intention-preview] Add description for EmptyIntentionAction and FindDfaProblemCauseFix
...
GitOrigin-RevId: 4780ef686ff2e7bb4fcafdc4fa809777987fb32f
2021-11-26 06:37:15 +00:00
Bart van Helvert
01c04210bf
[jvm] IDEA-281946 Convert Java15ApiUsageInspection to UAST
...
GitOrigin-RevId: f1045e0633514d2ca3ce50edd58c06f80ebc2662
2021-11-25 09:26:06 +00:00
Daniil Tsaryov
08d62b8396
MetaAnnotationUtil: add a workaround to correctly resolve light annotation type
...
https://youtrack.jetbrains.com/issue/KTIJ-19454
GitOrigin-RevId: 77236d88522c189adbdf18920f9f9669cc2aee0b
2021-11-24 11:42:51 +00:00
Vladimir Krivosheev
0429b0130d
use murmur 3 32 instead of xxhash 64 for icon digests - reduce icon db size (mostly in memory, because on disk compressed using LZ4) and avoid loading extra classes on start-up (murmur is already used in classloader)
...
no collisions so far
GitOrigin-RevId: 1f41a238729772b4b3c4faa5de5cd1ccb9ec3f65
2021-11-19 09:43:32 +00:00
Bas Leijdekkers
7fbe24a3c3
make a few inspection names more consistent
...
GitOrigin-RevId: 60d8766fa237fcee84a42dee20146d6625ed9f72
2021-11-18 13:43:40 +00:00
Bart van Helvert
83c29d4450
[java] Fix potential freeze in change signature dialog
...
GitOrigin-RevId: 7cfdf625905b0969ea28f740f3b5d049b338ce1d
2021-11-17 20:39:30 +00:00
Bart van Helvert
efdc8e1750
[java] EA-391920 Fix potential freeze in change signature dialog
...
GitOrigin-RevId: 953e1f102aedef6d575414abfeaac9227ad905bb
2021-11-17 20:39:27 +00:00
Roman Ivanov
409192f8e0
[java, formatter] add missing option for alignment of types in catch IDEA-178941
...
GitOrigin-RevId: af52c8cba8e0f575eee9989879dc2bdf32840899
2021-11-17 18:13:24 +00:00