zoukankan      html  css  js  c++  java
  • 编辑器统一 快捷键

    1、编辑器统一  快捷键

    向下复制一行(或块)          ctrl+D
    查找(文件中查找)        ctrl+F (ctrl+shift+F)
    查找下一个(上一个)      F3 (shift+F3)
    替换(文件中替换)        ctrl+R (ctrl+shift+R)
    格式化代码             ctrl+Alt+L
    删除一行         ctrl+Y
    折叠 (展开)      ctrl+ — (ctrl+ +)
    行注释          ctrl+/
    块注释          ctrl+shirt+/
    定位到某一行       ctrl+G
    光标跳到代码块的头部(尾部)ctrl+[ (ctrl+])
    书签 (下一个,上一个)  F11 (F2, shift+F2)
    前进 (后退) Alt + ← (Alt + →)

    2、vscode编辑器快捷方式

     1 // 将按键绑定配置放入此文件中即可覆盖默认值
     2 [
     3     {
     4         "key": "ctrl+d",
     5         "command": "editor.action.copyLinesDownAction",
     6         "when": "editorFocus"
     7     },
     8     {
     9         "key": "ctrl+shift+d",
    10         "command": "-editor.action.copyLinesDownAction",
    11         "when": "editorFocus"
    12     },
    13     {
    14         "key": "ctrl+r",
    15         "command": "editor.action.startFindReplaceAction"
    16     },
    17     {
    18         "key": "ctrl+h",
    19         "command": "-editor.action.startFindReplaceAction"
    20     },
    21     {
    22         "key": "ctrl+shift+oem_minus",
    23         "command": "editor.foldAll",
    24         "when": "editorTextFocus"
    25     },
    26     {
    27         "key": "ctrl+k ctrl+0",
    28         "command": "-editor.foldAll",
    29         "when": "editorTextFocus"
    30     },
    31     {
    32         "key": "ctrl+shift+oem_plus",
    33         "command": "editor.unfoldAll",
    34         "when": "editorTextFocus"
    35     },
    36     {
    37         "key": "ctrl+k ctrl+j",
    38         "command": "-editor.unfoldAll",
    39         "when": "editorTextFocus"
    40     },
    41     {
    42         "key": "ctrl+shift+oem_2",
    43         "command": "editor.action.blockComment",
    44         "when": "editorTextFocus && !editorReadonly"
    45     },
    46     {
    47         "key": "shift+alt+a",
    48         "command": "-editor.action.blockComment",
    49         "when": "editorTextFocus && !editorReadonly"
    50     },
    51     {
    52         "key": "ctrl+y",
    53         "command": "editor.action.deleteLines",
    54         "when": "textInputFocus && !editorReadonly"
    55     },
    56     {
    57         "key": "ctrl+shift+k",
    58         "command": "-editor.action.deleteLines",
    59         "when": "textInputFocus && !editorReadonly"
    60     },
    61     {
    62         "key": "ctrl+alt+l",
    63         "command": "editor.action.formatDocument",
    64         "when": "editorTextFocus && !editorReadonly"
    65     },
    66     {
    67         "key": "shift+alt+f",
    68         "command": "-editor.action.formatDocument",
    69         "when": "editorTextFocus && !editorReadonly"
    70     }
    71 ]
    View Code
  • 相关阅读:
    N层电梯只停一层情况下,求所有人爬楼层数最少
    小组开发用户调研
    《哈利波特》买书最优惠算法
    团队开发——极速蜗牛
    林锐——软件工程思想后两章阅读笔记
    课堂练习之检测水军
    团队开发项目-----来用------典型用户与用户场景分析
    体验结对开发的乐趣(6)--(电梯调度问题)
    团队开发项目-----来用------用户需求调研报告
    课堂练习之最高折扣,最低优惠规划
  • 原文地址:https://www.cnblogs.com/wfblog/p/9637549.html
Copyright © 2011-2022 走看看