多行代码注释快捷键:
VS2017 和 VScode:
eclipse:
jupyter notebook 和 pycharm:crtl /
IntelliJ IDEA:ctrl / 或者 ctrl shift /
Xcode: command /
matlab
RStudio:ctrl shift C
texstudio
winedt: 选中-右键-Insert-Comment 或者 shift ctrl alt 方向键右键(先按住前三个不放) shift ctrl alt 方向键左键
texworks: ctrl shift ] ctrl shift [
Codeblocks: Ctrl+Shift+C Ctrl+shift+X
代码排齐快捷键:
VS: ctrl+k+d ctrl+k+f
VScode:
shift+alt+F、Shift + Option + F、Ctrl + Shift + I
安装beautify插件,按ctrl+shift+P, 选择beautify file
ctrl+shift+P, 输入format,选择格式化文档
Codeblocks:代码区域右击 点“format use AStyle”
Xcode: Command + i
IntelliJ IDEA:ctrl+alt+L
Clion: ctrl+alt+L
动作撤销恢复快捷键:
IntelliJ IDEA: ctrl+Z 撤销 ctrl+shift+Z 恢复
统计代码行数
Visual Studio查询代码行数
Ctrl+Shift+F ^b*[^:b#/]+.$* 使用正则表达式
VScode
同上:b*[^:b#/]+.
$、^b
[^:b#/]+.*$
下载VS Code Counter插件,Ctrl+Shift+P,输入Count lines in workspace,
其他
VSCode
Visual Studio
Clion、IntelliJ IDEA
windows
IDAPRO