Freigeben über


Did you know... There are 4 window layouts that you can save - #135

There are four different window layout states

  1. Design view – what you see when you launch Visual Studio and do your editing
  2. Full screen – Toggled by Shift+Alt+Enter in the general development settings. Also found via View – Full screen.  The command is View.FullScreen.
  3. Debugging view – when debugging
  4. File view – when you open a file via the command line as follows: devenv.exe myfile.txt.   You’ll notice that the environment will have no tool windows showing.

Both your tool window layouts and your command bar customizations are saved in these states.

When you shut down Visual Studio in any state, all 4 states are saved.  Additionally, all 4 states are saved when you do a Tools – Import Export Settings – Export – Window Layouts.

Technorati tags: VS2005Tip, VS2008Tip

Comments

  • Anonymous
    January 22, 2008
    PingBack from http://msdnrss.thecoderblogs.com/2008/01/23/

  • Anonymous
    January 23, 2008
    Is it possible to tell VS to only use one state? I'm not a fan of tool windows moving when I start a debugging session. Typically, I try to duplicate the same layout in the debug and non-debug session.

  • Anonymous
    January 23, 2008
    Hey Now Sara, I never new the alt - shift enter for full screen. Nice tip, similar to F11 on IE. Thx 4 the info, Catto

  • Anonymous
    January 23, 2008
    Hi Tom, unfortunately, no.  These four states are internal to VS.  The best you could do is create the exact layout (which you should only have to do once) and then save these settings in a file via Tools Import Export Settings. However, the way window layouts works is that you have to config just once, then you are done.  Everytime you shut down VS your window layouts are saved and persisted.  But there isn't a command to say, "hey, make my design and debug exactly the same" that will do this customization behind the scenes. I would log this as a suggestion on the Connect feedback center.  

  • Anonymous
    January 23, 2008
    jQuery MooTools 1.2 Beta 2 Released, Adds New Element Storage jQuery, Facebox and AJAX Agile The magic

  • Anonymous
    February 01, 2008
    Sara: Good work on the blog. To someone who always tries to squeeze the last drop out of the tools he uses, your blog is really a goldmine. Topic: What I'm actually missing is a separate window layout for the RAD Design View (Toolbox, Property Tab etc) and when just editing code. (I won't need the Toolbox and Property tab there) Thanks

  • Anonymous
    October 15, 2008
    次のように、ウィンドウレイアウトの状態は 4 種類あります。 デザイン ビュー – Visual Studio を起動したときの表示で、この状態で編集を行います。 全画面表示 – 全般的な開発設定で Shift

  • Anonymous
    November 05, 2008
    Today I was playing around with my windows in Visual Studio to get them in place exactly how want it