Visual Studio Tricks


Visual Studio (2005,2008,2010) Tips and Tricks.


#57 [Ctrl]+[J] invokes statement completion

In the default general development settings, the keyboard shortcut to invoke statement completion is [CTRL]+[J].  The keyboard shortcut is bound to Edit.ListMembers, so you may need to confirm what your keyboard shortcut is.

Click Screenshot To Play Video

#57 [Ctrl]+[J] invokes statement completion

Runtime: 1Minute 42Seconds - Resolution: 900 by 580 - File Size: 1.7Meg

Direct Download: If the video does not work for you,
Click Here to download it.

Snippets / Notes:

In the Text Editor Toolbar, you can invoke statement completion via the Show Member List button.

This work is licensed under a Creative Commons license.

Visual Studio Tip / Trick #057 English Transcription:

Today's Visual Studio Trick of the Day No. 57 is a video recast of Sara Ford’s original tip 57. The tip is statement completion and showing list members. You can see on screen here we have a new class, var p = new Product(); You guys know IntelliSense, p [dot] will show me the product ID and Name, that gives me the list members. You guys are probably used to [CTRL]+[SPACE], which will bring up the IntelliSense. So we can just say, the new product is say a Telephone and now if we go back over name, with my statement already there, if I do [CTRL]+[SPACE], which is statement completion, it just says oh you must want the name, because that’s the only thing that matches. So here’s the trick, [CTRL]+[J] will display those list members for you, which is different than the statement completion. Because statement completion uses what you already have to complete your statement, [CTRL]+[J] just pops up that window. Now you can navigate through and if you just want to change something, like I’ve just don’t to ID, you simply press [ENTER] or [TAB] to select that item. Now incidentally you can also look in the Menu here, and depending on your keyboard bindings, a pop-up will show you, if you have those turned on, what the keyboard binding is. So you can also use this as [CTRL]+[K]+[L] which is a little bit more harder to remember than [CTRL]+[J] and then finally under Edit, IntelliSense, you can see list members and what your keyboard bindings is there, [CTRL]+[K]+[L]. We’ll see you in the next video trick.
Kick this Trick on DotNetKicks.com

0 comment(s)


RSS Feeds

All Technology Posts

Scott Cate Main Blog Feed


Visual Studio Tricks Only Feed

@ScottCate on Twitter

Facebook Profile

Twitter @ScottCate

  • 600,000,000 (yes 600 million) desktops and devices have #Silverlight Installed http://SC8.me/bCXTt6
  • The future of Silverlight with #HTML5 http://sc8.me/bCXTt6
  • My good friend walked into the casino this week and won a Brand New 2010 Camaro #FB
  • @ScottDotNetVet nice - everyone loves that temp project tip/trick #vs2010
  • PHX Free Entity Framework 4 Event 12:30-5, Sept15th http://sc8.me/9LqYo7

GetClicky Web Stats

Web Analytics