Tool window stripe title in the wrong message bundle
Reports a toolwindow.stripe.* key that is not in the bundle the platform reads for the tool window.
The platform builds the key from the tool window ID. It adds the prefix toolwindow.stripe. and replaces every space with an underscore. For example, the tool window Version Control needs the key toolwindow.stripe.Version_Control. If the key is missing, the stripe button silently shows the ID.
The platform reads the key from one bundle only:
For the core plugin, it reads
messages.IdeBundle.For every other plugin, it reads the
<resource-bundle>of the descriptor that declares the tool window. A content module does not inherit the bundle of its plugin. A<depends config-file>descriptor inherits it, unless it declares its own bundle.
To fix the problem, move the key to that bundle. If the descriptor declares no bundle, declare a bundle of the module, and move the key to it.
The inspection does not report a tool window whose factory sets the stripe title in ToolWindowFactory.init().
Locating this inspection
- By ID
Can be used to locate inspection in e.g. Qodana configuration files, where you can quickly enable or disable it, or adjust its settings.
ToolWindowStripeTitle- Via Settings dialog
Path to the inspection settings via IntelliJ Platform IDE Settings dialog, when you need to adjust inspection settings directly from your IDE.
Inspection ID: ToolWindowStripeTitle
Suppressing Inspection
You can suppress this inspection by placing the following comment marker before the code fragment where you no longer want messages from this inspection to appear:
More detailed instructions as well as other ways and options that you have can be found in the product documentation:
Inspection Details | |
|---|---|
By default bundled with: |