Commit Graph

2680 Commits

Author SHA1 Message Date
Yann Cébron
2d8a174349 [devkit] PluginXmlFunctionalTest.testExtensionI18n: fix test data
GitOrigin-RevId: be1fca2755a558ca779a81256f8957235cfcf320
2020-02-25 14:03:48 +00:00
Anna Kozlova
4fe94ca8c7 make devkit -> images dependency optional for TC
GitOrigin-RevId: 4100dd2790790c535909617a1df7c7177fffd004
2020-02-24 21:35:10 +00:00
Vladimir Krivosheev
da19823987 cleanup (useless javadoc and unclear author)
GitOrigin-RevId: 674769829c2dfa05db6e0e2a6a7c1f9ac6e601ef
2020-02-21 17:31:28 +00:00
Alexey Kudravtsev
7a30efc9ef replace setAlternativeResolveEnabled usages with less error-prone runWith...
GitOrigin-RevId: edd9498c1d794686c353f8a66ee9248243fbcd23
2020-02-20 10:40:28 +00:00
Vladimir Krivosheev
de8013fab9 convert MacEventReader into lazy listener, support os for listener to specify suitable OS
GitOrigin-RevId: cd654c11beb7336da039766b9672f3ee5f0d8c68
2020-02-19 07:37:20 +00:00
Yann Cébron
dd21c2716a [devkit] DevKitActionOrGroupIdReferenceContributor: resolve to Action, not XML attribute
GitOrigin-RevId: cccb722200dd2e1a9f72fafd62b5be00cc715506
2020-02-18 11:42:56 +00:00
Vladimir Krivosheev
5f21c9013f images module as implementation-detail plugin
GitOrigin-RevId: e5f6b4687c72d7697354bb635d40cb0eb0ce65e9
2020-02-18 07:32:43 +00:00
Yann Cébron
565a491684 [devkit] DevKitBundle.properties: remove obsolete "UnusedProperty" suppression
GitOrigin-RevId: 3a486bfc97c708d6882b3da43eac9c86734d0fa5
2020-02-17 17:38:24 +00:00
Yann Cébron
80c9ccc409 [devkit] DevKitActionOrGroupIdReferenceContributor: specify language in registration
GitOrigin-RevId: a0d59c07e54db3ec2cb9610fdb89c9268936d2cf
2020-02-17 17:38:24 +00:00
Yann Cébron
9b83f82faa [devkit] plugin.xml template: https links
GitOrigin-RevId: d03f8bc466974d868a64615b4fb3e3948af403c7
2020-02-17 17:09:33 +00:00
Yann Cébron
fbde6b521f IDEA-227743 plugin.xml: resolve "xi:include" to files from libraries
GitOrigin-RevId: e281cba9fefdc11e4f4c5e1108ba0309ae199d7a
2020-02-17 15:20:42 +00:00
Yann Cébron
89fa126450 IDEA-229615 Incorrect highlighting for projectListeners and applicationListeners
GitOrigin-RevId: 7a97876a6f5ca1fdb5cb9c2ad5cc329b6343efe8
2020-02-17 14:39:10 +00:00
Yann Cébron
83beae07eb [devkit] ExtensionDomExtender: cleanup
GitOrigin-RevId: e287b3776aba1488eeeab8aa60c723f50123f05e
2020-02-17 13:37:34 +00:00
nik
5d8355dd05 [devkit] update from sources action: allow to build enabled non-bundled plugins only
"Build disabled and non-bundled plugins" option is replaced by "Build enabled plugins only". If the option is enabled, the scripts will build only those bundled and non-bundled plugins which are enabled in the current IDE instance greatly reducing build time.

GitOrigin-RevId: 779777318ed254242f8d41b44666ccc885bd97b2
2020-02-17 08:13:34 +00:00
Dmitry.Krasilschikov
7dcc0f1ebb turn back couple of missing keys
GitOrigin-RevId: 606e600bf4781a506a60b0d01c3064a73c531ceb
2020-02-16 17:45:23 +00:00
Dmitry.Krasilschikov
cbfd78aaf6 IDEA-CR-58441 move actions text/description to bundle
GitOrigin-RevId: 4910d4fe5f4d3927621e68de7df23dca07f12fdb
2020-02-16 16:47:10 +00:00
Vladimir Krivosheev
16776be5f7 do not export StreamEx lib from platform-impl
GitOrigin-RevId: b4b5c70dc99510609083c3ff097936be94e0548c
2020-02-15 06:44:09 +00:00
Dmitry Jemerov
7b7604f02d <override-text use-text-of-place="..."> is not actually required
GitOrigin-RevId: e1186dd2e249c940f9369bdb64e6d49bd874797e
2020-02-14 18:43:36 +00:00
Yann Cébron
b2eede2a48 IntentionActionBean.className: mark required
GitOrigin-RevId: b06f396ad4cc47c5545b1e3fbab11e63de8f4969
2020-02-14 17:35:45 +00:00
Yann Cébron
720f108c09 [devkit] ExtensionPointBinding: required for tag/collection
GitOrigin-RevId: 7896bf58766c756c5d34bb93e2181181a8696a03
2020-02-14 17:35:45 +00:00
Yann Cébron
3a47a59002 [devkit] extract ExtensionPointBinding
GitOrigin-RevId: 8d2e8981e4fc744fb0600dc9c66f27950eae73c5
2020-02-13 15:12:00 +00:00
Dmitry Jemerov
559d980dd0 Allow to use the same overridden action text in multiple places (IDEA-232530)
GitOrigin-RevId: 48cc1df6560cbcf51f6fc94469f8646740772d20
2020-02-13 13:17:58 +00:00
Yann Cébron
9769b6b8ac EA-220837 - assert: IndexAccessValidator.checkAccessingIndexDuringOtherIndexProcessing, #2
GitOrigin-RevId: b05009c1d64c5fb63c4daa1c96e940464afb8a9e
2020-02-13 11:16:31 +00:00
Dmitry.Krasilschikov
516c22d0c1 lazyMessage() for actions
Replace actions' `message()` with `lazyMessage()` for actions' text/description localization on enabling language plugin w/o IDE restart

GitOrigin-RevId: 6eabd22bc237f2c531e9dc34e3a6e9e03ce3c940
2020-02-12 17:11:31 +00:00
Vladislav Rassokhin
2dbd813d00 Minor inspection fixes in DevKit
GitOrigin-RevId: 2a1a3c5d0fe39467538ff965c6f595a437723c4d
2020-02-11 18:09:32 +00:00
Vladislav Rassokhin
5ee5c8432d Use UAST in ProjectIconsAccessor#resolveIconFile, fix inspections
GitOrigin-RevId: c5f63e8da849a8cf7c25125579e21737cdcb146b
2020-02-11 18:09:32 +00:00
nik
12fdcee7c8 [i18n] get rid of constants referring to Nls strings in GroupNames
Localized strings were kept in static final fields in GroupNames preventing dynamic change of current localization. Also it's better to specify group name directly in plugin.xml file. Some fields are kept as deprecated to avoid breaking compatibility.

GitOrigin-RevId: 86be3dbb4c49f0845ac9624b6a152f0f990858d8
2020-02-11 15:08:03 +00:00
nik
98705f3a60 [devkit] allow creating message bundle in impl module if there is no corresponding API module
GitOrigin-RevId: 8a0f5b40fcfc52cf924ff8ff50707fd0dcdd4448
2020-02-11 13:40:19 +00:00
Vladimir Krivosheev
bac2b6d2f8 use java 7 API — get rid of home grown assertNotNull and notNull
GitOrigin-RevId: 4df1569fc01d15cfbe42b00a5b5edf7c1ea0f5b3
2020-02-11 10:36:25 +00:00
nik
35ef0add09 cleanup: delete implementations of unused CreateElementActionBase#getCommandName method
The method itself is kept as deprecated to avoid breaking compatibility.

GitOrigin-RevId: cf1a51d3dfd6b50d4c6d53573e1ce4c5ded901ff
2020-02-10 11:03:00 +00:00
nik
d4f9a2ccd3 i18n: add explicit @PropertyKey annotation to fields/parameters which are used as key in bundles
This is needed to show an error if an invalid key is passed to such variables, and also simplifies automatic code analysis when moving properties between bundles (needed for IDEA-209382).

GitOrigin-RevId: 211f99ff5a0fac3feeb7bdaa42c01a6aa65aae13
2020-02-10 11:03:00 +00:00
Daniil Ovchinnikov
4dc01d7559 make UsageTarget methods default and remove dummy implementations
GitOrigin-RevId: f743fe2f08fca83eabbab435321712fd0ea1d326
2020-02-10 11:03:00 +00:00
nik
c5597e7f31 [devkit] create resourceBundle tag in plugin.xml when a message bundle is created (IDEA-232333)
GitOrigin-RevId: b3abedb6303efafeecdaba06e9e845b5726b691a
2020-02-10 11:03:00 +00:00
nik
b10e812ddc [devkit] add action which creates a properties file and corresponding message bundle class (IDEA-232333)
It's available in New -> DevKit menu and currently works in IntelliJ project only. The default bundle name follows the established naming convention (IDEA-229829).

GitOrigin-RevId: cfc43b79500cb8b769ad519bdb87681364e2748b
2020-02-10 11:03:00 +00:00
Yuriy Artamonov
fedc8d66ba dev-kit: support implicit property references for group.GroupName.description keys from plugin.xml
GitOrigin-RevId: 0311b5624d6f006a45a06dc1c1cec6137e977f53
2020-02-10 11:03:00 +00:00
Maxim.Mossienko
dfa7cf7206 Removed obsolete API scheduled for removal in 2020.1
GitOrigin-RevId: dfc975d7ae3fd1f1323ea1cf4b42b9c932c3a02e
2020-02-05 10:06:43 +00:00
nik
9bd58a8a0a [devkit] print explanatory message if update from sources action failed to delete installation directory
...instead of copying the new files over it and starting IDE.

GitOrigin-RevId: 4e9077652484d27978335736d9ae01050eeb8b75
2020-02-05 07:01:46 +00:00
Dmitry.Krasilschikov
d4461924d3 Use XBundle.lazyMessage() API for actions instead of lambda
Replace `() -> XBundle.message(...)` with `XBundle.lazyMessage()`

GitOrigin-RevId: e3a78fb386132ece124951e4411e4e07d02e5563
2020-02-03 09:39:27 +00:00
Dmitry.Krasilschikov
c87ccc446c API for lazy localized messages
Use `XBundle.lazyMessage()` API a string to be changed to its localized variant on a language plugin enabling w/o restart

GitOrigin-RevId: 9cf42967086e889b8479ba2c9c61ba37dee19c4f
2020-02-03 09:39:27 +00:00
Vladislav Rassokhin
3abfa769c4 IDEA-141739 Devkit: resolve languages in 'plugin.xml' defined in Kotlin classes, objects
GitOrigin-RevId: 0d9a7fb42a01e44c77cfaaf316191ea1d001dd56
2020-01-30 13:05:15 +00:00
Dmitry.Krasilschikov
b2b337bef3 make Presentation.setText(Bundle.message("...")) dynamic
GitOrigin-RevId: 54426726328063349514b0a0322cb638c398e8a5
2020-01-28 14:37:01 +00:00
Vladislav Rassokhin
64cde25c37 Fix devkit testdata
GitOrigin-RevId: 71d74a21da5242660f7017309c05c47a563d8c5a
2020-01-28 14:09:46 +00:00
Alexander Lobas
e7a12bd7e3 IDEA-229555 Group bundled plugins in Settings | Plugins by category
GitOrigin-RevId: 51b5b8476879e9005983c3a795f59acf52392cb9
2020-01-28 12:36:54 +00:00
Peter Gromov
0e4e893c48 extract execution.impl module out of lang.impl
GitOrigin-RevId: 1c15b8541683b7b0cb30713457a21c0627a2c6a8
2020-01-24 18:11:16 +00:00
Vladimir Krivosheev
a54a92c1d7 cleanup
GitOrigin-RevId: f3bf3f8a1a093af2c4bb1ab031cd14d44970d70f
2020-01-22 19:36:19 +00:00
Vladimir Krivosheev
64dd21cafc cleanup
GitOrigin-RevId: 97aae9efe3238f70c79281be4f224af8bc5cfd23
2020-01-22 19:36:19 +00:00
Yann Cébron
7c0d9fb841 [devkit] IdeaPluginRegistrationIndex: fix nested index access (EA-220837)
GitOrigin-RevId: 488aeea4eedeb9adab5bfeef4eeb7dfaccf6ce12
2020-01-22 15:19:02 +00:00
Tagir Valeev
6bd95c28cc JavaElementKind methods renamed; more CommonQuickFixBundle and JavaElementKind usages
GitOrigin-RevId: 93f5b6e974986efb0de86566875d77dc821ffea5
2020-01-22 06:03:40 +00:00
Tagir Valeev
dbc4ff53e2 JavaElementKind; more usages
GitOrigin-RevId: 03b93ab6274c6f94faab483529b08d6a7876342b
2020-01-22 05:13:16 +00:00
Dmitry.Krasilschikov
bea31565e0 more localized actions
GitOrigin-RevId: 284c7a8c5b08d29261ddffa1828a35fb1c947419
2020-01-20 21:04:15 +00:00