设置终端为gitbash
可能有的同学使用linux指令习惯了,所以使用powershell时感觉不是很方便,我们可以设置一下终端为gitbash就可以愉快的使用linux指令了
- 首先打开设置,然后搜索shell
- 然后找到这一列terminal.integrated.shellArgs.windows
- 打击编辑setting.json
- 然后你就会发现里面有powershell的配置路径,对应换成git目录下的/bin/bash.exe就可以了
自定义ll指令
- vim ~/.bashrc
- 输入alias ll= “ls -l”
- :wq保存并退出
- source ~/.bashrc //激活指令
vscode一些比较好用的插件
- vscode的强大之处就是各种各样的插件,需要什么就找什么
- chinese //中文简体
- Auto Close Tag //自动闭合标签
- Auto Rename Tag //重命名标签
- Live Server //启动本地服务,打开静态页面
- 一些常用的配置
{
“protocol”: “sftp”,
“host”: “服务器地址”,
“port”: 22,
“username”: “username”,
“password”: “password”,
“uploadOnSave”: true,//保存后自动上传
“remotePath”: “要上传的地址”,
//要忽略的文件
“ignore”: [
]".vscode", ".git", ".DS_Store", "**/node_modules"
}
- Path Autocomplete //路径智能提示
- PHP IntelliSense //支持很多php功能,最好用的就是可以启动本地服务,直接调试php页面,不过需要配置php执行文件路径
- sftp
- tp5 //tp5框架智能提示
- Vetur //适用于vue框架