About the author

Steven Harmansteven harman :: makes sweet software with computers!

For recent posts and more about me, scroll to the bottom.

Subscribe

  • Subscribe to my feed. via RSS
  • Subscribe via email via email

News

Badges

  • Subtext Project
  • Support Subtext

Setting Visual Studio Split View Defaults

I’ve been using Visual Studio 2008 to do my Subtexting and while I’m really digging some of the new features like JavaScript IntelliSense, there is one new feature that is just driving me nuts. Split View.

Subtext in Split ViewBy default VS 2008 opens HTML documents, which includes .aspx, .ascx, and other markup document types, in the split view.

Split view is great if you’re interested in working in the design surface and still want quick and easy access to the raw markup responsible for creating the pretty UI. However... I’m deathly allergic to the design surface and try to avoid it all costs.

Being so designer-averse you can imagine what a PITA it is when every HTML document that I open starts in split view.

How do I fix it?

The other night at our local .net developer’s group meeting I noticed that the speaker, my buddy Jeff, was using VS 2008 and yet all of the HTML docs he opened were starting in source view. I asked him how he configured VS to do that and he said

I have no idea... I guess I just didn’t break mine yet. But I’m sure there’s a configuration option somewhere.

Thanks Jeff, most helpful. :)

The configuration option

Split View Default OptionsJeff was right, there is a configuration option! And to be honest, it’s right about where I’d expect it to be.

Tools  -> Options -> HTML Designer

You then have three default options to pick from, Source View, Designer View, and Split View.

And just like that you can avoid the design surface just and maintain your 1337 status.

Technorati Tags: ,

What others are saying.

# re: Setting Visual Studio Split View Defaults
Gravatar Shigg
Dec 19, 2007
Great, now how do you do it in Visual Studio 2005 to set a default
# re: Setting Visual Studio Split View Defaults
Gravatar Shigg
Dec 19, 2007
Never mind, I figured it out. You have to check "show all settings"
# re: Setting Visual Studio Split View Defaults
Gravatar Peter Mead
Dec 20, 2007
I can't find the option for Split View in Visual Studio 2005, I don't it is available. Has anyone found a way to get this functionality?
# re: Setting Visual Studio Split View Defaults
Gravatar Steven Harman
Dec 20, 2007
@Peter, Split View is new for Visual Studio 2008.

Also, Scott Guthrie wrote a post about enabling vertical Split View... for those interested.
# re: Setting Visual Studio Split View Defaults
Gravatar Mediademon
Apr 16, 2008
That's nice - but how do you set the code portion of the split window to the bottom?
Comments have been closed on this topic.