zoukankan      html  css  js  c++  java
  • vs code.

    ctrl+shift+p 输入 configure task 类似。之后选择other xxxx.
    就会在项目文件夹下多一个.vscode/ tasks.json
    之后复制下面代码。
    再按ctrl+shift+b。就可以显示html了。
     
    {
    // See https://go.microsoft.com/fwlink/?LinkId=733558
    // for the documentation about the tasks.json format
    "version": "2.0.0",
    "tasks": [
    {
    "label": "Run HTML file with Chrome",
    "type": "process", // [shell,process]
    "command": "Chrome",
    "args": ["${file}"],
    "windows": {
    "command": "E:/Program Files (x86)/Google/Chrome/Application/chrome.exe"
    //"E:Program Files (x86)GoogleChromeApplicationchrome.exe"
    },
    "group": "build",
    "presentation": {
    // Reveal the output only if unrecognized errors occur.
    "reveal": "never" //[always,never,silent]
    },
    // Use the standard MS compiler pattern to detect errors, warnings and infos
    "problemMatcher": "$msCompile"
    }
    ]
    }
  • 相关阅读:
    第二十一章 PHP编译安装(centos7)
    第二十章 nginx常见问题
    第十九章 keepalived高可用
    dijkstra
    求逆序对
    A
    P2014 [CTSC1997]选课
    樱花 混合背包
    1401D
    CF1343D
  • 原文地址:https://www.cnblogs.com/lsfv/p/9066971.html
Copyright © 2011-2022 走看看