Shortcut key
VSCode
bash
Shift+Alt + ↓ / ↑ 向上/向下复制行 Copy line up/down
1.查找文件 ctrl + p
2.移动行 alt +up/down
3.显示/隐藏左侧目录栏 ctrl + b
4.复制当前行:shift + alt +up/down
5.代码格式化:shift + alt +f
6.新建一个窗口 : ctrl + shift + n
7.行增加缩进: ctrl + [
8.行减少缩进: ctrl + ]
9.关闭编辑器窗口 : ctrl + w
10.关闭所有窗口 : ctrl + k + w
11.回到顶部: ctrl + home
12.回到底部: ctrl + end
13.批量修改:CTRL+Shift+L
14.折叠当前区域:Ctrl + Shift + [
展开当前区域:Ctrl + Shift + ]
15.匹配的括号之间跳转: Ctrl + Shift + \
windows
1、Alt 键组合
bash
Alt + F4 ———— 关闭当前程序
Alt + 空格 + C ———— 关闭窗口
Alt + 空格 + N ———— 最小化当前窗口
Alt + 空格 + R ———— 恢复最小化窗口
Alt + 空格 + X ———— 最大化当前窗口
Alt + 空格 + M ———— 移动窗口
Alt + 空格 + S ———— 改变窗口大小
Alt + 空格键 ———— 为当前窗口打开控制菜单
Alt + 空格键 ———— 显示当前窗口的“系统”菜单
2、Windows 徽标键
bash
Windows 徽标键 + Pause ———— 显示“系统属性”对话框。
Windows 徽标键 + D ———— 显示桌面。
Windows 徽标键 + M ———— 最小化所有窗口。
Windows 徽标键 + Shift + M ———— 将最小化的窗口还原到桌面。
Ctrl + Windows 徽标键 + 数字 ———— 切换到锁定到任务栏中的由该数字所表示位置处的程序的最后一个活动窗口。
Alt + Windows 徽标键 + 数字 ———— 打开锁定到任务栏中的由该数字所表示位置处的程序的跳转列表。
idea
bash
1 执行(run) alt+r
2 提示补全(cLass Name completion) alt+/ (改)
3 单行注释 ctrL +/
4 多行注释 ctrl + shift +/
5 向下复制一行(Duplicate lines) ctrl+alt+down
6 删除一行或选中行( delete line) ctrl+d
7 向下移动行(move statement down ) alt+down
8 向上移动行(move statement up) alt+up
9 向下开始新的一行(start new line) shift+enter
10 向上开始新的一行(Start New line before current) ctrL+shift+enter
11 如何查看源码(class) ctrl +选中指定的结构或ctrl + shift + t
12 万能解错/生成返回值变量 alt + enter
13 退回到前一个编辑的页面(back ) alt + left
14 进入到下一个编辑的页面(针对于上条)(forward) alt + right
15 查看继承关系(type hierarchy) F4
16 格式化代码(reformat code) ctrl+shift+F
17 提示方法参数类型(Parameter Info) ctrL+alt+/
18 复制代码 ctrl + c
19 撤销 ctrl + z
20 反撤销 ctrL + y
21 剪切 ctrl + x
22 粘贴 ctrl + v
23 保存 ctrl + s
24 全选 ctrl + a
25 选中数行,整体往后移动 tab
26 选中数行,整体往前移动 shift + tab
27 查看类的结构:类似于eclipse的outline ctrl+o
28 重构:修改变量名与方法名(rename) alt+shift+r
29 大写转小写/小写转大写(toggle case) ctrl+shift+y
30 生成构造/get/set/tostring alt +shift + s (改)
31 查看文档说明(quick documentation) F2
32 收起所有的方法(collapse all) alt + shift + - (改)
33 打开所有方法(expand all) alt + shift + + (改)
34 打开代码所在硬盘文件夹( show in explorer) ctrL+shift+x
35 生成try-catch等( surround with) alt+shift+z
36 局部变量抽取为成员变量(introduce field) ........
37 查找/替换(当前) ctrl+f
38 查找(全局) ctrl+h
39 查找文件 double shift
40 查看类的继承结构图(Show UML Diagram) ctrl + shift + u
41查看方法的多层重写结构(method hierarchy ) ctrL+aLt+h
42 添加到收藏( add to favorites ) alt+shift+f
43 抽取方法(Extract Method) alt+shift+m
44 打开最近修改的文件(Recently Files) ctrL+E
45 关闭当前打开的代码栏(close) ctrl + w
46 关闭打开的所有代码栏(close all) ctrl +shift + w
47 快速搜索类中的错误(next highlighted error) ctrl + shift + q (改)
48 选择要粘贴的内容( show in Explorer) ctrl+shift+v
49 查找方法在哪里被调用(call Hierarchy ) ctrl+shift+h
Navicat
bash
ctrl + Q /ctrl + N: 打开新查询窗口
ctrl + R: 运行当前查询窗口内的所有语句
ctrl + W: 关闭当前窗口
F6: 打开一个MySQL命令行窗口
ctrl + shit + R: 只运行选中的语句
ctrl + /: 注释
ctrl + shift + /: 取消注释
ctrl + L: 删除一行
F7: 运行从光标当前位置开始的一条完整sql语句
ctrl + D: 在表数据窗口上查看表结构/在当前查询窗口下为复制当前选择或复制当前行到下一行
ctrl + Tab :切换窗口
F8 :回到navicat对象窗体下
ctrl+H :打开历史日志
🐒🐒🐒🐒🐒🐒 🐒🐒🐒🐒🐒🐒
"registry-mirrors" : [
"https://registry.docker-cn.com",
"https://docker.mirrors.ustc.edu.cn",
"http://hub-mirror.c.163.com",
"https://cr.console.aliyun.com/"
]