sevdokimov / FriendlyTerminal

Public issue tracking for Friendly Terminal IntelliJ plugin.
7 stars 0 forks source link

Update TerminalPro.OpenInTerminal action text overrides for 2024.1 #17

Open stachenov opened 9 months ago

stachenov commented 9 months ago

Hello,

Starting from 2024.1 the IJ platform will use a new place ID for "Reveal In" / "Open In" actions, namely RevealInPopup. This is necessary because popup menus can be customized, and the action name should depend on where exactly in the popup menu the action is located. That is, when located under "Open In", then the name "X" would be read as "Open In X", but if the same action is moved to the top level, then the "X" alone is confusing. See IDEA-339585 for details.

In order for this new mechanism to work, this

      <override-text place="EditorTabPopup" />
      <override-text place="ProjectViewPopup" use-text-of-place="EditorTabPopup" />
      <override-text place="EditorPopup" use-text-of-place="EditorTabPopup" />
      <override-text place="FavoritesPopup" use-text-of-place="EditorTabPopup" />

should be replaced by this:

      <override-text place="RevealInPopup"/>

It automatically covers all popups that contain the RevealGroup action group.