Welcome to MSDN Blogs Sign in | Join | Help

Sara Ford's WebLog


My adventures in sharing Microsoft source code

News

MSFT Women Bloggers

December 2007 - Posts

Did you know.... How to customize what directory the File - Open - File dialog opens to? - #118
Today's tip is pretty straightforward. Under Tools - Options - Environment - Documents, there's the Open file using directory of currently active document. When reading this, it took me a few seconds to think "what's the open file thingy?" It's referring Read More...
Did you know... How to edit a read-only file in VS? - #117
In Tools - Options - Environment - Documents , there's the option Allow editing of read-only files; warn when attempt to save. If this option is checked (my personal preference), you'll get prompted whether you want to overwrite or save the document as Read More...
Did you know... How to automatically refresh an open document in the editor? - #116
Under Tools - Options - Environment - Documents , there's the option to Detect when file is changed outside the environment . Under it is the subsequent option to auto-load changes, if saved . Personally, I can't imagine working without having the first Read More...
Did you know... How to reuse the same editor window when opening files? - #115
Go to Tools - Options - Environment - Documents , and check the Reuse current document window, if saved option to give it a try. If the current document window is dirty (meaning you've made a modification, but haven't saved yet), the next document will Read More...
Did you know... You can speed up or slow down how fast a tool window slides to a from a docked position? - #114
On the Tools - Options - Environment - General page, you'll find an animate environment tools slider. This option controls the speed at which a tool window will slide in and out of an auto-hide state. Additionally, you can opt-out completely from the Read More...
Did you know... How to customize auto-hiding and closing docked tool windows? - #113
In the Tools - Options - Environment - General page, you'll find the checkboxes Close button affects active tool window only Auto Hide button affects active tool window only Below is a snapshot of two tool windows docked together with the "closed button" Read More...
The Twelve Yats of Christmas (12 days of Christmas - New Orleans Style)
I'm in New Orleans right now (Miss Gulf Coast to be exact), and I just heard The 12 Yats of Christmas on the radio today.  Hysterical.  Anyone from New Orleans will crack up listening to this. The music video is up on youtube of course, but Read More...
Did you know... You can hide the Visual Studio status bar? - #112
I'm not sure what the user scenario is for hiding the status bar, but if you need / want to hide it, you can. Go to Tools - Options - Environment - General and uncheck Show Status Bar If you have a real-world example, please let me know! Thanks! Technorati Read More...
Did you know... How to customize the number of items shown in the recent files lists? (and where to find those lists) - #111
Yes, you've guessed it, we're in a series of related tips... with the lowest common denominator being the Tools - Options - Environment - General page. Today's tip we're going to look at the Recent Files options, starting with the number of files to be Read More...
Did you know... Visual Studio supports a MDI mode? - #110
In Visual Studio, there's a setting to toggle Visual Studio from the default tabbed document mode to a MDI (Multiple Document Interface) mode, as it is commonly referred to. Go to Tools - Options - Environment - General and select Multiple documents found Read More...
Did you know... how to open something in the binary editor - #109
for those of you following the tip of the day series, it's time for something a little bit different. The first time I saw this test case in the editor test bed, i thought, "whoa (yes, Keanu Reeves style)... i've opened this dialog box a 1000 times and Read More...
Did you know... how to insert a code snippet around a block of code? - #108
C# and XML support the Edit.SurroundWith command that will insert the desired snippet around the selected code (whether it is just a selected word, selected line, or entire function) The keyboard shortcut is Ctrl+K, Ctrl+S. Technorati tags: VS2005Tip Read More...
Did you know... How to share code snippets with your team? - #107
I like this tip because it isn't really how to use features, but rather how to combine features to do new things. Put the snippets you want others to have access to out on a share. Go to Tools - Code Snippet Manager , press the Add button and give it Read More...
Did you know... How to browse code snippets and add new ones - #106
All code snippets are found in the Code Snippet Manager. It is found at Tools - Code Snippet Manager. If you are using the default general settings, you can use Ctrl+K, Ctrl+B to bring up the dialog box. IMO, the most useful aspect of this dialog is to Read More...
Did you know... You can insert a code snippet via its shortcut keyword - #105
Update: thanks to Bill for catching that VB doesn't show snippet shortcuts in the statement completion. I've updated the VB picture below to better illustrate what is going on. Also, check out Bill's post, as he talks about using the '?' to insert snippets. Read More...
DevTeach Open Source Panel recording now available on .NET Rocks!
Although I chose the wrong line at the border to reenter the US, adding an extra 45 minutes to the wait, I successfully completed my first solo trip into Canada to sit on the DevTeach open source panel. You can find the recording as .NET Rocks! episode Read More...
Did you know... How to change default values and variables in a code snippet - #104
When you insert a code snippet, the editor highlights the fields (variables, values, etc) you can modify depending on how the code snippet was written. The idea is you modify the contents of the field, then press tab to navigate to the next field. When Read More...
Tips Inspiring Tips
I've been inspired by the Silverlight Tip of the Day series (which was originally inspired by this VS Tip of the Day series) to include the tip # in the titles.  Isn't community cool?!  Here's the first Silverlight tip to check out. When the Read More...
Did you know... Ctrl+K, Ctrl+X inserts a code snippet - #103
In Visual Studio 2005, we introduced code snippets. The VS Editor Team Blog has a nice write-up on code snippets , if you want to learn more instead of waiting for a tip here and there from me =) So we're going to start the code snippet tip series with Read More...
Did you know... How to keep tabs or to insert spaces? - #102
This tip and yesterday's tip were my least favorite features to test. It would just drive me crazy trying to keep up with when should a tab get inserted, when should the cursor move to the correct formatted position, etc. Now, i will only use spaces in Read More...
Did you know... what's the difference between smart indenting and block indenting? - #101
Smart indenting is the option you want provided you want the cursor to be properly indented whenever you press enter or arrow up and down through the code. An example is when you create a new method called foo(), then hit enter. You'll notice the cursor Read More...
Did you know... How to reach the Navigation bar via the keyboard? - #100
At the very top of the editor and just below the File Tab Channel, you'll find the Navigation Bar. The left combo box lists objects and the right lists the select objects members. This is very useful when you need to jump to various functions throughout Read More...
Did you know... How to change the Brace Matching color? - #099
A previous tip talked about what that automatic delimiter highlighting option does. A follow-up tip is how to change the Brace Matching color. Go to Tools - Options - Fonts and Colors, select Brace Matching (Rectangle), and set to the desired color. I Read More...
Did you know... How to turn off Intellisense by default - #098
Just in case you ever need to do this... Go to Tools - Options - Text Editor - All Languages - General and uncheck Auto List Members and Parameter Information . If you just want to disable intellisense by default for a particular language, go to the Text Read More...
Page view tracker