zoukankan      html  css  js  c++  java
  • VS2008最常用快捷键

    When editing
    Alt + F7                在打开的所有窗口中选择:不松开Alt,按左右键导航    
    ctrl + ]                  go to ({['s match

    ctrl + -                  go previous view             
    ctrl + shift + -        go next view

    ctrl + Tab               next file
    ctrl + shift + Tab    previous file
    ctrl + F4                close current tab

    F12           Go to definition
    Ctrl+W, D Open definition window   读代码的时候非常好用


    F7              go to code
    shift+F7     go to designer

    Ctrl+Shift+L    Delete line
    Ctrl+Shift+V    Cycle Clipboard Paste(Can find previous content on clipboard)
    Ctrl+Shift+U    To Lower case
    Ctrl+U             To Upper case

    Ctrl+E,D    Format all code
    Ctrl+E,F     Format selected code

    Ctrl+E,C    Comment out selected code
    Ctrl+E,U    Undo comment out selected code

    Ctrl + Down/Up   Scroll one line, keep cursor still

    Alt+Shift+Enter Toggle full Screen

    Bookmark
    Ctrl+B,T    Toggle
    Ctrl+B,N    Next
    Ctrl+B,P    Previous
    Ctrl+B,C    Clear all


    When debugging(many other useful windows in menu Debug/Windows)
    Ctrl+D,B   Break point window
    Ctrl+D,I   Immediate window
    Ctrl+D,L   Local varibles
    Ctrl+D,C   Call stack
    Ctrl+D,W   Watch window
    Ctrl+F10  Run to cursor
    右键按钮,W     Add to Watch

    When cursor on sth
    Ctrl+K,I    quick Info
    Ctrl+K,P   Parameter
    Ctrl+K,L   member List

    Windows

    ctrl+W, C        Class view
    ctrl+W, D        Definition window
    ctrl+W, S        Solution explorer
    ctrl+W, P        Properties
    ctrl+W, T        Taks list
    ctrl+W, E        Error list
    ctrl+W, O        Output

    Outlining

    ctrl+M, O    collapse to definition
    ctrl+M, P    stop outlining

    Refactoring

    Command Name

    Shortcut Keys

    Description

    EncapsulateField

    CTRL + R, E

    Displays the Encapsulate Field Dialog Box, which allows for creation of a property from an existing field and updates all references to use the new property.

    ExtractInterface

    CTRL + R, I

    Displays the Extract Interface Dialog Box, which allows for creation of a new interface with members derived from an existing class, struct, or interface.

    ExtractMethod

    CTRL + R, M

    Displays the Extract Method Dialog Box, which allows for creation of a new method from the selected code.

    Rename

    CTRL + R, R

    Displays the Rename Dialog Box, which allows for renaming all references for an identifier.

  • 相关阅读:
    LINQ to XML 示例(转)
    (jQuery,Highcharts)前端图表系列之一 Highcharts (转)
    c#中Split等分割字符串的几种方法(转)
    Highcharts 强大的jQuery图表制作功能
    OpenFileDialog、SaveFileDialog常用屬性、對話框用法及得到系統特殊文件夾路徑(转)
    C# Regex 深入正则表达式(转)
    C#文件IO操作(转)
    免费Google地图API使用说明(转)
    Java遍历集合的几种方法分析(实现原理、算法性能、适用场合)
    C++ Web 开发框架 (CppCMS)
  • 原文地址:https://www.cnblogs.com/shineblog/p/2445198.html
Copyright © 2011-2022 走看看