basic_action_system.md: note "Eager creation of action presentation" inspection

This commit is contained in:
Yann Cébron 2023-10-05 14:18:28 +02:00
parent 2479bf0de3
commit f4504bda66

View File

@ -220,6 +220,10 @@ To exclude a group from appearing in <ui-path>Help | Find Action</ui-path> resul
#### Localizing Actions and Groups
> Hard-coding the presentation in the `AnAction` constructor is discouraged, use inspection <control>Plugin DevKit | Code | Eager creation of action presentation</control> (2023.3)
> to highlight such problems.
>
Action and group localization use resource bundles containing property files named <path>$NAME$Bundle.properties</path>, each file consisting of `key=value` pairs.
The [`action_basics`](%gh-sdk-samples%/action_basics) plugin demonstrates using a resource bundle to localize the group and action entries added to the Editor Popup Menu.