Commit Graph
375 Commits
Author SHA1 Message Date
Nikita Iarychenko d0e4f0ade3 OPENIDE add missing copyrights
(cherry picked from commit b729986736)

(cherry picked from commit 1eb3edbbba)
(cherry picked from commit 51375259d7)
2025-12-15 12:53:39 +04:00
axiom cd36c13257 16 branding defects fixed.
(cherry picked from commit 4ede66edf1dba37f984904252add615415421e2b)

(cherry picked from commit 89b579e3eb)

(cherry picked from commit 18f177c16a)
(cherry picked from commit bf42ae1d61)
2025-12-15 12:51:20 +04:00
Vadim Salavatov efdf031ea3 [devkit] IJPL-210540 add warning about classloader configuration change and potential NCDFE
(cherry picked from commit 8d6f5a78aebb6d3b4f8d9df3a95a0783a479270b)

GitOrigin-RevId: a2347d822da666fb3d42f178e699de552df14556
2025-10-20 11:56:40 +00:00
Vadim Salavatov 8777c05212 [devkit] IJPL-210540 deprecate 'package' attribute
(cherry picked from commit 9cf2b1e27385f51fc8c086dfc0aeec8be835c053)

GitOrigin-RevId: 2174aefcd06633ae2e6926d8a41a94c35aa46da7
2025-10-20 11:56:40 +00:00
Nikolay Chashnikov ecd77d439c [devkit] add quickfix to set namespace when accessing internal content module (IJPL-209927)
If a content module or a plugin declares a dependency on an internal content module, and both plugins have the same vendor, the namespace in the declaring plugin can be now set to fix the problem.


(cherry picked from commit bdbd1fce9296b62bb7eec53f3f5ec70441065187)

IJ-CR-178969

GitOrigin-RevId: 3d7ee906452f771aa2e202f326a2b434177c0c76
2025-10-17 16:18:31 +00:00
Nikolay Chashnikov 16e7c47b73 [devkit] show error if dependency on a private content module is added directly in plugin.xml (IJPL-209927)
(cherry picked from commit 9086191d527098810f1d7384923c500a51c025fe)

IJ-CR-178824

GitOrigin-RevId: 6445ebcb6152809b8041338f143deb89b2b08f10
2025-10-17 10:08:45 +00:00
Karol Lewandowski c4cdb71e4b [devkit] IJPL-209927 Check that content module used as a dependency is visible
Check internal dependency visibility directly in plugin.xml.


(cherry picked from commit d1e3ae57bbcb9bf553081169e135d4fd2227e295)

IJ-CR-178393

GitOrigin-RevId: 0c12c75bfbc7ade0cdd2493e116e8a0d2759c322
2025-10-16 10:30:12 +00:00
Karol Lewandowski 611f39a1ca [devkit] IJPL-209927 Check that content module used as a dependency is visible
Add change visibility fixes for private modules.


(cherry picked from commit ee8c78b7b4c1fad6584f357883cf71411986872b)

IJ-CR-178393

GitOrigin-RevId: 1fc09a01feb0d21291b9fe3fd20eecab1b6a533a
2025-10-16 10:30:12 +00:00
Karol Lewandowski 600fcb4715 [devkit] IJPL-209927 Check that content module used as a dependency is visible
GitOrigin-RevId: 9fd75e092e8e4b247afbd9a42dec5058bc2f8f56
2025-10-13 18:01:18 +00:00
Nikolay Chashnikov 31275749f7 [devkit] support 'strict-until-build' attribute in plugin descriptor (IJPL-212275)
For now, it overrides 'until-build' if the latter is also provided, but 'until-build' isn't marked as deprecated yet.

GitOrigin-RevId: 51858e7ade2f5d3ca4f0fd4c5e2f7bcbc4bcda81
2025-10-13 14:45:29 +00:00
Karol Lewandowski 41485eef7e [devkit] IJPL-209928 DevKit: check namespaces of content modules
GitOrigin-RevId: 25eb191bf411065fd8366a9c96f0cbf7a657b760
2025-10-08 15:12:15 +00:00
Yuriy Artamonov bc2aa589e6 [devkit] IJPL-180614 DevKit: provide easy way to set up plugin dependencies from initial wizard
GitOrigin-RevId: e08e2a961a48b2ae7adf9710e8be4e63a1fba096
2025-09-25 17:26:49 +00:00
Konstantin Nisht d5a511bf25 [threading] IJPL-203569: Fix inspection, generalize quickfix to Kotlin
GitOrigin-RevId: eba99731eeb92f05b61f04354857b273f5d285a0
2025-09-08 13:29:40 +00:00
Konstantin Nisht dff9b90d0f [threading] IJPL-203569: Add inspection suggesting using Platform's adapther instead of JDK function
GitOrigin-RevId: 9d00848dae75acc20a9b9047c6d1f06bb7030d58
2025-09-08 13:29:40 +00:00
Alexander Koshevoy 918cf10847 [devkit] Chore: remove unused path annotation inspection messages
GitOrigin-RevId: 0ab77d25eaf0059299a0041f20a7f3b60a7e0ec8
2025-09-02 09:54:21 +00:00
Karol Lewandowski f9b978ec1d IJPL-188623: Simplify message
There is no need for such a detailed message as JPS module name is obvious, and also, we now search in libraries too.

GitOrigin-RevId: 851fd63306625cef6dc803715efc17d5a2b78cb7
2025-08-08 11:41:06 +00:00
Karol Lewandowski 02d785562d IJPL-197281: Implement finding usages for module content inclusions and module dependency declarations
GitOrigin-RevId: 37238e2d134d36460e6cdd9e788186d0f6320713
2025-08-05 16:40:01 +00:00
Artem.Bukhonov a477fda360 [Compose Hot Reload] Move the hot reload feature to the DevKit plugin, promote the version. Add registry listener to download agent by the registry value change
GitOrigin-RevId: 3255421eb5131c0621c8396cbcad916d03052fbb
2025-07-21 18:50:21 +00:00
Karol Lewandowski 13f7b0aade IJPL-194034: DevKit: show a warning if a content module isn't registered
GitOrigin-RevId: f5273e36df1bdc2d6ba1bd0e6f94bdee82a45828
2025-06-28 00:56:12 +00:00
Karol Lewandowski 1750d17df6 IJPL-193279: Provide a way to quickly find where the current content module is registered - improve the tooltip label
GitOrigin-RevId: 10601ca777922591f5b4f82155c11cbd9e618d40
2025-06-28 00:56:12 +00:00
Vladimir Lagunov 07151a8af9 IJPL-172351 Revert "Rough-and-ready implementation of @CheckReturnValue for Kotlin files via DevKit inspection"
This reverts commit e84ff5ea

The reasons of reverting:
* The inspection has bugs, and we don't have resources to maintain it
* We got rid of EelResult, for which the inspection was introduced: IJPL-184988
* We implemented checked exceptions instead: IJPL-188144

GitOrigin-RevId: 93c97a3bf31af6bc6efad7a4cf4b2aaa7ac48dd6
2025-06-27 08:00:33 +00:00
Karol Lewandowski 69ad8b643d IJPL-193279: Provide a way to quickly find where the current content module is registered
GitOrigin-RevId: 4594e8ecdd772a93af9b10c0ccca62f1f1622849
2025-06-26 15:29:19 +00:00
Karol Lewandowski 41817f4297 IJPL-188944: Make the inspection message clearer
GitOrigin-RevId: e60f3b13a0bed5ab817b1d58612fcf6f8524508f
2025-06-02 12:45:43 +00:00
Karol Lewandowski 9a1090c200 IJPL-188944: Inspection for validation frontend/backend runtime dependency in module descriptors
GitOrigin-RevId: 318077186f07d2bf9c2fef73bce529713418ab63
2025-05-27 08:06:49 +00:00
Alexander Koshevoy 9698298bb8 [path-annotations] i18n: Refactor quick-fix family names to use localized messages
GitOrigin-RevId: a6550a2c6454e3d5cd62018312558c6cd5788d18
2025-05-19 18:41:59 +00:00
Alexander Koshevoy 68d3db9022 [path-annotations] Refactor path annotation handling in PathAnnotationInspection
Relocated and optimized compatibleAnnotations map for better reuse and clarity. Streamlined return value checks and error reporting logic to improve maintainability. Updated resource messages to support enhanced validation scenarios.

GitOrigin-RevId: 9bce65224b3d34008fb2fd2c520cd461e6018718
2025-05-19 18:41:59 +00:00
Alexander Koshevoy 1f9a0b8ca2 [path-annotations] i18n: Refactor error messages to use DevKitBundle for consistency
GitOrigin-RevId: 99790f43b6684dcf33d21ab79242b8435275d140
2025-05-19 18:41:59 +00:00
Alexander Koshevoy 5bbf9ebced [path-annotations] Refactor path annotation inspection and relax validation rules
* Simplify path validation by consolidating first and subsequent argument checks
* Allow `@LocalPath` annotation to be used directly in `Path.of()`
* Make error messages more specific about required annotations
* Reduce code duplication in validation logic

GitOrigin-RevId: 03e09d19dd17b374e921b0a387fa5cf19dfed5df
2025-05-19 18:41:59 +00:00
Alexander Koshevoy 5ceaa28a64 [path-annotations] i18n: Update family name retrieval for AddLocalPathAnnotationFix
GitOrigin-RevId: 3fb25b32d3ae3fe9ee3709117f882724ebc946fc
2025-05-19 18:41:59 +00:00
Alexander Koshevoy 4d52c5461b [path-annotations] Add inspections for Path.of() argument annotations
Enhanced `Path.of()` to validate argument annotations properly. Introduced checks for `@MultiRoutingFileSystemPath` and `@Filename` in 'more' parameters while ensuring accurate error reporting for invalid or missing annotations.

Generated by Junie.

GitOrigin-RevId: f2c68b79e982f5a97b8f0749725b4c271fd86285
2025-05-19 18:41:58 +00:00
Alexander Koshevoy a1950e82d2 [path-annotations] chore: Refactor strings to use properties from DevKitBundle
Replaced hardcoded inspection messages with keys from DevKitBundle for consistency and maintainability. Added new properties to handle messages related to `FileSystem.getPath()` argument annotations.

GitOrigin-RevId: 641f2227bd89a7760a61283d15e84e4bbc06ba48
2025-05-19 18:41:58 +00:00
Alexander Koshevoy 8820e0d035 [path-annotations] chore: Refactor inspection messages to use DevKitBundle constants
Updated hardcoded inspection messages to utilize DevKitBundle constants for consistency and maintainability. This change ensures better localization support and aligns with existing message management practices.

GitOrigin-RevId: 117a427052108b4dad50a95435b74784df0129ed
2025-05-19 18:41:58 +00:00
Alexander Koshevoy 58fbc8f1a4 [path-annotations] Add PathAnnotationInspection for verifying path annotation usage
Introduced `PathAnnotationInspection` to detect incorrect usage of `@NativePath` and `@MultiRoutingFileSystemPath` annotations. Added corresponding tests and test resources to validate the inspection functionality. Updated DevKit messages and inspection metadata for integration.

GitOrigin-RevId: 759c0fda9da795e0ec2f9ceab1cbd70f3ce835b7
2025-05-19 18:41:58 +00:00
Yuriy Artamonov 5ddf86993c [devkit] IJPL-180611 provide modern Kotlin templates for plugin building blocks
GitOrigin-RevId: d45baeee7deb59432d807b3eafcc79628a2f1f6d
2025-03-09 19:03:45 +00:00
Yuriy Artamonov 2f8a6be4ba [devkit] Explicit non-dynamic extension point is not a warning anymore
GitOrigin-RevId: 6a344299d783d62e5a03419205b9416c654857c2
2025-03-03 13:11:10 +00:00
Yuriy Artamonov be9e38c24f [devkit] IJPL-179634 Make it possible to install Plugin DevKit from New Project wizard
GitOrigin-RevId: fb2825069426b71bb0f1b1242770f37b04534822
2025-02-27 23:27:50 +00:00
Yuriy Artamonov f22e555eaa [devkit] Drop obsolete PluginModuleBuilder
GitOrigin-RevId: 670ffa98b7a32760b285ae4cc40791c18cba106b
2025-02-27 23:27:49 +00:00
Nikolay Rykunov 4fde2e3fb5 [rd] New Remote Dev Module action should create plugin.xml and packages
GitOrigin-RevId: fc4e722384defd978d2b47391e0e6b4540d373b3
2025-02-16 10:19:08 +00:00
Yann Cébron 6c7df1ee48 [devkit] support keymap.xml files (IJPL-171968)
basic DOM, resolve action@id

GitOrigin-RevId: 336622b97fc9959fbea1815f5b2a260eb67de5cc
2025-01-29 15:39:20 +00:00
Yann Cébron 37db69a7b5 [devkit] provide completion for Action IDs in code (IJPL-116494)
get rid of duplicated DOM vs. PsiReference implementations

GitOrigin-RevId: 604091ad2b39fb3563ae7892a2f8e792c9d9bd4d
2025-01-28 16:26:05 +00:00
Yann Cébron 60db175b1f [devkit] inject reference "Action ID" (IJPL-116495)
GitOrigin-RevId: 1e4aabe9c2687a8a9f1dd6e254d91ba18f2bfb40
2025-01-14 16:06:04 +00:00
Yann Cébron 203a4db84b [devkit] Action Reference: dedicated error message when type=group
GitOrigin-RevId: 4c0ef0cbf4f7403bbb66f96607919aa1a2c0b2a1
2025-01-13 13:57:41 +00:00
Max Medvedev 978493ff13 extract ApiDump module
GitOrigin-RevId: 112fb42db51b5609bb0bc0ae423d6b5a70d6548a
2025-01-08 11:25:19 +00:00
Yann Cébron 60162e7cbd [devkit] ThreadingInlayHintsProvider: fix display name capitalization
GitOrigin-RevId: dcf7c5f0e3444732a7ecb86683364f83481d0953
2024-12-10 10:50:54 +00:00
Yuriy Artamonov 50981b101d [devkit] IJPL-173176 DevKit: do not prohibit change-notes for monorepo plugins
GitOrigin-RevId: 67c8789a7bf3e42c8fab1a563b5f8dded519704a
2024-12-09 13:14:08 +00:00
Yuriy Artamonov bd5b2fc3f1 [devkit] IJPL-163797 Highlight implementation-detail plugins as deprecated in plugin.xml
GitOrigin-RevId: 5cb732c2f0d802e9b85840474b5d70ad16acae15
2024-12-06 21:05:04 +00:00
Yann Cébron 68a4f4f9df [devkit] intention description support <descriptionDirectoryName> if specified in plugin.xml (IJPL-116629)
- highlight redundant '<descriptionDirectoryName>'

GitOrigin-RevId: ad7cf85c645ec5992c5435f1db9214ffb029de67
2024-12-03 15:29:20 +00:00
Yann Cébron 026be4dcb8 [devkit] highlight reference@id as deprecated (IJPL-171993)
GitOrigin-RevId: 424f7641a100dc938d42651f6760332855365568
2024-11-21 14:54:23 +00:00
Karol Lewandowski db3ed815dc IJPL-116409: Plugin.xml documentation provider - Add schema
GitOrigin-RevId: 536a0b26ddcc1af529ce50e77f355d97a829eb12
2024-11-19 12:22:34 +00:00
Vladimir Lagunov 8d60f3cde7 Rough-and-ready implementation of @CheckReturnValue for Kotlin files via DevKit inspection
We're going to use it for our new EelApi in IntelliJ.

When this inspection is implemented in Kotlin, this half-baked solution should be removed.


GENERIC_ERROR_OR_WARNING

remove commented code

GitOrigin-RevId: e84ff5eae30af594417978b8615d21d2a499f496
2024-11-12 19:09:22 +00:00