使用chrome打开当前网页预览
使用快捷键ctrl+shift+b,vscode提示创建新任务,修改task.json
{
// See http://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "0.1.0",
"command": "Chrome", //使用chrome浏览器
"windows": {
"command": "C:/Program Files (x86)/Google/Chrome/Application/chrome.exe" //chrome浏览器的路径
},
"isShellCommand": true,
"args": ["${file}"], //表示对当前文件进行操作
"showOutput": "always" //代表运行的时候是否打开output窗口
}
linux下不能使用gdb调试
VsCode 使用专用编程字体FiraCode
VsCode 配置中添加:
"editor.fontFamily": "'Fira Code', Consolas, 'Courier New', monospace",
"editor.fontLigatures": true,