青青草原综合久久大伊人导航_色综合久久天天综合_日日噜噜夜夜狠狠久久丁香五月_热久久这里只有精品

牽著老婆滿街逛

嚴以律己,寬以待人. 三思而后行.
GMail/GTalk: yanglinbo#google.com;
MSN/Email: tx7do#yahoo.com.cn;
QQ: 3 0 3 3 9 6 9 2 0 .

Visual Studio 2010 Keyboard & Mouse Shortcuts

轉載自:http://www.itscodingtime.com/post/Visual-Studio-2010-Keyboard-Mouse-Shortcuts.aspx

Get the official Visual Studio 2010 keyboard shortcut posters from Microsoft.

Building on my previous VS2008 Shortcuts post, I thought it'd be a good idea to see what Visual Studio 2010 brings to the keyboard and mouse shortcut arena.

While the basis for this list remains those shortcuts outlined in my previous post, I did verify that each of those shortcuts still works. New VS2010 shortcuts are highlighted in blue. Where appropriate, dialogs, etc. have been updated to VS2010. Last, I tried to order entries in a pseudo-alpha format. Barring that, they're logically placed together, so hopefully it makes sense and things are easy to find.

Keyboard Shortcuts

1. Alt-Shift-Enter to View Coding Window Full-screen

alt_key_small-w65 plus shift_key_small_w65 plus enter_key_small_h65   

Hitting "Alt+Shift+Enter" will make the coding window full-screen and (temporarily) drop most other windows from view. Restore to your usual window configuration by de-pressing the "Full Screen" button at top (the fact that it seems to be pushed up a little off-screen must be a VS2010 Beta 2 deal):

image

 

2. Alt-F12 to Find Symbol

alt_key_small-w65plusf12_key_small_h65

Use "Alt-F12" to find symbols, objects, or members.

image

 

3. Ctrl-F to do a Quick Find

ctrl_key_small_h65 plusletter_f_small_h65

Search for something in the current code file quickly with "Ctrl-f".image

 

4. Ctrl-Shift-F to Find in Files

ctrl_key_small_h65plusshift_key_small_h65 plusletter_f_small_h65

Find in files is easy with "Ctrl-Shift-f".image

 

5. Ctrl-K-C to Comment/Uncomment Code

ctrl_key_small_h65plus letter_f_small_h65 plus letter_c_small_h65

You can comment or uncomment code by highlighting the respective code block and hitting "Ctrl-k-c" to comment or "Ctrl-k-u" to uncomment. This shortcut even works in .aspx pages.

image

image

 

6. Ctrl-K-D to Reformat the Entire Document

ctrl_key_small_h65plus letter_k_small_h65 plus letter_d_small_h65

If you want to reformat all of the code in the current document, hit "Ctrl-k-d".

 

7. Ctrl-K-F to Reformat a Block of Code

ctrl_key_small_h65plus letter_k_small_h65plus letter_f_small_h65

If you've just pasted in a bunch of code where the formatting is screwed-up, just highlight it and hit "Ctrl-k-f" to format.

 

8. Ctrl-K-L to Toggle Outlining Ctrl-M-M to Toggle Outlining

ctrl_key_small_h65plus letter_m_small_h65 plus   letter_m_small_h65

If you want to open (expand) or close (collapse) all outlining in a code file, use "Ctrl-m-m". It works like a toggle, alternatively expanding or collapsing all outlining in the current file.

 

9. Ctrl-K-S to Access Code Snippets

ctrl_key_small_h65plusletter_k_small_h65plusletter_s_small_h65   

Easily open the code snippets selection dropdown with "Ctrl-k-s":

image

 

10. Ctrl–K–T to View Call Hierarchy

ctrl_key_small_h65plusletter_k_small_h65plusletter_t_small_h65

Highlight a member operation and hit "Ctrl-k-t" to view it's call hierarchy.

image

A new window will open:

image

 

11. Ctrl-L to Cut Line to Clipboard

ctrl_key_small_h65plus letter_l_small_h65

It's not necessary to highlight an entire line and then hit the delete key. Just hit "Ctrl-L" and the line the cursor is currently on will be removed and copied to the clipboard. "Ctrl-x" performs the same operation by default.

 

12. Ctrl-F3 to Search Without the Dialog

ctrl_key_small_h65plus f3_key_small_h65

ctrl_key_small_h65 plus shift_key_small_h65plus f3_key_small_h65 

Just highlight the text you want to search on and hit "Ctrl-F3" to search down or "Ctrl-Shift-F3" to search up.

 

13. Ctrl-, (Ctrl-Comma) to Perform a Fuzzy 'Navigate To' Search

ctrl_key_small_h65plusimage

Perform a "fuzzy" search and get location information with "Ctrl-," (Ctrl-Comma).

image

 

14. Ctrl-] to Find Matching Curly Brace or Region

ctrl_key_small_h65plus right_curly_brace_paren_small_h65

Position the cursor next to a curly brace ('{' or '}') and hit "Ctrl-}'. This will toggle the cursor between the matching braces.

image

This shortcut will also work for #region...#endregion's.

 

15. F9 to Add/Remove Breakpoint

f9_key_small_h65

'F9' will toggle breakpoints for the current line.

 

 

16. F12 to Go to Definition

f12_key_small_h65

Put the cursor on an item and hit 'F12'. Instant 'go to definition' functionality.

 

17. Shift-F5 to Stop Debugging

shift_key_small_h65plus f5_key_small_h65

To stop debugging a project, use "Shift-F5". Much quicker than going through the Debug menu.

 

18. Shift-F12 to Find Usages

shift_key_small_h65plusf12_key_small_h65 

'Shift-F12' will find all usages of the item the cursor is currently on and display the "Find Usages" dialog (this is ReSharper's version of the dialog; standard VS2008 looks a little different):

image

 

 

19. 'prop' to Create New Property

propplustab_key2_small_h65 plustab_key2_small_h65

Add a new property in code by typing prop then hitting the Tab key twice. This "prop-TAB-TAB" combination will create a property template that looks like:

   1: public int MyProperty { get; set; }

 

Mouse Shortcuts

1. Right-click to add references

Say you've just entered a line of code like the following where the red squiggly indicates you haven't yet added the necessary reference (in VS2010 Beta 2, the red squiggly isn't showing up, but the shortcut still works):

image

You could jump to the top of the file and type it in manually, or you could right-click on the squiggly-indicated word and choose "Resolve | using …":

image

This will add the needed reference for you, no typing required.

 

2. Zoom In/Zoom Out

ctrl_key_small_h65plusimage

The same Word functionality of pressing Ctrl and zooming in and out is now in VS2010.

 

3. Remove unused references

Many times there are references included in the "using…" section that are not needed. Removing the unnecessary ones is easy: Right-click anywhere on the code file, select "Organize Usings | Remove Unused Usings".

image

 

4. Sort usings

To sort your "usings…" section, right-click anywhere on the code file and select "Organize Usings | Sort Usings".

image

 

5. Open a file's "containing folder"

Right-click on an open file's tab, select "Open Containing Folder".

image

 

6. Copy a file's folder location to the clipboard

Right-click on an open file's tab, select "Copy Full Path".

image

 

7. Close all files but "this" one

If you have more than one file open, you can right-click on one of the file tabs (the one which you want to stay open) and choose "Close All But This". This will close all other files.

image

 

8. Close tab 

A quick way of closing a tab is to use the mouse scroll or middle button. Hover the mouse cursor over the tab, click the mouse scroll button, and the file (and it's tab) will close.

 

9. Highlight References/Usages

Place the cursor on any member and VS2010 will auto-highlight it throughout:

image

 

Conclusion

Again, if anyone has anything I missed (I know there's got to be a lot), leave a comment. I'd love to learn some new ones!

More Visual Studio Shortcuts, Tips, and Tricks 

posted on 2010-09-15 22:44 楊粼波 閱讀(1014) 評論(0)  編輯 收藏 引用

青青草原综合久久大伊人导航_色综合久久天天综合_日日噜噜夜夜狠狠久久丁香五月_热久久这里只有精品
  • <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
    <noscript id="pjuwb"></noscript>
          <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
            <dd id="pjuwb"></dd>
            <abbr id="pjuwb"></abbr>
            国产亚洲一级高清| 亚洲精品视频二区| 欧美一区二区三区在线观看| 男女视频一区二区| 亚洲免费在线观看| 欧美天堂在线观看| 亚洲精品综合精品自拍| 久久精品视频免费观看| 在线亚洲精品| 欧美午夜精品理论片a级按摩 | 欧美日本一区| 亚洲人成网站777色婷婷| 久久精品2019中文字幕| 亚洲自拍高清| 国产伦精品一区二区三区四区免费 | 亚洲精品黄色| 亚洲欧美一区二区三区久久| 欧美私人网站| 中文一区二区| av72成人在线| 欧美无砖砖区免费| 亚洲欧美电影在线观看| 在线午夜精品| 国产精品一区二区三区四区 | 尤物在线精品| 欧美xart系列高清| 男人插女人欧美| 亚洲精品综合在线| 亚洲伦伦在线| 国产精品亚洲аv天堂网| 久久riav二区三区| 久久久亚洲人| 亚洲精品少妇30p| 日韩亚洲欧美精品| 国产伦精品一区二区三区视频黑人| 欧美一区二区视频免费观看| 久久se精品一区精品二区| 影音先锋中文字幕一区| 亚洲激情小视频| 国产精品激情| 久久艳片www.17c.com| 蜜桃久久精品乱码一区二区| 一区二区三区|亚洲午夜| 亚洲一区久久| 狠狠色丁香久久婷婷综合丁香| 欧美成人一区二区在线| 欧美日韩亚洲一区二区三区在线观看| 性欧美精品高清| 久久三级福利| 亚洲免费一区二区| 欧美一区二区在线观看| 亚洲精品美女在线| 亚洲免费一在线| 亚洲经典自拍| 亚洲午夜精品一区二区三区他趣| 国产一区香蕉久久| 亚洲精品网站在线播放gif| 国产日本精品| 亚洲毛片av在线| 国产综合自拍| 亚洲精品国产欧美| 国产日产亚洲精品| 亚洲精品一区二区三区蜜桃久 | 性欧美xxxx视频在线观看| 久久蜜桃av一区精品变态类天堂| 亚洲午夜国产成人av电影男同| 久久精品一区中文字幕| 在线午夜精品| 榴莲视频成人在线观看| 欧美在线视频不卡| 亚洲视频久久| 欧美成人久久| 久久久国际精品| 欧美日韩免费视频| 欧美暴力喷水在线| 国产欧美精品一区| 99视频有精品| 亚洲国产日韩一区| 久久精品国产精品| 午夜伦欧美伦电影理论片| 老司机久久99久久精品播放免费| 欧美在线观看网址综合| 欧美午夜欧美| 日韩亚洲精品视频| 99精品欧美一区二区三区综合在线| 久久精品日韩欧美| 久久精品视频导航| 国产一区二区精品| 亚洲一区二区三区四区视频| 亚洲视频999| 欧美日韩一区精品| av不卡免费看| 亚洲欧美日韩综合| 国产精品久久久久免费a∨大胸| 亚洲精品一区在线观看| 亚洲乱码精品一二三四区日韩在线| 久久一二三四| 欧美黄色小视频| 亚洲精品免费一区二区三区| 麻豆精品在线视频| 亚洲国产精品va| 亚洲肉体裸体xxxx137| 欧美777四色影视在线| 欧美激情网站在线观看| 91久久久久| 欧美激情亚洲另类| 亚洲免费av网站| 亚洲一区二区精品视频| 欧美视频官网| 欧美一级播放| 久久久成人精品| 在线精品福利| 欧美激情一区二区三区全黄| 一本一本久久| 久久精品噜噜噜成人av农村| 国内精品美女av在线播放| 久久精品在线| 亚洲精品日韩在线观看| 香蕉乱码成人久久天堂爱免费| 国产一区二区三区四区三区四| 久久午夜视频| 一本色道久久88精品综合| 久久成人精品无人区| 在线免费观看日本一区| 欧美日韩成人一区二区| 亚洲女性喷水在线观看一区| 久久九九国产| 亚洲激情一区二区三区| 国产精品久久久久久久免费软件| 欧美在线观看视频一区二区三区| 欧美大片免费久久精品三p| 在线亚洲精品| 国产自产在线视频一区| 美女精品在线| 亚洲一区二区在| 欧美3dxxxxhd| 亚洲影院一区| 亚洲韩国日本中文字幕| 国产精品电影观看| 另类人畜视频在线| 亚洲性xxxx| 亚洲自拍偷拍一区| 欧美日韩另类字幕中文| 销魂美女一区二区三区视频在线| 老妇喷水一区二区三区| 夜夜嗨av一区二区三区免费区| 国产日韩成人精品| 欧美日韩免费在线视频| 久久九九国产精品| 亚洲一线二线三线久久久| 亚洲福利专区| 久久久久久69| 亚洲欧美综合另类中字| 在线成人免费观看| 国产乱肥老妇国产一区二| 欧美精品18videos性欧美| 欧美亚洲综合久久| 亚洲一区久久久| 亚洲精品国产精品久久清纯直播| 蜜臀av国产精品久久久久| 欧美一二三区精品| 亚洲视频一区在线| 亚洲另类黄色| 91久久在线| 亚洲福利国产| 曰本成人黄色| 国产综合久久久久久鬼色| 国产精品日日摸夜夜摸av| 欧美日本簧片| 欧美日韩激情小视频| 欧美国产一区二区| 欧美大胆人体视频| 欧美成人蜜桃| 欧美激情亚洲| 欧美日韩视频在线第一区| 欧美国产精品| 欧美韩国日本一区| 欧美刺激午夜性久久久久久久| 免费欧美视频| 免费亚洲电影在线| 欧美成人日本| 欧美激情导航| 欧美日韩第一页| 欧美日韩视频第一区| 国产精品高潮呻吟久久av黑人| 欧美午夜寂寞影院| 国产精品一区二区黑丝| 国产嫩草一区二区三区在线观看| 国产精品国产三级欧美二区| 国产精品国产馆在线真实露脸 | 久久av一区二区三区亚洲| 久久www成人_看片免费不卡| 久久精品日韩| 欧美成人在线影院| 欧美色视频一区| 国产欧美在线观看一区| 国产一区二区三区直播精品电影 | 国产目拍亚洲精品99久久精品| 国产三区二区一区久久| 国产真实乱偷精品视频免|