How to open a view at a specific position #2814
-
Apologize if this is not the right place to ask question. I'm developing a plugin that has a customized view. And I hope when the view is opened, it can be located at the right of the IDE. (currently it appears at bottom). I found something like this: <extension
point="org.eclipse.ui.perspectiveExtensions">
<perspectiveExtension
targetID="*">
<view
id="com.microsoft.copilot.eclipse.ui.chat.ChatView"
minimized="false"
relationship="right"
relative="?"
>
</view>
</perspectiveExtension>
</extension> But have no idea what to fill in the Thank you for your assistance. |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 25 replies
-
relative would be the id of another view in the perspective. You won't be able to find a generic "relative" that applies too all perspectives. |
Beta Was this translation helpful? Give feedback.
-
@mickaelistria Thank you for the quick response!
A little bit lost for this. Would you mind give more details? |
Beta Was this translation helpful? Give feedback.
-
I think here are several ways. So you should maybe describe what means
because "right" and "bottom" depend on the current perspective, in general you likely talk about part stacks (!) where you want to place your view ... |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
@hithisispolarbear I synced with our UX and they recommend the outline view proposal as well. Please update the configuration to make chat view always stack with outline view. See: #2814 (reply in thread) |
Beta Was this translation helpful? Give feedback.
-
Hi folks,
|
Beta Was this translation helpful? Give feedback.
@jdneo : your screenshots aren't accessible.
Would that mean, the Chat view will be opened in another stack as Outline view? It would be distracting IMO, because it would take too much space.
Another possibility would be to put Chat view in the same stack as Outline view (which is what I'm doing if using Copilot)