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.

  • 相关阅读:
    WisDom .net开发框架设计 2
    多线程处理大数组
    C#核心语法
    怎样控制与复制相同的功能
    SQL 内存数据库的细节
    验证编辑方法(Edit method)和编辑视图(Edit view)
    上传图片检测其是否为真实的图片 防范病毒上传至服务器
    chrome切换hosts插件 hostsadmin
    程序托盘图标+右键弹出菜单
    30多年程序员生涯经验总结(成功源自于失败中的学习;失败则是因为容忍错误的横行)
  • 原文地址:https://www.cnblogs.com/shineblog/p/2445198.html
Copyright © 2011-2022 走看看