Tagir Valeev
df1679571e
Some 'Result of method call ignored' warnings fixed or suppressed
...
GitOrigin-RevId: 757e7bc0b1d7cb7cbf4a13c35e4f5c1fc375e0a4
2024-06-18 20:08:54 +00:00
Tagir Valeev
cd0459d220
Pattern variable hides field warnings fixed
...
GitOrigin-RevId: ed5d717578bd3d765bd865ab27dd93521e2a7323
2024-06-18 19:55:23 +00:00
Tagir Valeev
440654c48f
Pattern variable can be used fixes; other warning fixes
...
GitOrigin-RevId: 49f37e7f5d748be50ee66fdf66a5c9b98b1b7432
2024-06-18 19:55:23 +00:00
Tagir Valeev
3fd0f4975d
Pattern variable can be used fixes; other warning fixes
...
GitOrigin-RevId: 4965216d1872b439970db33dbe2864d5aab9606e
2024-06-18 19:55:23 +00:00
Bas Leijdekkers
b0b4e53ad2
Java: strip trailing whitespace from text-block string template end correctly (IDEA-354777)
...
GitOrigin-RevId: fa0266faeeaf63b04451b4f068550e22e2cdf8ee
2024-06-18 19:20:03 +00:00
Bas Leijdekkers
19bcdae73f
Java: quick fix should insert empty string when need to convert expression to string concatenation (IJ-CR-136837)
...
GitOrigin-RevId: aab43eb95b7bd05f70d1b187f2b0619a437bc21e
2024-06-18 19:20:03 +00:00
Maksim Zuev
b76e7618df
[debugger] Report smart step into targets location in internal mode
...
GitOrigin-RevId: e22ea357a27556f4d7da8ad67b1578f009df5733
2024-06-18 16:44:05 +00:00
Mikhail Mazurkevich
a3ddcc63a5
[workspace model] IJPL-797 intellij.platform.projectModel review internal API (workspaceModel package)
...
GitOrigin-RevId: f50f4cea39cfefecf13832d6ef468668ad0f7d60
2024-06-18 15:57:31 +00:00
Mikhail Pyltsin
70f1723530
[java] IDEA-355024 use explicit modifiers for formatting and for suggestion.
...
GitOrigin-RevId: 770b9a3d009fe5734d0732feeebde54d3566819c
2024-06-18 13:55:12 +00:00
Mikhail Pyltsin
6568ebd170
[java] IDEA-355024 don't use hasModifier on EDT
...
GitOrigin-RevId: 039c84abb7051af0e49aef654ac68b825dfa7696
2024-06-18 13:55:12 +00:00
Mikhail Pyltsin
46c1a5c6e9
[java] IDEA-355024 try not to propose suggestion in dumb mode
...
GitOrigin-RevId: dca5096fb7079ef4623f100fb0e7c0ab37eb2df4
2024-06-18 13:55:12 +00:00
Tagir Valeev
522f2ab43e
[i18n] Fix internationalization warnings
...
GitOrigin-RevId: 7b4a959cf215d79d86d6d9a7727f0fc054097517
2024-06-18 13:46:50 +00:00
Tagir Valeev
1df10af0b5
[java-completion] ChainCompletionContext: attempt to fix sporadic failures like
...
com.intellij.openapi.util.RecursionManager$CachingPreventedException: Caching disabled due to recursion prevention, please get rid of cyclic dependencies. Preventions: [ignoreDumbMode->RELIABLE_DATA_ONLY]
at com.intellij.openapi.util.RecursionManager$2.mayCacheNow(RecursionManager.java:190)
at com.intellij.psi.impl.JavaPsiFacadeImpl.findClass(JavaPsiFacadeImpl.java:85)
GitOrigin-RevId: 0eebe6b51eb7dc0516e30d7f388fdb04ff6b9e8f
2024-06-18 12:26:39 +00:00
Tagir Valeev
cfffe7e49e
[java-tests] PackagingValidationTestCase: remove unused myQuickFixes
...
GitOrigin-RevId: a05bfa1eed87bef0de7afb8fd450ac2b4c288fb9
2024-06-18 12:26:39 +00:00
Tagir Valeev
2fcef82733
[java] ComponentTypeOfMacro: fix lookup items
...
GitOrigin-RevId: 9f52fc318aa85456b6cf704b0301a0fcd8f7aa8f
2024-06-18 12:26:39 +00:00
Tagir Valeev
191e65634e
[java-analysis] ProjectBytecodeAnalysis: do not rewrite null->x contract with _->x if notnull parameter was inferred
...
Fixes IDEA-354381 Unreachable code inspection fails when using Streamable.of()
Unfortunately, the test does not differentiate the bug. I failed to write a good test in a reasonable amount of time. Nevertheless, the original issue is fixed.
GitOrigin-RevId: 55b0f169c93d1cef9453c3eb88959ea4832a917a
2024-06-18 12:26:39 +00:00
Louis Vignier
c289726b57
[fus] Detect JDK vendor in JavaLanguageVersionsCollector
...
#IDEA-291470 Fixed
GitOrigin-RevId: bd07db9dfa6520b0c4ffaeec32eb4e864abdd3b1
2024-06-18 12:06:00 +00:00
Louis Vignier
7269f67e2e
[fus] Make JDK vendor detection uniform
...
GitOrigin-RevId: 35859efa0b1f6590b8b2fbbf1744e0f58c04a406
2024-06-18 12:06:00 +00:00
Louis Vignier
38c8e76b7d
[refactoring] Migrate change signature gutter icon tests to inlay provider tests
...
#IJPL-10790
GitOrigin-RevId: c55dfc9d42dc0e1c14239c92b4dfca94a8005bc2
2024-06-18 12:06:00 +00:00
Dmitry Yudin
2157456570
IJPL-156058 Use a sequence and better name check in JDK search in JdkWarmupProjectActivity
...
GitOrigin-RevId: 26f6b80ad2a57c9ba912a625d4cd46f9a930f2a2
2024-06-17 22:31:26 +00:00
Alexandr Trushev
1e4e505e16
IJPL-797 intellij.platform.editor review internal API
...
GitOrigin-RevId: 514591f43e57749b752d8399d08b2cfd79fb34ea
2024-06-17 22:06:02 +00:00
Mikhail Pyltsin
e42c3ee1e4
IJ-MR-136429 [java-generation] IDEA-344399 generate annotation based on type_use option
...
- fix message
- fix comparator
GitOrigin-RevId: 842fbf9e29150159ae92a47eddb84eb9a8d7288a
2024-06-17 21:14:57 +00:00
Mikhail Pyltsin
9bf2727703
[java-generation] IJ-MR-136429 IDEA-344399 generate annotation based on type_use option
...
- fix non-standard-root-packages
- introduce project descriptors
GitOrigin-RevId: 41db7240e29fbfed81957df2d68e2de29c573ef2
2024-06-17 21:14:57 +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
Yuriy Artamonov
514a6af057
[fus] IJPL-149278 Report file schema usages correctly computing value in NBRA
...
GitOrigin-RevId: 2b8639e9ab2cda0cfadfff9e4140b97921a38ddf
2024-06-17 20:24:55 +00:00
Mikhail Mazurkevich
5224cc5e77
[workspace model] Hide entity field EntityChange.Removed and EntityChange.Added
...
GitOrigin-RevId: 8cf5fda04c6b86c370b40b199f5e0e7faf879a02
2024-06-17 15:09:37 +00:00
Tagir Valeev
20c7b3400a
[java-refactoring] MoveInstanceMethod: moving abstract method to interface should not change the 'default' modifier
...
GitOrigin-RevId: db6aca91eed8c0d7bebe6bb86dd398a3a372bfab
2024-06-17 13:22:21 +00:00
Tagir Valeev
a550238d23
[java-inspections] RedundantThrowsDeclarationInspection: cosmetic
...
GitOrigin-RevId: 27d94b7261d67a743b52d90a43692ca896406582
2024-06-17 13:22:21 +00:00
Dmitry Avdeev
c6676edd65
[workspace] allow opening workspace without modules
...
GitOrigin-RevId: 3298642a9a0aa1e7b6c36fe547258ddef3115b25
2024-06-17 12:50:39 +00:00
Dmitry Avdeev
1cc78a8d57
IJPL-156448 Run Configuration is produced in EDT
...
tuning ActionGroupWrapper
GitOrigin-RevId: 2c77669f4a0976ac083312a16192e253e5c2f522
2024-06-17 09:52:44 +00:00
Vladimir Krivosheev
e725a62891
IJPL-796 refactor HighlightingMarkupGrave
...
GitOrigin-RevId: ff1087bac8b556dd801bf75b63c986741e3c0c47
2024-06-17 08:18:07 +00:00
Lev Serebryakov
1f01aac790
IJPL-149317 Disable Write Intent Lock for runnables executed on EDT
...
Wrap runnable in DebuggerInvocationUtil.swingInvokeLater into ReadAction.
GitOrigin-RevId: cbf9b409baa10a0c037a8cb5da11427f1774245a
2024-06-16 06:51:19 +00:00
Dmitry Avdeev
9e0d76f66d
IJPL-156448 Run Configuration is produced in EDT
...
wrapping CreateRunConfiguration action spoils ConfigurationContext cache, so it's removed
hopefully this won't break scenarios described in IDEA-144385 (When JUnit run configuration exists it's hard to run main method in the same class)
GitOrigin-RevId: 4cf9d044c0e74a5fb2ccb134c379918181a8883f
2024-06-15 23:25:40 +00:00
Alexander Lobas
89d58ee436
IJPL-150231 Move icon mappings from json to icon generator
...
GitOrigin-RevId: 4d4576fc7eeb92ec43c36abec2d62d271b45d9a4
2024-06-15 23:19:46 +00:00
Dmitry Yudin
65b5af76bd
IJPL-156058 Update JDK handling in warmup activity
...
This update refactors the JdkWarmupProjectActivity class, implementing a better check for existing JDKs. This change optimizes the way the class avoids creating unnecessary JDKs.
GitOrigin-RevId: 930a98cc6ed03bbbbbf2f79b5d5d6bfe262ad950
2024-06-15 22:56:55 +00:00
Yuriy Artamonov
b9416a8db9
[java] IJPL-34876 Declare icons and texts for ParseSdkmanrcAction declaratively
...
GitOrigin-RevId: 16e5d519d8be7f64fd5f286580d70c96c91d72de
2024-06-15 21:01:31 +00:00
Vladimir Krivosheev
28a4004c72
IJPL-796 store DaemonCodeAnalyzerImpl in PRODUCT_WORKSPACE_FILE
...
GitOrigin-RevId: 936619ce815ba0f31a6e5c117f9e18102e143aca
2024-06-15 19:18:55 +00:00
Vladimir Krivosheev
a2b39c12f4
IJPL-796 reduce calls to isEditorLoaded
...
GitOrigin-RevId: c89f849d5cd98b542435ed9e069cf71011ed3596
2024-06-15 19:18:55 +00:00
Vladimir Krivosheev
69fe677cde
IJPL-796 refactor JavaFileIconPatcher
...
GitOrigin-RevId: c15082085eda3160d89a94424d4303c06d71ed8e
2024-06-15 19:18:53 +00:00
Vladimir Krivosheev
d1cb6a3c43
Rename .java to .kt
...
IJPL-796
GitOrigin-RevId: 9a3318328d5730bcea5aab6b019eb969d5997fb5
2024-06-15 19:18:53 +00:00
Vladimir Krivosheev
a0b34c51a6
IJPL-796 fix memory leak - clear selected tab
...
GitOrigin-RevId: ca708e8b3acf2d6ebd638f81b4d89c062ade42c5
2024-06-15 19:18:50 +00:00
Vladimir Krivosheev
e5475bc39c
move service.kt to core-api
...
GitOrigin-RevId: 496653a5afebb1d32ffccd8c7c3e9f6d1d3f60fd
2024-06-15 18:11:52 +00:00
Mikhail Mazurkevich
1151f841e0
[workspace model] Regenerate entities
...
GitOrigin-RevId: 6eda295099f0eac35dde2f3ec8f7f5fa876295db
2024-06-14 20:11:59 +00:00
Georgii Ustinov
1df6b52d4b
[Java. Code Formatting] Add settings of configuring spaces for simple one-line methods to JavaFormattingStyleCollector
...
IDEA-270369
GitOrigin-RevId: 671d77f7828c7932bddf67fe507f56086c0b5887
2024-06-14 19:38:46 +00:00
Tagir Valeev
9766de10a4
[java-analysis] NullableNotNullManagerImpl: more robust tracking of updated defaults
...
GitOrigin-RevId: bb75619bbd246d8dcbd3538f5e99122a9da25fe4
2024-06-14 18:18:48 +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
Maria Sokolova
039028fe06
[coroutines-debugger]: Fix stepping through and leaving scope coroutines
...
* Fixed extraction of continuation for `ScopeCoroutine` and moved the computation to the Helper class
* When stepping over the closing bracket of the suspend block -> step out
Merge-request: IJ-MR-136650
Merged-by: Maria Sokolova <maria.sokolova@jetbrains.com >
GitOrigin-RevId: c391c0097530c37d0c2d10fae88df221fffa0fd9
2024-06-14 16:47:27 +00:00
Tagir Valeev
0fbc75af31
[java-dfa] AssertJInliner: support more intermediate ops
...
Fixes IDEA-354935 Using `withFailMessage()` on assertJ assertion triggers "'Optional.get()' without 'isPresent()' check" warning
GitOrigin-RevId: 35b6be2f36ee911451d12c32c2ad406fdd601296
2024-06-14 16:10:44 +00:00
Mikhail Pyltsin
3b46b03d0b
[java-logging] IDEA-354689 freezing with too long name
...
- fix comparison
GitOrigin-RevId: 47dd53f5d7c770d496d1b9b826884f6f4715a650
2024-06-14 16:09:20 +00:00
Tagir Valeev
567e0b0d05
[java-intentions] IDEA-270206 Nullability annotation at type parameter/wildcard: add a quick-fix to move it to the bound
...
GitOrigin-RevId: e8e56c2d27a77414045064c784f48ff712ad0d2d
2024-06-14 16:05:02 +00:00