mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-28 01:07:49 +08:00
internal_ui_inspector.md: add information about added-at property
This commit is contained in:
parent
08361a5d40
commit
a863a1ea4d
Binary file not shown.
After Width: | Height: | Size: 762 KiB |
Binary file not shown.
After Width: | Height: | Size: 602 KiB |
Binary file not shown.
Before Width: | Height: | Size: 162 KiB |
@ -18,12 +18,21 @@ While enabled, centering the cursor on a UI element and pressing <shortcut>Ctrl/
|
|||||||
|
|
||||||
For example, to get information about the _Build Project_ button's icon (hammer) on the toolbar (highlighted in green), put the mouse cursor on the icon and press <shortcut>Ctrl/Cmd+Alt</shortcut> while clicking the mouse.
|
For example, to get information about the _Build Project_ button's icon (hammer) on the toolbar (highlighted in green), put the mouse cursor on the icon and press <shortcut>Ctrl/Cmd+Alt</shortcut> while clicking the mouse.
|
||||||
|
|
||||||
The _UI Inspector_ displays that the icon has the internal path `AllIcons.Actions.Compile`:
|
The _UI Inspector_ displays the icon details:
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
## Additional Properties
|
## Additional Properties
|
||||||
|
|
||||||
|
### added-at Property
|
||||||
|
|
||||||
|
Sometimes, inspecting complex component's properties is not enough to understand how the component was created and configured.
|
||||||
|
_UI Inspector_ gives the possibility of finding the code where the selected component was added, which makes it much easier to understand which APIs can be used to build custom components with similar complexity.
|
||||||
|
To find the place were component was added, select the `added-at` property to show the stacktrace:
|
||||||
|

|
||||||
|
|
||||||
|
### Specific Component Properties
|
||||||
|
|
||||||
Various components used in the IntelliJ Platform expose additional properties.
|
Various components used in the IntelliJ Platform expose additional properties.
|
||||||
These can be useful to locate the underlying implementation, related Action, etc.
|
These can be useful to locate the underlying implementation, related Action, etc.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user