Mikhail Pyltsin
36f87ac0b6
[java] IDEA-354964 Migrate standard descriptors like JAVA_21 to TYPE_USE annotations
...
- fix tests
- fixes to show external annotations
GitOrigin-RevId: 79cde38663de10c2985b72e76e98372fef214b20
2024-06-26 20:34:48 +00:00
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
34dbf29a09
[java-i18n] I18nInspection: avoid i18n warning on toString called for primitive values
...
Covered by separate inspection Call to 'Number.toString()', and often it's ok to output primitives as-is
GitOrigin-RevId: 01eb4eed789a8b872cea66cfb751a778746148b5
2024-06-18 15:45:57 +00:00
Maxim.Kolmakov
71168cb8a9
IJ-CR-135039 Replace usages of PlatformTestUtil.newPerformanceTest with PerformanceTestUtil.newPerformanceTest
...
GitOrigin-RevId: 4edcfadc23f7305d68b8c08cd6ae634ee4869a2e
2024-06-03 10:14:22 +00:00
Dmitry Krasilschikov
d072954e17
IDEA-344628 fix project leak in UsageContextPanel
...
GitOrigin-RevId: bdeb1de2db2d1284c3e972b9e5dfc79b8b361e5c
2024-05-17 12:46:24 +00:00
Mikhail Pyltsin
582c1c03e9
Pattern variable can be used mass cleanup
...
GitOrigin-RevId: 2cf24395e268af841e621531336548a865f5b339
2024-04-18 14:03:54 +00:00
Andrei.Kuznetsov
c1b56a4acf
IJPL-578 wait for indexes to be ready in tests (PropertiesPerformanceTest)
...
GitOrigin-RevId: 75073449a1f99e78a975615b3b3aba30ace5774b
2024-03-25 18:00:15 +00:00
Tagir Valeev
aed276dfd3
[java-inspections] Use LocalRefUseInfo in more contexts to avoid extra PSI traversals
...
GitOrigin-RevId: 0dae53843eebe7232460cad1c809223342824cd2
2024-03-20 14:22:13 +00:00
Frederik Haselmeier
1db6508eed
[Kotlin] Added PSI-only based completion that works in dumb mode/during indexing
...
The PSI-only completion is likely show incorrect or incomplete results, but it should be much better than the text-base completion that was available during indexing so far.
The completion uses a very basic scoping mechanism to understand where declarations are made and available to restrict the shown completions.
It also uses the existing keyword completion to complete Kotlin keywords.
KTIJ-19995
Co-authored-by: Aleksandrina Streltsova <Alexandrina.Streltsova@jetbrains.com >
Merge-request: IJ-MR-126036
Merged-by: Frederik Haselmeier <Frederik.Haselmeier@jetbrains.com >
GitOrigin-RevId: 8f790bad9859fc62c3cc07c7053cf69553990463
2024-03-01 17:26:29 +00:00
Tagir Valeev
151e0e4109
[java-inspections] DialogTitleCapitalization.html: add language tag
...
GitOrigin-RevId: 427bb46c293c0f5b1920ef081b4c130fa28f7cbe
2024-02-24 12:21:32 +00:00
Andrey Cherkasov
8600782909
Mass cleanup: make extension classes final
...
^IDEA-309065
GitOrigin-RevId: 3109a0fdab7a1ae647ad8a3d69ac332dbc3b49b9
2024-02-21 16:23:34 +00:00
Tagir Valeev
6e80ef3cc7
[java] Use Java 5 features
...
GitOrigin-RevId: 7db6edf696525b8d22dadf66fe12bd867068a6eb
2024-02-15 17:28:22 +00:00
Anna Kozlova
9f17614d73
[find usages] pre-calculate presentation in BGT
...
^KTIJ-28766 fixed
GitOrigin-RevId: dde3eb300f6fd25fe03e2831f57e13c6b629d748
2024-02-14 10:26:35 +00:00
Nikita Kudrin
3dce2dce2f
[unit perf tests] AT-644 Renaming
...
GitOrigin-RevId: 464b77181de9f1e0cc6de2623201635c405ee4c3
2024-02-08 11:21:41 +00:00
Nikita Kudrin
b143fe1540
[unit perf tests] AT-644 Removed expected time from the tests
...
GitOrigin-RevId: a53f40c1721a46c7833018346dc622dec1f1b80a
2024-02-07 16:11:29 +00:00
Filipp Vakhitov
87694ae89c
Revert "Revert "VIM-547 Add timestamps to UndoManager""
...
This reverts commit 6a64d7fef4f38d5e5dc86916e63d0c4886bc505b.
GitOrigin-RevId: bbb2d9de24615a9d99458f7afc797098fb37f8c9
2024-01-17 01:50:15 +00:00
Dmitriy.Panov
efc91de03f
Revert "VIM-547 Add timestamps to UndoManager"
...
This reverts commit d0aee95900f6c9c9268a8316a3f5deaa134641b5.
GitOrigin-RevId: 6a64d7fef4f38d5e5dc86916e63d0c4886bc505b
2024-01-16 23:02:51 +01:00
Filipp Vakhitov
2e33131aec
VIM-547 Add timestamps to UndoManager
...
Merge-request: IJ-MR-122738
Merged-by: Filipp Vakhitov <Filipp.Vakhitov@jetbrains.com >
GitOrigin-RevId: d0aee95900f6c9c9268a8316a3f5deaa134641b5
2024-01-16 20:41:07 +00:00
Gregory.Shrago
32e80b8c4d
convert AnActionButton to regular AnAction
...
Fix ToolbarDecorator#addExtraAction usages and inheritors.
GitOrigin-RevId: 7da5ba3202aad932b7c819004249c9048b06b9bd
2024-01-09 00:30:28 +00:00
Bart van Helvert
e78df2a5a6
[java] Use getParameterForArgument in AnnotationContext#getParameter
...
Removes some duplicate code.
GitOrigin-RevId: 9a02da06ce8692bc586eed393bfa66a21b9c0789
2023-12-15 19:57:02 +00:00
Bart van Helvert
d4fe2ef603
[kotlin] Fix property key confidence after UAST injection host changes
...
#KTIJ-27448
GitOrigin-RevId: 90dbd2216428ec3226f98393d624ee0577de71ac
2023-12-15 13:17:22 +00:00
Bart van Helvert
16728e87b0
[uast] Remove all usages of wrapULiteral
...
This method is useless after enabling `kotlin.uast.force.uinjectionhost`. #KTIJ-27448
GitOrigin-RevId: 1f2f31224cea166b4c369c78a20883a9884ee0a5
2023-12-08 10:59:35 +00:00
Bart van Helvert
8f9178b82f
[java-i18] Migrate from ULiteralExpression to UInjectionHost
...
Required for #KTIJ-27448.
GitOrigin-RevId: 6c2b15f02fd15127a7c75f5386ea59048d161846
2023-12-08 10:59:35 +00:00
Bart van Helvert
45282b4630
[java-i18] Fix JavaI18nUtil choice pattern generation after forcing injection host
...
#KTIJ-27448
GitOrigin-RevId: 4dbb19dbed99126ca11abf80f4cc0611ebbe5d18
2023-12-08 10:59:35 +00:00
Bart van Helvert
d274c9c258
[uast] Relax return type on createStringLiteralExpression
...
Changes the return type of `createStringLiteralExpression` to account for Kotlin having polyadic string literal implementation by default. #KTIJ-27448
GitOrigin-RevId: 0797f4ea1f935ca29725f3834c535c3e60f9db36
2023-12-08 10:59:35 +00:00
Aleksey Dobrynin
2968c44e55
Refactoring: use constants instead of strings
...
GitOrigin-RevId: a5132bfb7c7f57ac96c6f7b171447d783f2f9cdf
2023-11-28 17:29:28 +00:00
Tagir Valeev
31b21e2fe6
[properties] Convert some actions to ModCommands
...
GitOrigin-RevId: 0a7ec7916aa4f01c01172a20be7c32ff3f2b5320
2023-11-08 09:40:42 +00:00
Tagir Valeev
02c494b6bd
[java-i18n] TitleCapitalizationInspection: provide quick-fix for Kotlin (only if string is externalized)
...
Fixes IDEA-335179 "Incorrect string capitalization" quickfix missing in Kotlin
GitOrigin-RevId: 9aecea5f70ff2ad9c779edc95d2cb8453d0367fd
2023-10-30 10:06:03 +00:00
Nikita Kudrin
5f15fa3f42
[test framework] AT-107 Adding dependency on intellij.tools.ide.metrics.benchmark to publish metrics
...
GitOrigin-RevId: aaeb67a13dab0038e8f8e8ec6ed7d683d4dfe5d3
2023-10-16 23:23:34 +00:00
Bas Leijdekkers
d9047d7a2b
Java: remove conditional lexing (lex string templates in lower language levels)
...
GitOrigin-RevId: f10cdb96bbd89b6a70fb9dac6bc83ce7e29c1a83
2023-10-07 19:14:25 +00:00
Alexander Lobas
1035b29274
IDEA-287157 Editor and gutter balloons: update layout, insets, colors
...
GitOrigin-RevId: 7753503766bee41b540f9e6e3ed7e39d4caf46b5
2023-10-06 21:19:12 +00:00
Tagir Valeev
77d1d0ab2e
[java-tests] Mock JDK 21 (downloaded from the repository); remove in-place mocks where possible
...
Part of IDEA-334171 Store MockJDK in artifact repository, rather than in Git
GitOrigin-RevId: 9c6214e3ead47cc164d20813f5a2b37136607213
2023-10-06 10:48:24 +00:00
Tagir Valeev
aa6829d7c1
[java-tests] IDEA-333831 Separate mock JDK and JetBrains annotations for testing
...
Also: avoid manual mocking of Java 10 classes in StreamCollector10Inlining test, use mockJDK11 instead
Also: rewrite SliceTestCase and its inheritors to LightJavaCodeInsightFixtureTestCase, as annotations.jar is not included into project created by DaemonAnalyzerTestCase
Also: 'mutates' attribute of @Contract annotation is resolvable now, as we can use newer jetbrains-annotations library.
Also: documentation tests now don't generate links to JetBrains annotations, which corresponds to the actual behavior in production
GitOrigin-RevId: e460826893c1277cb2b78b18aae9d5aca97d8333
2023-10-05 11:24:29 +00:00
Yuriy Artamonov
f6edbea8cc
[java-18n] Set language UAST for JavaReferenceContributor
...
GitOrigin-RevId: 00b32be8fbdebaa382234caf70be5ac1966306f0
2023-08-18 10:40:28 +00:00
Yuriy Artamonov
10167ae72d
[performance] IDEA-326893 Do not trigger parsing of injected fragments from InjectedReferencesContributor
...
GitOrigin-RevId: 71dab268fabd42786d1330898c23fd9fe06e70ea
2023-08-16 20:54:52 +00:00
Bas Leijdekkers
ec532d504c
Java: update inspection for string templates (IDEA-326944)
...
"Non-Basic Latin character" inspection
GitOrigin-RevId: 5f6d355d4a5d653d88d43fee5b91bc9c45990a28
2023-08-01 11:58:33 +00:00
Bas Leijdekkers
cb3d988229
Java: report non-Basic Latin text blocks (IDEA-326283)
...
GitOrigin-RevId: 3901610d4bcc9dbd2151a4f2bde7c831e007d355
2023-08-01 11:57:57 +00:00
Tagir Valeev
66d5a034d5
[mod-command] Move Presentation to top-level
...
GitOrigin-RevId: d9e495719328ca4fa9bb25bc8ce9a9d24c5ca5ce
2023-07-31 13:41:35 +00:00
Tagir Valeev
3e9a5182b4
[mod-commands] ActionContext moved to top-level
...
GitOrigin-RevId: 8a4621b5b48fed952c8a2865c8699039e42b1edb
2023-07-28 08:52:46 +00:00
Tagir Valeev
0d61f28ad5
[mod-commands] ModCommandAction#asQuickFix -> LocalQuickFix#from
...
GitOrigin-RevId: c8f2245707d267fe2412c2fd3da17bdb68557b20
2023-07-24 14:48:57 +00:00
Tagir Valeev
be9a7b3ed9
[mod-commands] Move ModCommands, PsiUpdateModCommandAction, and PsiUpdateModCommandQuickFix to analysis-api module
...
ModCommand clients should be able to avoid lang-api
GitOrigin-RevId: d85285f99e69067c35e9a1a3ea0787264406bc1d
2023-07-21 11:17:28 +00:00
Tagir Valeev
ad40c945e2
[java-inspections] More quickfixes to ModCommand
...
GitOrigin-RevId: ccc6093d680712cb81c1325d997fb2771b61a0be
2023-06-25 19:05:51 +00:00
Tagir Valeev
946805663b
[java-i18n] Warning fixed
...
GitOrigin-RevId: ccbb8d4cd33e3ded6da6db6c1364738b8f569ea0
2023-06-23 09:45:48 +00:00
Tagir Valeev
fe8778f422
[mod-command] Rename EditorUpdater -> ModPsiUpdater; move to analysis-api
...
GitOrigin-RevId: 41f8d5eb372f78e2c2c7d3a1257214c2b8c5f000
2023-06-22 10:54:21 +00:00
Tagir Valeev
88865252cd
[java-inspections] More ModCommands
...
GitOrigin-RevId: 2411bfe677ce7c4c3eba363df904429f00e35504
2023-06-18 15:07:08 +00:00
Tagir Valeev
9b7fd04f57
[java-inspections] More quick-fixes to ModCommand
...
GitOrigin-RevId: 411e4842d0ecf8cf4db0308f854e179dee46ced3
2023-06-16 09:48:14 +00:00
Tagir Valeev
eceaae8757
Enhanced switch used; other minor warnings fixed
...
GitOrigin-RevId: 36dd4522e953681b2fc3463968d172d2bf6453bf
2023-06-13 13:42:37 +00:00
Daniil Ovchinnikov
97f0a7fd3b
migrate usages of ModalityState.NON_MODAL to ModalityState.nonModal
...
GitOrigin-RevId: fb4855bfa90dbf384fed24871e4b28ab803847bb
2023-06-09 21:58:50 +00:00
Vladimir Krivosheev
227d75a1fc
don't extend DynamicBundle
...
GitOrigin-RevId: 49cbebd629a92877dbeeffba8d97b0631fb9407e
2023-05-05 09:46:42 +00:00
Tagir Valeev
59ffdbcb43
[java-inspections] I18nInspection: use OptPane; rework options panel
...
GitOrigin-RevId: 20d15487feb54c83c84efd5aaaadcdd6efd593f6
2023-05-02 09:03:01 +00:00