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

牽著老婆滿街逛

嚴(yán)以律己,寬以待人. 三思而后行.
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

轉(zhuǎn)載自: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)  編輯 收藏 引用


只有注冊用戶登錄后才能發(fā)表評論。
網(wǎng)站導(dǎo)航: 博客園   IT新聞   BlogJava   博問   Chat2DB   管理


青青草原综合久久大伊人导航_色综合久久天天综合_日日噜噜夜夜狠狠久久丁香五月_热久久这里只有精品
  • <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>
            亚洲精品欧美日韩专区| 日韩一区二区精品| 久久av在线| 欧美新色视频| 亚洲久色影视| 欧美黄在线观看| 亚洲欧美偷拍卡通变态| 99国产一区二区三精品乱码| 欧美高清在线| 国产精品a久久久久| 亚洲欧美日韩成人高清在线一区| 亚洲国产欧美在线人成| 久久se精品一区二区| 欧美一级淫片aaaaaaa视频| 一个色综合av| 亚洲福利在线视频| 国产精品国产三级国产专播品爱网| 激情久久影院| 欧美成人免费全部观看天天性色| 亚洲视频一区| 午夜在线a亚洲v天堂网2018| 亚洲欧美春色| 欧美一区二区日韩| 国产嫩草一区二区三区在线观看| 欧美成人午夜视频| 欧美黄免费看| 亚洲制服少妇| 亚洲精品欧美极品| 中文精品视频| 午夜精品福利电影| 亚洲人成7777| 亚洲国产一成人久久精品| 你懂的亚洲视频| 久久精品99久久香蕉国产色戒| 亚洲一区二区在线| 午夜久久久久久| 亚洲高清在线观看| 亚洲欧美电影院| 国产亚洲激情在线| 国产一区av在线| 一区二区欧美在线| 欧美成人第一页| 在线观看亚洲一区| 亚洲精品一区二区在线| 亚洲春色另类小说| 欧美人成网站| 亚洲国产美女精品久久久久∴| 国产精品系列在线播放| 国产欧美在线视频| 免费在线观看一区二区| 亚洲精选大片| 国产精品一区二区久激情瑜伽| 国产精品美女在线观看| 欧美日韩在线观看一区二区| 久久精品国产第一区二区三区| 国产精品美女| 夜夜夜久久久| 韩国福利一区| 在线日本成人| 久久九九电影| 亚洲精品国产欧美| 欧美成人精品一区| 西西人体一区二区| 亚洲第一视频| 国产欧美日韩精品专区| 国产一区二区三区无遮挡| 精品9999| 欧美激情一区二区三区全黄 | 欧美美女视频| 国产日韩欧美不卡在线| 女人香蕉久久**毛片精品| 国内精品亚洲| 久久理论片午夜琪琪电影网| 国产精品久久久久久妇女6080| 欧美久久一级| 亚洲欧美综合另类中字| 日韩午夜免费视频| 开心色5月久久精品| 欧美一级片在线播放| 一级成人国产| 亚洲人成网在线播放| 亚洲视频综合| 欧美性色aⅴ视频一区日韩精品| 久久综合一区二区三区| 亚洲第一综合天堂另类专| 国产精品三级视频| 日韩视频在线免费观看| 亚洲高清三级视频| 美女91精品| 美女主播精品视频一二三四| 久久久亚洲国产美女国产盗摄| 国产精品久久一级| 欧美在线播放一区| 免播放器亚洲一区| 日韩亚洲精品视频| 欧美成人精品一区| 欧美日韩视频在线观看一区二区三区| 亚洲精品免费网站| 国产一区二区三区视频在线观看| 亚洲一区二区精品在线| 亚洲综合导航| 欧美国产视频一区二区| 亚洲精品韩国| 亚洲精选在线| 久久综合中文色婷婷| 欧美影院在线播放| 国产精品久久毛片a| 久久久精品动漫| 午夜欧美精品久久久久久久| 亚洲欧美国产视频| 国产精品久久7| 亚洲欧洲av一区二区| 亚洲欧美日韩成人高清在线一区| 欧美大尺度在线观看| 国产精品久久久久久久久 | 欧美日韩国产首页| 国产精品日韩欧美| 午夜免费日韩视频| 午夜欧美大片免费观看| 夜色激情一区二区| 亚洲综合色自拍一区| 亚洲线精品一区二区三区八戒| 国产精品一区=区| 国产午夜精品福利| 亚洲国产高清aⅴ视频| 久久久久久久久久码影片| 久久精品夜色噜噜亚洲a∨| 精品成人久久| 欧美成人精品在线观看| 亚洲欧美日本精品| 亚洲国产二区| 亚洲视频免费在线| 久久久91精品| 欧美亚州一区二区三区| 99成人在线| 亚洲国产欧美一区二区三区丁香婷| 久久gogo国模啪啪人体图| 美女视频黄免费的久久| 欧美日韩另类在线| 欧美一区网站| 久久精品三级| 久久久一区二区| 国产精品一二三视频| 久久免费视频一区| 国产日韩精品一区二区三区 | 老司机午夜精品视频在线观看| 久久综合导航| 欧美激情偷拍| 久久精品官网| 欧美激情按摩| 亚洲欧洲一区二区三区在线观看 | 美女尤物久久精品| 牛夜精品久久久久久久99黑人 | 极品尤物久久久av免费看| 亚洲第一区中文99精品| 亚洲欧美久久久久一区二区三区| 亚洲在线成人| 久久riav二区三区| 亚洲小说区图片区| 久久久天天操| 亚洲永久免费| 亚洲精品美女久久久久| 欧美成人综合网站| 在线一区二区日韩| 日韩视频免费观看高清在线视频 | 久久这里只有| 久久久国际精品| 99国产精品99久久久久久| 国内自拍一区| 欧美电影在线观看完整版| 亚洲精品在线视频观看| 亚洲第一主播视频| 亚洲私人影院在线观看| 韩国福利一区| 最近中文字幕mv在线一区二区三区四区| 欧美国产日韩一区二区| 中日韩视频在线观看| 牛人盗摄一区二区三区视频| 亚洲图片你懂的| 麻豆国产精品777777在线| 欧美大片国产精品| 免费成人黄色片| 欧美在线短视频| 欧美在线免费观看视频| 亚洲自啪免费| 麻豆精品视频在线观看| 在线亚洲电影| 亚洲一区观看| 久久亚洲二区| 欧美电影资源| 亚洲精品乱码久久久久久日本蜜臀| 亚洲国产精品久久人人爱蜜臀| 亚洲国产一区在线| 欧美精品999| 国内精品福利| 乱码第一页成人| 老司机久久99久久精品播放免费 | 欧美日韩亚洲一区二区| 欧美国产综合| 久久久美女艺术照精彩视频福利播放|