zoukankan      html  css  js  c++  java
  • VSCode 设置集成 cygwin bash 终端

    settings.json

    {
        "window.enableMenuBarMnemonics": false,
        "liveServer.settings.donotVerifyTags": true,
        "liveServer.settings.donotShowInfoMsg": true,
        "debug.allowBreakpointsEverywhere": true,
        "editor.cursorStyle": "line",
        "editor.lineNumbers": "on",
        "editor.wordSeparators": "/\\()\"':,.;<>~!@#$%^&*|+=[]{}`?-",
        "editor.wordWrap": "off",
        "http.proxyStrictSSL": false,
        "workbench.colorTheme": "NarutoDark",
        "terminal.integrated.profiles.windows": {
            "cygwin": {
                "path": "C:\\cygwin64\\bin\\bash.exe",
                "env": {
                    // "HOME": "${workspaceFolder}", // 错误:不支持win风格路径
                    "CHERE_INVOKING": "1" // cygwin默认执行/etc/profile以检查环境变量CHERE_INVOKING,如果设置,则禁止更改目录到$HOME。
                },
                "icon": "terminal-bash",
                "args": [
                    "--login",
                ]
            },
            "Command Prompt": {
                "path": [
                    "${env:windir}\\Sysnative\\cmd.exe",
                    "${env:windir}\\System32\\cmd.exe"
                ],
                "args": [],
                "icon": "terminal-cmd"
            },
            "Git Bash": {
                "source": "Git Bash"
            }
        },
        "terminal.integrated.defaultProfile.windows": "cygwin",
        "http.proxy": "http://127.0.0.1:25378",
        "http.proxySupport": "fallback",
        "window.zoomLevel": 1,
    }
    
  • 相关阅读:
    AngularJS:添加检查密码输入是否一致的功能
    Clojure:两步发送iOS推送通知(apns)
    Openfire:解决乱码问题
    iOS:让UIView覆盖导航栏
    python 图片压缩存储
    jQuery 树形结构
    jsTree
    Mrakdown文本编辑器
    Flask jQuery ajax
    flask-sqlalchemy分表解决方案
  • 原文地址:https://www.cnblogs.com/develon/p/15722856.html
Copyright © 2011-2022 走看看