Dmitry Jemerov
49b08ff66b
First take on associating plugins with dependencies (IJP-877)
...
GitOrigin-RevId: 037a1edb2bc2f24d1c74f40ed5f5f9c8066c0635
2021-05-14 16:54:51 +00:00
Anna Kozlova
24eba90af5
rename: postpone aliasing targets to ensure standard conflict resolution (IDEA-247745)
...
additional targets would be appended anyway
GitOrigin-RevId: 6afa12c1fbdf694ba9124065404638606d874de3
2021-05-12 14:07:06 +00:00
Tagir Valeev
886acd3667
[java-completion] IDEA-269037 Add collectors for smart completion fixer usages
...
GitOrigin-RevId: 3e620a5189a6f2016de0cfacca81a1e137c0a3fc
2021-05-11 12:00:18 +00:00
Dmitry Jemerov
e6915b2118
Revert specifying resource-bundle for Java plugin
...
GitOrigin-RevId: 789b01e1feb196b98b56602cdbb88a9257750b73
2021-05-05 12:04:06 +00:00
Dmitry Jemerov
6e6fdcc82b
compiler.automake.allow.when.app.running -> advanced settings
...
GitOrigin-RevId: fb0b6328e242bbe0e13a14a026d8e997ffdbdcd9
2021-05-04 17:39:24 +00:00
Yuriy Artamonov
e898ecf93f
Frameworks: move starters APIs for New Project wizards to Java plugin
...
GitOrigin-RevId: e78209d9faf420b38a9d695d2653bfaae43d146c
2021-04-30 07:33:27 +00:00
Alex Plate
291b385631
[Workspace Model] Support updating artifact after updating source code
...
GitOrigin-RevId: 38248709ec9a2a4360c038ce5787ea2e977bcb64
2021-04-27 15:54:59 +00:00
Tagir Valeev
e891c7186b
[java-inspections] IDEA-266735 @Range annotation should check bounds of return value
...
GitOrigin-RevId: 80379806d869cec3cccae4175fd4ed118eb7aae8
2021-04-15 08:59:06 +03:00
Dmitry.Krasilschikov
1bc699020a
IJP-756 new project wizard - initial commit
...
GitOrigin-RevId: 9c6b9007d0e98a41e24e4a4829e7cb9290c5647d
2021-04-09 07:54:30 +00:00
Ilyas Selimov
62ee5d216b
IDEA-265399 - added statistic collector to receive information about entry points usages, complemented info about inspection profiles amount
...
GitOrigin-RevId: bc2e4911f055904f1e6a4bfce2c581d4cc4e61d6
2021-04-09 04:25:53 +00:00
Egor Ushakov
7402906943
IDEA-265686 Debugger: add collectors for "Attach debugger" and "Create breakpoint" inlay actions
...
GitOrigin-RevId: cebc3abb1c24663ff085a1c71ba46d25de4ff35d
2021-04-02 17:06:56 +00:00
Ilyas Selimov
d692e299bc
IDEA-265157 - moved jpms jlink part from compiler to jps.build module, some UI remarks
...
GitOrigin-RevId: e1b88b157dcbfd1d6e546064a010b5a20206b161
2021-03-30 08:42:09 +00:00
Ilyas Selimov
fdfa32d491
IDEA-161641 - small refactoring
...
GitOrigin-RevId: fd7ef351dbd9abd0f27cb519de6e11bb2f3964b6
2021-03-26 04:13:54 +00:00
Ilyas Selimov
3ad3f5c6fe
IDEA-161641 - initial Jlink artifacts support
...
IDEA-161641 - moved jlink packages to java.impl and java.compiler.impl modules
IDEA-161641 - small refactoring
IDEA-161641 - small refactoring
IDEA-161641 - fixed jlink tab ui, partially setup build task provider
IDEA-161641 - initial jlink implementation
GitOrigin-RevId: 2ce649f886ea43d362414d7b949f07feac5d231d
2021-03-26 04:13:53 +00:00
Tagir Valeev
b5f948dd5f
[java-highlighting] IDEA-265053 Highlight not-wellformed statements without semicolon as a "not-a-statement"
...
Also suggest 'introduce local variable' as a quick-fix
GitOrigin-RevId: 2a15a1d35ed1755ab043a40a06136ed946c4a516
2021-03-24 23:54:49 +00:00
Aleksey Pivovarov
a1e01efc2e
java: remove reference to removed 'compilerSettingsFactory' extension point
...
Follow-up: b2f2c85514d360e8d716e6f136f7c11760086f0e
GitOrigin-RevId: 1f3801351b44be5bd661ccb2a8306f1f734037f7
2021-03-24 10:51:44 +00:00
Roman Ivanov
c97105f244
[java] add chop/join actions for record components: IDEA-264997
...
GitOrigin-RevId: 6c832eaeeac6f65678ae8a8ec760cc4d57ab6151
2021-03-23 20:20:32 +00:00
Tagir Valeev
d2628e93a5
[java] Change inspection category
...
GitOrigin-RevId: 4f2b23a51031b5f1b1a1e5b690202cfa2b74a308
2021-03-15 08:48:06 +00:00
Tagir Valeev
52dd27a4bd
[java-inspections] Change inspection categories
...
1. PatternVariableCanBeUsedInspection -> Migration | Java 15
2. ClassCanBeRecord -> Migration | Java 15
GitOrigin-RevId: f2fdcad949211f5de109f9443a6743c12bf69501
2021-02-23 02:22:46 +00:00
Nikita Eshkeev
735d4f05c1
[preview] IDEA-259969 Reflective preview APIs are incorrectly reported as errors
...
This patch adds the PreviewFeatureInspection inspection that is enabled only when the language level of the project is a preview one. It allows to register warnings and suppress all the preview warnings as it's done in javac. When the language level of the project is not a preview one, HighlightVisitorImpl runs the same visitor that can report errors instead of warnings. It cannot be suppressed.
A PSI element is considered a preview feature when either:
- it is annotated with PreviewFeature directly
- one of its enclosing classes is annotated with PreviewFeature
- its module is annotated with PreviewFeature
It's worth mentioning that when a package in package-info.java is annotated with PreviewFeature this flag doesn't get to be propagated to the classes that are inside the package.
Signed-off-by: Nikita Eshkeev <nikita.eshkeev@jetbrains.com >
GitOrigin-RevId: 5bd22ea2e18ba83303156a2b9665bc54622f6344
2021-02-11 00:50:54 +00:00
Alexey Kalina
bac3c226c6
[ml-local-models] change modules dependencies structure
...
GitOrigin-RevId: 906186f2d5ff4982f0eaa263ae9d34c54df12093
2021-02-10 17:43:30 +00:00
Alexey Kalina
08debd44b6
[ml-local-models] make models extendable from different languages and independent from completion
...
GitOrigin-RevId: 312c422165285bbe1202deec04e259daca67584a
2021-02-10 17:43:29 +00:00
Nikolay Chashnikov
d767b2e1ff
[project structure] get rid of some code which takes parts of Project Structure from services (IDEA-261457)
...
Additional project-services holding parts of Project Structure dialog are not registered as separate services anymore and their instances are taken from ProjectStructureConfigurable instead. Instance of ProjectStructureConfigurable is passed explicitly where possible. This is a first step to avoid registering ProjectStructureConfigurable as a service.
GitOrigin-RevId: fe8198a9ffb284af9dd9478909a14714978c220d
2021-02-09 11:30:17 +00:00
Dmitry Jemerov
955b27e6cc
Move JSP token sets declaration to JSP plugin (part of IDEA-245041)
...
GitOrigin-RevId: 39971e8ec28786bad07db449a414584e0a764392
2021-01-27 18:10:11 +00:00
Daniil Ovchinnikov
b2d476ae36
IDEA-260227 remove GotoLambdaParameterHandler
...
This handler was needed to show the doc as if the parameter was referenced. In the new implementation we show the same
doc info regardless whether the target under caret is referenced or declared, but this handler made GTDU believe
that the parameter was referenced, and GTDU was choosing navigation to the referenced target instead of showing usages.
GitOrigin-RevId: d1a4fab90c47fad5a13409faf5d80a686b245c63
2021-01-25 18:06:24 +00:00
Andrey.Cherkasov
15e5e16602
[java-analysis] IDEA-230090 Convert the "Convert To Basic Latin" intention into inspection
...
GitOrigin-RevId: 0c72e86e96973d57f213f229fa60b0ff3d547103
2021-01-20 23:50:01 +00:00
Anastasia Ivanova
9ad5510537
IDEA-258584: add project id to java.extract.method collector
...
GitOrigin-RevId: 0bbf83b9b06a9a826dc49caccbe2e13defb26518
2021-01-20 13:03:33 +00:00
Anastasia Ivanova
b05ca0ff39
IDEA-258584: add project id to djava.find.usages collector
...
GitOrigin-RevId: 9d592e21ef8c542d369bf2e86c19ae24ed052a58
2021-01-20 13:03:28 +00:00
Nikolay Chashnikov
645a720b58
[java] API cleanup: remove unused API which was deprecated for a long time (IDEA-259329)
...
GitOrigin-RevId: b2f2c85514d360e8d716e6f136f7c11760086f0e
2021-01-15 22:21:07 +00:00
Ilyas Selimov
cfea18c4d7
IDEA-257315 - excluded silent deletion of unused module statements by addition special notification with action
...
GitOrigin-RevId: 68d40f22706d02971b3548b7992dfbec58840c17
2021-01-14 18:39:06 +00:00
Andrey.Cherkasov
48e696ee5d
IDEA-224606: Merge RawUseOfParameterizedTypeInspection and RawTypeCanBeGenericInspection into one inspection
...
GitOrigin-RevId: c47c2210c6718617c8a14a18b31607cda9d45e11
2021-01-14 07:45:13 +00:00
Dmitry Jemerov
c9c47be445
Add link for navigating from code completion options to excluded classes in auto-import settings (related to IDEA-240419)
...
GitOrigin-RevId: 1d694f41d90e45d2ffb48a6d69b2b287e9ec876e
2021-01-07 10:28:21 +00:00
Nikita Eshkeev
0f5a1abe0f
[inspection] IDEA-257415 Warnings for value-based classes (Java 16)
...
This renames ValueBasedWarningsInspection to SynchronizeOnValueBasedClassInspection and alters the logic, it checks first the original type of the monitor and if it's not a value-based class then it employs DFA to infer the type more precisely and checks the inferred type if it differs from the type of the monitor. This solution is more robust, because DFA might fail sometimes.
This patch also adds the suppressId to SynchronizeOnValueBasedClassInspection in order to support the new javac warning category.
Signed-off-by: Nikita Eshkeev <nikita.eshkeev@jetbrains.com >
GitOrigin-RevId: f7c3520b84bf6f9080280dc2689ff4f63ac4be09
2020-12-29 22:41:46 +00:00
Vladimir Krivosheev
7314077456
JavaRunConfigurationExtensionManager as light service
...
GitOrigin-RevId: 045409f26018e9787caf7c054cfbbc7940d4d715
2020-12-28 16:02:41 +00:00
Nikita Eshkeev
7760811391
[inspection] IDEA-257415 Warnings for value-based classes (Java 16)
...
This patch adds the inspection to detect usages of value-based classes' instances as monitors in the synchronize statement.
Signed-off-by: Nikita Eshkeev <nikita.eshkeev@jetbrains.com >
GitOrigin-RevId: 178533c1415b2a8f11d48db17c19baa7e6ff4d1a
2020-12-24 02:00:16 +00:00
Alexey Kalina
6c6efd077a
[ml-completion] add custom ml completion features for java
...
GitOrigin-RevId: 817b68a2ec2bd61529abf8b816ec8f4e8e19b2a1
2020-12-14 14:57:56 +00:00
Andrey.Cherkasov
99e697f12b
IDEA-253512: Fix SlowAbstractSetRemoveAllInspection
...
GitOrigin-RevId: 4629a9d2c9b72a7e4b9974bf7c4d93dea98fe7fe
2020-12-07 20:34:07 +00:00
Artemiy Sartakov
499626ba9f
TrailingWhitespacesInTextBlockInspection: added inspection to detect trailing whitespaces in text blocks (IDEA-254690)
...
GitOrigin-RevId: feaf8032b1c6dea07f0355ee16a62af0e0b88d8f
2020-12-07 08:05:13 +00:00
Maxim.Kolmakov
31df2a1b12
Fix invalid notification group ID
...
GitOrigin-RevId: 203f456342bb0c451f791343c718f9f92326a037
2020-12-03 12:45:40 +00:00
Rustam Vishnyakov
67b8c50008
New PsiFile-based JavaFileCodeStyleFacade and factory, deprecate old JavaCodeStyleSettingsFacade
...
GitOrigin-RevId: 341fff7c6f3e13992f9349f9e04984578e1342d2
2020-12-02 11:27:00 +00:00
Artemiy Sartakov
f4feef1a9e
InconsistentTextBlockIndentInspection: added inspection to detect text blocks with tabs and spaces in indent (IDEA-254690)
...
GitOrigin-RevId: 71721bc908e6226e7d1dfcfcd2b4ab3c435337e2
2020-12-02 04:01:21 +00:00
Andrey.Cherkasov
1a2cdf16e1
Remove property
...
GitOrigin-RevId: 15311108f96c9bb2fc59cdb10ec62ec4c710c6d7
2020-11-30 22:50:14 +00:00
Andrey.Cherkasov
95a12db895
IDEA-253512: Fixes after review
...
GitOrigin-RevId: 0c9d42259d6a5169c449b536aa4e7b982446b10a
2020-11-30 15:12:44 +00:00
Bart van Helvert
dbb236b166
[UAST] IDEA-254704 Convert illegal package dependencies inspection to UAST
...
Converts the illegal package dependencies inspection to an UAST inspection and adds tests for Kotlin and Java.
GitOrigin-RevId: 81fa5e8c4928277f9fd62b57161d2437d2604991
2020-11-23 19:08:11 +00:00
Vladislav.Soroka
ea5b5de628
Move JPS build issue contributor EP to compile-impl module
...
GitOrigin-RevId: a2ec222e66183c0bb79e54f8726caee73e950b3e
2020-11-23 13:21:44 +00:00
Tagir Valeev
9b29124e0a
[java] Convert method name reference injector to UAST (IDEA-CR-68862)
...
GitOrigin-RevId: c3c0e5c81fedd658df657aa686e62d2b8e86365d
2020-11-20 03:05:27 +00:00
Ilyas Selimov
1ccbca5ce2
IDEA-176682 - fixed module-info descriptor tab label
...
GitOrigin-RevId: ec2d06e7809ed0d88ee7931c57062f38e89667f3
2020-11-18 09:37:36 +00:00
Alexander Bubenchikov
ac3b8e775e
IDEA-211863 - build tool window quickfix move extension - revert changes
...
GitOrigin-RevId: 302bd6e516ae9c894fa1198f9c14d83ba9d698a6
2020-11-17 14:19:00 +00:00
Tagir Valeev
525b16df61
[java] ReferenceInjector to refer to method name in current class
...
Fixes IDEA-255177 Allow an annotation attribute to be marked as "references a method name"
GitOrigin-RevId: 6a979ba8d80729024846e356c293da959d8c9f7b
2020-11-17 07:32:47 +00:00
Alexandr Suhinin
0fa2c6d57f
IDEA-252822 [inplace extract method] add usage counters
...
GitOrigin-RevId: 56f9b2ad4f1b682b5081a6279e80a60285b1277d
2020-11-12 21:40:05 +00:00