Paolo's Notes

BA by day, sleepy coder by night...

VS.NET Tips & Tricks notes

This is a BoF session where attendees and presenters (from Canada, yay) share neat little things (some known, some obscure) about working in VS.NET.

  • Creating a class that implements an interface, pressing Tab after the interface name will create stubs for the methods of the interface
  • Ctrl+] jumps to the next end block.
  • Ctrl+Shift+] selects the block.
  • Ctrl+Shift+I enters incremental search.
  • Ctrl+Space (sometimes Ctrl+J, depending on the language) enters IntelliSense.
  • In command window you can create aliases (alias command) to access all menu entries
  • In command window, immed enters immediate mode.
  • Change Dockable from the context menu of the Output window to put it into the source panes.
  • Select New Horizontal/Vertical Tab to split the source window to view two or more files at once.
  • Ctrl+Tab navigates through open source windows (Ctrl+Shift+Tab navigates backwards)
  • Clicking Mark All in the Find dialog will create a bookmark for each entry found.
  • Alt+Drag selects arbitrary blocks of text.
  • Entering a TODO comment (// TODO: do something) will insert the comment in the task list. You can customize the list of tags that will go in the task list from the Options dialog.
  • Alt+Shift+Enter toggles the full screen code window.
  • Toggling Search Hidden Text in the Find dialog will search into the collapsed regions.
  • In C#, from the Class View, right click on a class and select Add > Property to get a wizard to automatically build a property structure.
  • When removing a file from a solution, remember to take it out also from the source code manager (Visual SourceSafe or CVS) to avoid having it compiled and built nightly.
  • Don't use MDI :)
  • Lots of built-in aliases for the Command Window.
  • In Solution Explorer, right click the solution, select Properties and toggle Multiple Startup Projects to start both the client and the server (if you have them) applications.
  • Shift-F7 or Ctrl+PgUp/Ctrl+PgDn toggles between views on your file (Design, Source, HTML, Data, etc...)

Email contact addresses for the presenters are:

Very cool session.

 

Comments

Dave Burke said:

These are great tips. Thanks for sharing the notes.
# October 27, 2003 12:47 AM

Dennis v/d Stelt said:

Indeed, thanks for sharing!
# October 27, 2003 4:26 AM

Srinivasa Sivakumar S said:

Good once.
# October 27, 2003 6:51 AM

Ilya Ryzhenkov said:

# October 27, 2003 9:16 AM

Barry Gervin said:

I'm glad you enjoyed the session - and glad to know somebody else was taking notes too. You forgot one name on the list which is Dave@ObjectSharp.com. Thanks to everyone for coming and making it such an interactive session.
# October 27, 2003 2:57 PM

Dave Lloyd said:

The session turned out better than we imagined. Thanks to everyone who got involved and shared their tips. I would really love more of those kinds of sessions.
# October 27, 2003 3:09 PM

TrackBack said:

# October 27, 2003 6:32 PM

eric canty said:

I've translated a part of this posting to Chinese.

http://blog.joycode.com/eric/posts/5146.aspx

Thanks for sharing your notes
# November 4, 2003 2:49 AM

TrackBack said:

# August 27, 2004 11:36 AM

TrackBack said:

Visual Studio .Net Tips
# August 27, 2004 1:11 PM

TrackBack said:

# March 14, 2005 2:47 AM

rajesh said:

really useful .keep this standard

# September 5, 2007 5:05 AM

dotnetguts said:

# December 3, 2008 12:00 PM
Leave a Comment

(required) 

(required) 

(optional)

(required)