locked
Extend Visual Studio to have user group window/pane RRS feed

  • Question

  • Hi,

    I am not sure the absolute correct terminology to use, but here's my definition for the purpose of this question:

    Visual Studio has areas that allows similar windows to be grouped together by default. Let's call these areas panes. Thus the following panes can be observed:

    Explorer pane: group together Solution Explorer, Team Explorer, Class View,...

    Output pane: group together Output, Breakpoints, Error List,...

    Document pane: group together C# files, C++ files, xaml files, ...

    Properties pane: properties windows

    Does anyone know if it's possible to extend Visual Studio to have a user pane so that all user's specific windows can be grouped under that pane by default. Please point to some examples if there's any.

     

    Thanks.

     


    • Edited by UkMichael Friday, May 12, 2017 8:09 AM
    Thursday, May 11, 2017 4:37 PM

Answers

  • Hello Cole,

    Firstly, my apology for not responding to your message sooner. For some reasons, I did not get the notification that a message has been posted. 

    Thank you for your suggestions. I was aware of both methods when I posted the question, and whilst they do seem to be a solution but neither completely answer what I am trying to achieve.

    I did spend some time looking through the SDK to see if there's any API that will allow me to extend such functionality, but could not find anything. I think you are quite right in saying that it's not possible to extend Visual Studio to provide such feature.

    Thanks.

    • Marked as answer by UkMichael Tuesday, July 4, 2017 2:50 PM
    Tuesday, July 4, 2017 2:50 PM

All replies

  • Hi UkMichael,

    Welcome to the MSDN forum.

    Refer to your description, please have a look at this: Customizing window layouts in Visual Studio

    In VS IDE, there have some different kinds of windows, we can arrange and dock those windows through click and drag the title bar of a tool window, or the tab of document window, a guide diamond appears. During the drag operation, when the mouse cursor is over one of the arrows in the diamond, a shaded area will appear that shows you where the window will be docked if you release the mouse button now.

    We can configure the windows display or not, please go to View-Other Windows and check the windows that you want to display and configure its location.

    If I misunderstand your meaning, please feel free to let me know, and provide the detail requirement that you want, thank you for your understanding.

    Best regards,

    Sara


    MSDN Community Support<br/> Please remember to click &quot;Mark as Answer&quot; the responses that resolved your issue, and to click &quot;Unmark as Answer&quot; if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact <a href="mailto:MSDNFSF@microsoft.com">MSDNFSF@microsoft.com</a>.

    Friday, May 12, 2017 9:41 AM
  • Hello Sara,

    Many thanks for your reply. Unfortunately, you have misunderstood my question meaning that my original post was not clear. Being a newbie, I am not able to include links/diagram in my message to help with the explanation. I apologise.

    I am trying to extend Visual Studio (i.e. VSX) by implementing new VSpackages so that it will provide some extra functionalities specific to the company. By default I would like to group these new tool windows under the same user "pane" similar to how Visual Studio 2015 groups Solution Explorer+Team Explorer+Class View+Resource View together. As an example, if I were to put my new tool windows in the same "pane" as the Solution Explorer, I would use the ProvideToolWindow attribute and pass it the GUID value = {3AE79031-E1BC-11D0-8F78-00A0C9110057}.

    So my question is how do I create this new user "pane" and register it with Visual Studio so that I can put all the new tool windows under this pane by using ProvideToolWindow attribute?

    Hope my question is now clearer and thanks again for your help.

    Friday, May 12, 2017 10:16 AM
  • Hi UkMichael,

    >>So my question is how do I create this new user "pane" and register it with Visual Studio so that I can put all the new tool windows under this pane by using ProvideToolWindow attribute?

    As far as I know, it seems that you vsix package could not implement your requirement, you could use the method, which sara mentioned before by using Customizing window layouts in Visual Studio, put all tool windows to a custom window layouts.

    You could also could a tool widows with multiple tabs.  For more information, please refer to:

    http://www.wpf-tutorial.com/tabcontrol/using-the-tabcontrol/ 

    Best regards,

    Cole Wu


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Tuesday, May 16, 2017 5:58 AM
  • Hello Cole,

    Firstly, my apology for not responding to your message sooner. For some reasons, I did not get the notification that a message has been posted. 

    Thank you for your suggestions. I was aware of both methods when I posted the question, and whilst they do seem to be a solution but neither completely answer what I am trying to achieve.

    I did spend some time looking through the SDK to see if there's any API that will allow me to extend such functionality, but could not find anything. I think you are quite right in saying that it's not possible to extend Visual Studio to provide such feature.

    Thanks.

    • Marked as answer by UkMichael Tuesday, July 4, 2017 2:50 PM
    Tuesday, July 4, 2017 2:50 PM