Alexey Kudravtsev
bc0ed54e20
notnull
...
GitOrigin-RevId: 6bff4f44575e9aedc8671b8373181549570f9a78
2024-08-28 17:06:48 +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
Mikhail Pyltsin
b995854818
IJ-CR-142886 [java-intention] IDEA-357879 "Replace catch sections with throw" intention doesn't check ancestors
...
- fix logic for super method
GitOrigin-RevId: 8cc9be656ea63665c9078266defcd62fbe9612a0
2024-08-27 17:21:14 +00:00
Tagir Valeev
70aabe4830
[java-inspections] AbstractClassNeverImplemented: improve description; reorder check for efficiency
...
GitOrigin-RevId: 4a7508def1712070c231ddc3ce6fd804bbc05784
2024-08-27 16:39:09 +00:00
Alex Plate
f093067ae0
[Workspace Model] [IJPL-161113] Extract createEntitySourceForArtifact into the separate service
...
GitOrigin-RevId: 58c2a87fdd325a95c738117e97468de38e090605
2024-08-27 16:19:06 +00:00
Lev Leontev
172c2c8079
Use instanceof pattern matching instead of cast
...
GitOrigin-RevId: c3a65d99455122b99e922934416e780c3746d187
2024-08-27 14:37:28 +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
9950dd3f03
[Java. Inspections] Don't use null as quick fix in ForwardCompatibilityInspection
...
IDEA-358316
GitOrigin-RevId: 27a5785c0c2ab13a7409f84b78cca2c884286992
2024-08-27 10:05:40 +00:00
Georgii Ustinov
770a11d8ba
[Java. Inspections] Show choice popup for AddExceptionToThrowsFix only when there are no compiled methods in hierarchy
...
IDEA-358300
GitOrigin-RevId: 8c0f00afd3f913ff706224261fbe282aef3db240
2024-08-27 10:05:40 +00:00
Anton Kozub
f208071b61
IDEA-354490 Added the switcher
...
GitOrigin-RevId: bf34c8ca3aabb56ef02bcc80d935ff055682329d
2024-08-26 12:57:03 +00:00
Anton Kozub
f8acffcc57
IDEA-354490 Customise Structure tool window for Spring elements
...
GitOrigin-RevId: b0ba9385fc2f8421b3f334aec25431d1a8e985c7
2024-08-26 12:56:58 +00:00
Mathias Boulay
d56883b763
fix(JavaDoc): formatter, inspections
...
GitOrigin-RevId: 77686401cbf38ea31e93311a608bac7472ccc73c
2024-08-26 10:42:10 +00:00
Max Medvedev
1729cd94d5
cleanup JavaTelescope
...
GitOrigin-RevId: 881c66ff97088cd4e97cf2567c9fd7935578ddf0
2024-08-25 16:36:01 +00:00
Lev Leontev
b04878ccf6
[platform] Optimize getClassesLanguageLevel: search for jars only in libraries/SDKs and not inside modules
...
GitOrigin-RevId: 786847ec84ec2a1e20c76fb4b7fd16a509c423df
2024-08-23 17:45:57 +00:00
Vladimir Lagunov
29c0446ddd
JavaSdkImpl: don't try to show error dialogs in setupSdkPaths from BGT
...
GitOrigin-RevId: 9ff689f53dc3369d79d452dc7c48aa96f6075ddc
2024-08-23 15:44:33 +00:00
Alexey Kudravtsev
499380e0e9
fix NPE in create field from usage
...
GitOrigin-RevId: 518fc08ffaea2db15ffc9d7cd6e88b36d82d1085
2024-08-23 12:17:39 +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
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
e2e6809274
Java: avoid infinite loop when creating switch branches for enum with duplicate constants (IDEA-357561)
...
GitOrigin-RevId: e9c84396786baceb58501a56d5d7e529f5ae9276
2024-08-22 15:27:14 +00:00
Ivan Fomenko
ec3b7d382c
IDEA-259784 Type hints: show implicit types of lambda parameters
...
GitOrigin-RevId: 586b24be8f16e61de4e02c588fa5b3546d34ff41
2024-08-22 12:33:01 +00:00
Mikhail Pyltsin
5b12db3e7e
[java-action] IDEA-356782 Incorrect place of caret into text block with injection after enter
...
- fix visibility
GitOrigin-RevId: 7110dd86ff015e1dd7bdc1f3ba666c26f291a8bf
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
Bas Leijdekkers
3d38ad9549
Java: use getField() instead of getAllFields() to get enum constants
...
GitOrigin-RevId: b16e164b1f42e642d6422de7c8badbb677c20e0b
2024-08-21 09:12:08 +00:00
Bas Leijdekkers
f78ebb663a
Java: Show confirmation dialog on Undo Paste Class performing (IDEA-146073)
...
GitOrigin-RevId: 4194929bf3b9561fe3b7d184421e5386c244cbf1
2024-08-21 09:12:08 +00:00
Gregory.Shrago
3af17c93f0
drop allowSlowOperations usages
...
GitOrigin-RevId: 5118241ba0c9a06018104f24f10d4a47f1d630dd
2024-08-20 16:56:17 +00:00
Mikhail Pyltsin
46c33c46e3
[java-intention] IDEA-357879 "Replace catch sections with throw" intention doesn't check ancestors
...
- fix test's flakiness
GitOrigin-RevId: ce2d52a107441215c5c8f953916e2203196fbc25
2024-08-19 23:46:04 +00:00
Mikhail Pyltsin
6d84f1e4df
[java-intention] IDEA-357879 "Replace catch sections with throw" intention doesn't check ancestors
...
GitOrigin-RevId: ab1f6d8c13b76850481b38c3fe0137f22fc11071
2024-08-19 20:00:05 +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
Ilya Kirillov
341aea1991
[Kotlin, Java] fix performance in completion by disabling Java-specific com.intellij.codeInsight.completion.DeprecatedSkipper in non-Java languages
...
^KTIJ-31014 fixed
(cherry picked from commit 5ae85bc4f0f7b27965595605bcf5d0fcb06c996d)
IJ-MR-142759
GitOrigin-RevId: fa8733e26b0d43bd0d9c6735da8ac110e5e2765e
2024-08-19 14:06:41 +00:00
Mathias Boulay
f95cbb9677
fix(JavaDoc): better autocomplete
...
GitOrigin-RevId: 64cc8794d732cd08566413b0070b371768e47d8f
2024-08-19 10:39:25 +00:00
Max Medvedev
9c7195c590
introduce an experimental way to navigate from todo comment to todo toolwindow
...
GitOrigin-RevId: f97a892e63eb986258397b2a7df7af67e648c897
2024-08-18 23:30:58 +00:00
Mikhail Pyltsin
c56e5e7313
[java-inspections] IDEA-357725 LoggerInitializedWithForeignClassInspection should skip when the logger is the final field
...
GitOrigin-RevId: e910d9bb094f058c363148a3d08b695276bcc2c6
2024-08-15 18:02:00 +00:00
Ilya Kirillov
8f34a2a79f
[java] allow providing exclusions for PsiShortNamesCache by specific languages
...
It will be additionally used in the following commit
KTIJ-30842
GitOrigin-RevId: 8370a2ef5157b8c4afff45cfbf6c1e563cb9cd82
2024-08-15 17:53:01 +00:00
Gregory.Shrago
c747b110fc
migrate to DataSink.lazy: project view
...
GitOrigin-RevId: 4a0fa6589c3cb8839d18014c92cf12592f682af5
2024-08-15 08:03:57 +00:00
Mathias Boulay
abd7b1dded
fix(JDoc): Formatting and inspections issues
...
GitOrigin-RevId: 910e9b3335fa7c3967fb79893ecba7c69595a201
2024-08-14 18:24:38 +00:00
Aleksey Dobrynin
d04cde423f
[java, compilation-charts] draw only on a viewport
...
GitOrigin-RevId: f7bb3dd1b0fbdf03727b539815938ea8530571d9
2024-08-14 16:09:07 +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
Louis Vignier
14674dc98a
[jdk] Add a comment for the project activity delay
...
IJ-CR-140587
GitOrigin-RevId: abff95e151c9e14384d6da577db0c003d41e3ea8
2024-08-13 09:54:17 +00:00
Mikhail Pyltsin
bd38347379
[java-imports] IDEA-357312 support several imports
...
GitOrigin-RevId: e1406e6e6c72dddc16abab94f341ab32095aa64e
2024-08-12 16:10:32 +00:00
Bas Leijdekkers
f40ed914fb
Java: fix "Missorted modifiers" options and messages
...
GitOrigin-RevId: ab41b6c1d135c9b788feeec4a273a6f483b9bfa5
2024-08-12 13:37:26 +00:00
Alexandr Suhinin
31b5122a18
[extract method] do not wrap with empty literals
...
If selection is like:
" + expr + "
GitOrigin-RevId: 8e2833d3dc6d12e0f58d2ce019bec1cf050007de
2024-08-12 09:29:26 +00:00
Ilya Kirillov
3e42f78fcc
[kotlin] Do not use resolve/LC in go to class/symbol for Kotlin
...
Instead, implement the functionality via Kotlin declarations. Previously, it worked in a mixed mode: some declarations were provided via LC, some via Kotlin declarations.
Additionally, this change makes Kotlin "go to symbol/class" fully dumb-aware.
New behavior:
- All declarations are now provided via plain Kotlin declarations.
- No Light Classes are used:
- To avoid using LC, `PsiShortNamesCache` is adapted in a way that it can ignore `PsiShortNamesCache` implementations which are explicitly marked as producing generated declarations instead of existing Java-based PSI like `PsiClass`, `PsiMethod`, etc.
- `KotlinShortNamesCache` is marked as such, so it's ignored.
- As no resolve is used, all Kotlin contributors work in dumb mode.
- For facade declarations, like callables (functions or properties) from a facade or a facade class itself, new Kotlin contributors create new `PsiElementBasedNavigationItem`:
- It points to the original Kotlin declaration (or to a `KtFile` in the case of a facade class itself).
- In go to class/symbol action, duplicated declarations are merged with the original ones, so they are used only for text search purposes.
- It's reflected in the tesdata updates
- `GotoSymbolModel2.getFullName` is updated so it can handle not only `PsiElement` but also a `PsiElementNavigationItem`
- Behaviour of qualified name is stabilized:
- Previously, it produced `(in Container).Foo` for LC-based classes and `Container.Foo` for plain Kotlin classes.
- Now, it always produces `Container.Foo`
- It's reflected in the tesdata updates
^KTIJ-30913 fixed
^KTIJ-30842 fixed
GitOrigin-RevId: c671f6e161dd530e19e8abbbc7046f1cd121908d
2024-08-09 19:06:53 +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
Mikhail Pyltsin
0f5aa949cb
[java-inspections] IDEA-357190 Support JEP477 - Remove unnecessary qualification is not suggested when it can be
...
- check if class is already imported
GitOrigin-RevId: 11a43bf80302194a4f8b34125de2bb741f1f3bac
2024-08-09 11:00:42 +00:00
Bas Leijdekkers
91cff4a4f1
Java: inspection for migration to Markdown documentation comments (IDEA-357191)
...
GitOrigin-RevId: 94d6c21d713073df58e2f6fb2bbd348a7039b9ce
2024-08-08 20:19:46 +00:00
Yuriy Artamonov
6392989590
[fus] IDEA-356366 Update Library usage statistics for Kotlin
...
GitOrigin-RevId: b31314060707329bfd747dbed2b7fc17988d24a7
2024-08-07 20:57:21 +00:00
Anton Kozub
51095df061
Changed RE plugin description
...
GitOrigin-RevId: ee583cc36a20d6622ce78b462438588b57ceef1e
2024-08-06 21:40:48 +00:00
Mikhail Pyltsin
858aaf9898
[java] IDEA-355048 Support binary files (.class) in split mode.
...
- support kotlin compiled classes
GitOrigin-RevId: 8a1ec87426603d017068bb2f311edb105fa5e977
2024-08-06 20:55:58 +00:00