tool_windows.md: localization (IJSDK-920)

This commit is contained in:
Yann Cébron 2020-11-04 14:34:59 +01:00
parent 1c9ef74900
commit c71bc92978

View File

@ -42,6 +42,8 @@ If the tool window of a plugin doesn't need to be displayed for all projects:
Note the condition is evaluated only once when the project is loaded; to show and hide a tool window dynamically while the user is working with the project use the second method for tool window registration.
To provide a localized text for the tool window button, specify matching `toolwindow.stripe.[id]` message key (escape spaces with `_`) in your [message bundle](/reference_guide/localization_guide.md) (code insight supported in 2020.3 and later).
### Programmatic Setup
The second method involves simply calling [`ToolWindowManager.registerToolWindow()`](upsource:///platform/platform-api/src/com/intellij/openapi/wm/ToolWindowManager.kt) from the plugin code.