VSCode
快捷方式(win系统)
ctrl + 鼠标左键
ctrl + P
ctrl + T 或 前辍输入'#'标识(例:'#reactive')
ctrl + shift + O 或 前辍输入'@'标识(例:'@reactive')
ctrl + shift + \
ctrl + K ctrl + 0
ctrl + K ctrl + 1
ctrl + K ctrl + 2
ctrl + K ctrl + [ 或 ]
Win系统
命令行(默认cmd)
rd /s/q [dir name] // 强制删除 文件夹
del /f/s/q [filename] // 强制删除 文件
new-item [filename] // 创建 文件 (powershell)
echo a 2> [filename] // 创建 文件
md [dir name] // 创建 文件夹
ren [old name] [new name] // 重命名
tasklist | findstr python // 模糊查找进程
taskkill /F /PID 1234 //终止进程
netstat -ano | findstr <端口号> // 根据端口号查找进程
Git
命令行
// 工作中常用
git add *
git commit -m 'info'
git stash // 修改的文件 压入栈中
git pull origin dev
git push origin dev_yu
git stash pop // 弹出 最近栈中文件
使用技巧
// 在线看源码
- github`1s`
例子:
https://github.com/liudewa888/webpack-example
// 添加 '1s' 直接用vscode打开对应的源码
https://github1s.com/liudewa888/webpack-example/