You can use perspective extensions or create your own perspective to place the Console View at the desired location. However, the Console View , does not show any specific console when it is shown.
To bring up your console page you'd need to listen for the Console View to become visible and then select the desired console.
An IPartListener
that can be registered at the IPartService
(or IWorkbenchPage
) will tell you when a view is opened.
But great care must be taken to avoid unwanted side effects, eg a user may be in the process to open a specific console and certainly won't be amused if your listener code switches to a differnt console.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.