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: 900X580 - 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) so far

Post your comment

Thanks for your comments


Be nice ;)

  • Comment

Main RSS Feed (All Posts)

Scott Cate Main Blog FedSample topics include personal, work, community, technology, and Video Tricks.

Visual Studio Tricks Feed (New)

Scott Cate Visual Studio Tricks RSS FeedOnly contains Visual Studio Tricks. These are 99% video tricks!

Technology RSS Feed

Scott Cate Technology FeedTechnology Only! Tips, Tricks, Programming, Tech Events, and other geeky subjects.

Want Email Notifications of New VSTricks

What is your email?

Twitter @ScottCate

  • My 4 year old: daddy why is a hammer called a hammer? You don't ham things with it; you bam things. It should be called a bammer ;)
  • @jonsagara Thank you!
  • Costco has QuickBooksPro 2010 for $145 http://goo.gl/cLtX That seems like a pretty good deal - everywhere else I've seen has it for $180+
  • Installing my first ever 64 bit OS, with Win7 Ultimate, on my MacBookPro 17. Any words of wisdom for me?
  • I'm thankful we don't have to pay the Build Servers for the work they do. We'd be broke!

Twitter @VSTricks

  • RT @zainnab: Visual Studio 2010 Tips and Tricks Begins!: Happy to announce that the New Year marks the beginning .. http://bit.ly/8pZh0O
  • Congratulations to all @VSTricks entries. @Kazuk was the winner. Video shows how the random was done http://bit.ly/8EDCwW (if u care)
  • @kazuk Congrats - you are the winner - video being posted shortly - please DM me your email
  • @leemessenger @ericfickes @DarrellHardy Trick 504 has been fixed. No login needed. http://bit.ly/71OGcF
  • OK Everyone! Trick 504 is fixed! No user/pwd needed. Debug ASP.net in any browser with #VisualStudio http://bit.ly/7QaCSi

GetClicky Web Stats

Web Analytics