Commit Graph
864 Commits
Author SHA1 Message Date
Nikita Iarychenko d805aca0a2 OPENIDE #77 Replace the text with the mention of Jetbrains and Intellij IDEA in properties files
(cherry picked from commit e126540d08)
(cherry picked from commit 8ed85987f5)
2025-12-05 11:16:52 +04:00
Nikita Iarychenko 51375259d7 OPENIDE add missing copyrights
(cherry picked from commit b729986736)

(cherry picked from commit 1eb3edbbba)
2025-12-05 11:09:42 +04:00
axiomandNikita Iarychenko bf42ae1d61 16 branding defects fixed.
(cherry picked from commit 4ede66edf1dba37f984904252add615415421e2b)

(cherry picked from commit 89b579e3eb)

(cherry picked from commit 18f177c16a)
2025-12-04 12:21:54 +04:00
Tagir Valeevandintellij-monorepo-bot b19ff01e91 [java-inspections] IDEA-381329 IDEA provides the warning for code even if JSpecify added transitively and code in project is not marked.
(cherry picked from commit 2454b9d89a12c4c5afabb370b84ac17362b56ccc)
Review ID: IJ-CR-181202

GitOrigin-RevId: 76016e9c1dc4c1064357ffca1005e60841b6e3d9
2025-11-04 13:36:18 +00:00
Mikhail Pyltsinandintellij-monorepo-bot 119ea0e42b IJPF-CR-30496 [java-inspections] IDEA-376710 "Static import can be used". Add a quick-fix to delete imports from the table
- delete `for`


(cherry picked from commit 5ff933341b75d73c4c2b53cefbf5d82df488e6a5)

IJPF-CR-30496

GitOrigin-RevId: 35a48d4730458ad36f546e0d2238166b75b54324
2025-10-21 11:33:20 +00:00
Georgii Ustinovandintellij-monorepo-bot 5480b565a5 [Java. Inspections] IDEA-375132 Nullable return incompatibilities Basic implementation.
MR brings detection of nullable inconsistencies inside return expressions for generic types. Now it supports
- Support of arbitrary generic type (previously only collections was supported)
- Recursive detection of inconsistencies
- Detection of assigning not-null to nullable (via option)

GitOrigin-RevId: ed37ea02ca44db58698f36f2ca82c67171733e69
2025-10-02 14:36:35 +00:00
Georgii Ustinovandintellij-monorepo-bot f494dedbcf [Java] IDEA-380112 Move jshell notification group to Jshell plugin
GitOrigin-RevId: 4b6ef97109f475edf9e2000693b4017337677b6d
2025-10-01 06:50:09 +00:00
Louis Vignierandintellij-monorepo-bot 115c73bc1e [javadoc] Highlight unresolved fragment references
IJ-MR-174748
#IDEA-376337

GitOrigin-RevId: 4352c370375c968392ea81cdcfab262ebd7fa5ab
2025-09-17 19:25:19 +00:00
Louis Vignierandintellij-monorepo-bot c4c3151607 [javadoc] Update JavadocDeclarationInspection for fragment references
#IDEA-379008 Fixed

GitOrigin-RevId: bc90a975bae732a505d9bae1550f4fa475ea0ec7
2025-09-17 19:25:18 +00:00
Tagir Valeevandintellij-monorepo-bot 2d07719498 [java-inspections] IDEA-379168 follow-up
1. Quotes around type in action name
2. Highlight only variable type+name but not initializer

GitOrigin-RevId: 6e473eb983a5226ac3fb4fb07e573c5d395cea11
2025-09-16 14:41:19 +00:00
Tagir Valeevandintellij-monorepo-bot 3789ebd31c [java] IDEA-372145 followup: i18n column name
GitOrigin-RevId: 105bbb2d9b885929b8cc3b21422009a654ebaa46
2025-09-12 16:59:10 +00:00
Tagir Valeevandintellij-monorepo-bot 2bd42bb487 [java-intentions] IDEA-379168 Suggest renaming underscore variable when it's used.
GitOrigin-RevId: eb0cfd7ddf8d5d730198ea5cd064cca79724348e
2025-09-11 18:13:46 +00:00
Mikhail Pyltsinandintellij-monorepo-bot 7bd6b4e9b5 [java-inspections] IDEA-376710 "Static import can be used". Add a quick-fix to delete imports from the table
GitOrigin-RevId: f0ae37f2fcdce9b5536e3b52e6a609e093490c69
2025-09-10 10:52:07 +00:00
Bartek Paciaandintellij-monorepo-bot 224125a2d6 [java-inspections] IJPF-CR-30229 ClassCanBeRecord description: remove "will" because "if" is used
GitOrigin-RevId: e3dc5831a8e53c43b76dabb565e7b44b973d9069
2025-09-05 18:05:54 +00:00
Mikhail Pyltsinandintellij-monorepo-bot 890a476744 [java-inspections] IDEA-378785 Simplify the message for inspection "Convert implicit class to regular"
GitOrigin-RevId: cbc09391e73e67901c8969f369b2a6c770100477
2025-09-04 14:15:15 +00:00
Louis Vignierandintellij-monorepo-bot f495fa791e [jdk] Download JDKs declared in .sdkmanrc
The new code vision makes it possible for `ExternalJavaConfigurationProvider`-s to declare actions when the JDK to be configured is missing.

#IDEA-364749 Fixed

GitOrigin-RevId: 004bc1260bf1f167d07832dea93f8c94bb0f67c3
2025-08-29 14:42:24 +00:00
Louis Vignierandintellij-monorepo-bot 323e1ae105 [jdk] Add code vision for external Java configuration tools
IDEA-364749

GitOrigin-RevId: cbd4a97359c41efe147177cac8b4f0e048b671b3
2025-08-29 14:42:24 +00:00
Bartek Paciaandintellij-monorepo-bot c1c102bcd6 [java-inspections] IDEA-371645 ClassCanBeRecord: change option phrasing and change default option
See the linked ticket for more discussion.

GitOrigin-RevId: 7ebc61d24678bb8ed5e5f71507d12802c39b46ff
2025-08-22 18:06:21 +00:00
Bart van Helvertandintellij-monorepo-bot 3b69ef04c5 [java] Improve idea.no.launcher message
#IDEA-374134

GitOrigin-RevId: 6c1a3f5efccf47b6e5587c04c81f09c641c72d51
2025-08-18 14:32:39 +00:00
Bart van Helvertandintellij-monorepo-bot 488e7904ca [junit] Add a warning message when running JUnit RT with Java 7
The RT module is now compiled to Java 8 bytecode, making it impossible to run with Java 7 or lower. #IDEA-375828

GitOrigin-RevId: 1c084c6c7da12c5ca9d715419c20f3a24b56a8a3
2025-08-14 22:20:44 +00:00
Bart van Helvertandintellij-monorepo-bot 31af1cadd9 [java] Update cmd line proxy builder message to Java 8
Changes the version check to check for Java 8 compatability after the class file format version was increased. Also adds an additional workaround to the error message. #IDEA-374134

GitOrigin-RevId: 818d7c8e54e431648b5a170e97486bf1fec255ba
2025-08-14 22:20:44 +00:00
Tagir Valeevandintellij-monorepo-bot 4a0ad9a2c0 [java] Proofreading
GitOrigin-RevId: d38e2cab5141062f17085bb23ce1ec17b5581663
2025-08-08 13:50:08 +00:00
Bas Leijdekkersandintellij-monorepo-bot 7d5bd541d5 Java: enable inlining on chaining vararg constructors (IDEA-376690, IDEA-376692)
GitOrigin-RevId: 2594b3ca241b7a4a0ca7e362482f5b606486f254
2025-08-07 16:25:03 +00:00
Mikhail Pyltsinandintellij-monorepo-bot a119bc85cc [command-completion] IDEA-373902 Command completion. New actions: Generate constructors
GitOrigin-RevId: 02d2af96982d53a0734c9c1f57a452758a184b85
2025-07-31 18:17:37 +00:00
Mikhail Pyltsinandintellij-monorepo-bot d415e7802b Revert partially "[java] IDEA-360079 add simple source file"
- just "New Java Class"

GitOrigin-RevId: 3acf08f52f678e502bd189f8a6fa709f840fd3f6
2025-07-31 14:49:10 +00:00
Mikhail Pyltsinandintellij-monorepo-bot 3158870121 Revert "[java] IDEA-375405 Change action name "Java Class" -> "Java Class/File""
This reverts commit b8191a8ce89268798685b428a083ad78ebeebf29.

GitOrigin-RevId: 9d904a88ff327354df8d47720967bfc73153a6ef
2025-07-31 14:49:09 +00:00
Mikhail Pyltsinandintellij-monorepo-bot 6fab55f031 [java-inspection] IDEA-374938 Java: 'Static import can be used' reported for List.of().
- rename title to be clear

GitOrigin-RevId: 1c68fe4bc08065136a827a9ef1c7fd949799e7f2
2025-07-30 11:08:29 +00:00
Tagir Valeevandintellij-monorepo-bot 3bcffa8c6f [java-intentions] Add OrderEntryFix to 'Cannot access class' error
Fixes IDEA-375037 Cannot access class error should suggest to add dependency on a module to the current

GitOrigin-RevId: 2cc6748f663131eb119b974d6c3699b5f9fcf854
2025-07-30 09:58:00 +00:00
Bart van Helvertandintellij-monorepo-bot 94d5fdf882 [java] Replace not-null with non-null
To make error messages consistent #IDEA-374747 Fixed


(cherry picked from commit 328c5b355fcf56a7d1c165aab32220d37bdfcbc1)

IJ-MR-170004

GitOrigin-RevId: f00fb74ddbff84b18839c60648d664774d566966
2025-07-22 21:25:49 +00:00
Tagir Valeevandintellij-monorepo-bot ac013e30b2 [java] Make default annotations context-dependent
Default annotation is now defined from PSI context using an ordered list of nullable or notnull annotations. The first available annotation is selected.
For Spring Boot 3, default annotation is org.springframework.lang.NonNull/Nullable
For Spring Boot 4, default annotation is org.jspecify.annotations.NonNull/Nullable
Legacy settings with an unordered annotation list are converted to make them ordered
Non-context-specific default annotations are still used as a default for external and inferred annotation; also it's a fallback option in contexts where no annotation is available at all
ChangeNullableDefaultsFix is removed, as now it's unlikely to produce the desired result (and probably was not useful before as well)
Fixes IDEA-372145 Support for third-party nullability providers

GitOrigin-RevId: 31794eb024ba310ca35d4b3df33420d0bb344898
2025-07-17 15:56:29 +00:00
Tagir Valeevandintellij-monorepo-bot 4739aa77bd [java-refactoring] IDEA-375998 Remove GotIt-tooltips for 'extract method'
GitOrigin-RevId: 30715778265304d2e5ae94fd201cdbae522e51aa
2025-07-16 14:04:24 +00:00
Mikhail Pyltsinandintellij-monorepo-bot a7bf6ec4c8 [java] IDEA-375577 Experiment with 'Compact source file' as a separate action
- rename to "Java Compact file"

GitOrigin-RevId: d53f18bdf3ba53e921a30ebbaa6e2e82781c60ab
2025-07-08 22:10:37 +00:00
Mikhail Pyltsinandintellij-monorepo-bot 876a23ebe2 [java] IDEA-375577 Experiment with 'Compact source file' as a separate action
GitOrigin-RevId: 448f88ce96042ed144d922ca80aeb0bfcfde8be6
2025-07-08 10:34:21 +00:00
Mikhail Pyltsinandintellij-monorepo-bot 9c6dbde11d [java] IDEA-375405 Change action name "Java Class" -> "Java Class/File"
GitOrigin-RevId: b8191a8ce89268798685b428a083ad78ebeebf29
2025-07-03 11:59:36 +00:00
Bartek Paciaandintellij-monorepo-bot d301ce149b [java] IDEA-375313 Move localized descriptions of all Live Templates to Java plugin from platform/lang-api
GitOrigin-RevId: 846d99eec629336e54bf8efe9fd7a9ba753cc096
2025-07-03 11:49:30 +00:00
Mikhail Pyltsinandintellij-monorepo-bot 3a52f8601c [java] IDEA-371865 Inspection to convert 'System.out'<->'IO'
GitOrigin-RevId: fdb87ffc06388bd022224000c7b4e8d9e2013e9d
2025-07-02 17:32:09 +00:00
Bartek Paciaandintellij-monorepo-bot 8401ab834d [java] IDEA-372997 Move localized descriptions of Structured Concurrency templates to Java plugin from platform/lang-api
GitOrigin-RevId: d818631c92bc070b42da3fe2b9990ace11b4fbb3
2025-07-02 11:14:06 +00:00
Bartek Paciaandintellij-monorepo-bot 2e30b4d2c4 [java] IDEA-372997 JavaFeature: create two versions of the Structured Concurrency to reflect reality in JEPs
see discussion in IJ-MR-167068

GitOrigin-RevId: 6d36cb4375f8f6a6d7d7b603de037c2c7a5255a8
2025-06-30 13:03:38 +00:00
Bartek Paciaandintellij-monorepo-bot 90549f68a6 [java] IDEA-372997 Bring back stss and stsf template and restrict to only JDK 24 preview
GitOrigin-RevId: d89039c7426017c35f70bdcbb11061fcfedf22a3
2025-06-30 13:03:38 +00:00
Bartek Paciaandintellij-monorepo-bot abfeff2bff [java] IDEA-372997 Restrict sts template to only JDK 25 preview
GitOrigin-RevId: 40d0c8a18018eaf2d086af82f47298e83204dcec
2025-06-30 13:03:38 +00:00
Max Medvedevandintellij-monorepo-bot e99807af76 fix i18n
GitOrigin-RevId: b8a837f631612a5618b597d6b44683a3e3448aee
2025-06-25 13:34:30 +00:00
Mikhail Pyltsinandintellij-monorepo-bot 68d1490dbf IJPF-CR-29151 [java] IDEA-374204 JEP 512: use 'Compact Source Files' for implicitly declared classes
- fix naming

GitOrigin-RevId: 91c2c095f5ca3b2ac3d6fc6de8d85b4f7205cfe7
2025-06-24 23:04:26 +00:00
Tagir Valeevandintellij-monorepo-bot 1551812d8d [java-inspections] IDEA-374631 Add toggle for the "Nullability annotation is not applicable to local variables" inspection
GitOrigin-RevId: 02fc1eb7a30348483c4f8f8f5c1b6de3e0e1d832
2025-06-23 18:03:48 +00:00
Bas Leijdekkersandintellij-monorepo-bot 74f2396712 Java: more friendly inspection name
GitOrigin-RevId: a6117958a34f30f60f6814ee9d0ad661f931ec70
2025-06-20 18:38:03 +00:00
Mikhail Pyltsinandintellij-monorepo-bot c96660523e [java] IDEA-374204 JEP 512: use 'Compact Source Files' for implicitly declared classes
GitOrigin-RevId: e77a013fa84cbafbfec866f6489147115532f656
2025-06-20 09:50:41 +00:00
Mikhail Pyltsinandintellij-monorepo-bot 7b6981f118 [java] IDEA-373074 Improve SOUT templates for java 25
GitOrigin-RevId: 688a0f2ccefaa6f3f9b51c8528fa11e61d0798b0
2025-06-19 17:14:47 +00:00
Tagir Valeevandintellij-monorepo-bot a25fc4a7c1 [java-refactoring] Shorter message for collision popup
Improves IJPL-190894 A renaming warning is truncated in inline popup

GitOrigin-RevId: 9a596dac199cf536722fb2d394e8ca532e5cecf4
2025-06-18 11:43:56 +00:00
Mikhail Pyltsinandintellij-monorepo-bot a36ca2612b [command-completion] IDEA-359174 i18name as main lookup
GitOrigin-RevId: 945443d9f0c0aff95fb551859287f7236191d1c4
2025-06-11 17:02:49 +00:00
Bas Leijdekkersandintellij-monorepo-bot 0fce756217 [refactorings] Migrate Safe delete to new conflicts dialog (IDEA-360408)
GitOrigin-RevId: 78b9aa6520ca3da432b4bcf15b55857cf9c519e9
2025-06-03 17:12:24 +00:00
Bas Leijdekkersandintellij-monorepo-bot 9dde446e22 [extract method] clarify error message (IDEA-224675)
GitOrigin-RevId: e8070a215b9581aaea2601fd987d0d0a307396c7
2025-06-02 16:18:15 +00:00