| 1 | --- |
| 2 | globs: gui/**/* |
| 3 | description: Ensures consistent URL opening behavior in GUI components using the |
| 4 | IDE messenger pattern |
| 5 | alwaysApply: false |
| 6 | --- |
| 7 | |
| 8 | # GUI Link Opening |
| 9 | |
| 10 | When adding functionality to open external links in GUI components, use `ideMessenger.post("openUrl", url)` where `ideMessenger` is obtained from `useContext(IdeMessengerContext)` |