zoukankan      html  css  js  c++  java
  • VScode 个人设置

    // Place your key bindings in this file to override the defaultsauto[]
    [
        {
            "key": "ctrl+b",
            "command": "-workbench.action.toggleSidebarVisibility"
        },
        // {
        //     "key": "ctrl+b",
        //     "command": "python.execInTerminal",
        //     "when": "resourceExtname == .py",
        // },
        {
            "key": "ctrl+b",
            "command": "latex-workshop.recipes",
            "when": "resourceExtname == .tex",
        },
        {
            "key": "f10",
            "command": "workbench.action.terminal.toggleTerminal",
        },
        {
            "key": "ctrl+b",
            "command": "code-runner.run"
        },
    ]
    
    {
        "python.jediEnabled": false,
    
    
    
        // Latex workshop
        "latex-workshop.latex.autoBuild.run": "never",
        "latex-workshop.latex.tools": [
    
            {
                "name": "xelatex",
                "command": "xelatex",
                "args": [
                "-synctex=1",
                "-interaction=nonstopmode",
                "-file-line-error",
                "%DOC%"
                ]
            },          
            {
                "name": "pdflatex",
                "command": "pdflatex",
                "args": [
                "-synctex=1",
                "-interaction=nonstopmode",
                "-file-line-error",
                "%DOC%"
                ]
            },
            {
                "name": "latexmk",
                "command": "latexmk",
                "args": [
                "-synctex=1",
                "-interaction=nonstopmode",
                "-file-line-error",
                "-pdf",
                "%DOC%"
                ]
            },
            {
                "name": "bibtex",
                "command": "bibtex",
                "args": [
                "%DOCFILE%"
                ]
            }
        ],
        "latex-workshop.latex.recipes": [
            {
                "name": "pdflatex -> bibtex -> pdflatex*2",
                "tools": [
                    "pdflatex",
                    "bibtex",
                    "pdflatex",
                    "pdflatex"
                ]
            },
            {
                "name": "xelatex",
                "tools": [
                "xelatex"
                            ]
                    },
            {
                "name": "latexmk",
                "tools": [
                "latexmk"
                            ]
            },
    
            
        ],
        "latex-workshop.view.pdf.viewer": "external",
        "latex-workshop.view.pdf.external.command": {
            "command": "C:/Program Files/SumatraPDF/SumatraPDF.exe",
            "args": [
                "%PDF%"
            ]
        },
    
        // 正向搜索
        "latex-workshop.view.pdf.external.synctex": {
            "command": "C:/Program Files/SumatraPDF/SumatraPDF.exe",
            "args": [
                "-forward-search",
                "%TEX%",
                "%LINE%",
                "%PDF%"
            ]
        },
    
        "latex-workshop.latex.clean.fileTypes": [
            "*.aux",
            "*.bbl",
            "*.blg",
            "*.idx",
            "*.ind",
            "*.lof",
            "*.lot",
            "*.out",
            "*.toc",
            "*.acn",
            "*.acr",
            "*.alg",
            "*.glg",
            "*.glo",
            "*.gls",
            "*.ist",
            "*.fls",
            "*.log",
            "*.fdb_latexmk",
            "*.synctex.gz"
        ],
    
        // Python
        "terminal.integrated.shell.windows": "C:\WINDOWS\System32\cmd.exe",
        "python.pythonPath": "C:\Miniconda3\envs\spyder\python.exe",
        "editor.largeFileOptimizations": false,
        "explorer.confirmDelete": false,
        "explorer.confirmDragAndDrop": false,
        "editor.suggestSelection": "first",
        "vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
        "code-runner.executorMap": {
            "javascript": "node",
            "php": "C:\php\php.exe",
            "python": "python",
            "perl": "perl",
            "ruby": "C:\Ruby23-x64\bin\ruby.exe",
            "go": "go run",
            "html": ""C:\Program Files (x86)\Google\Chrome\Application\chrome.exe"",
            "java": "cd $dir && javac -encoding utf-8 $fileName && java $fileNameWithoutExt",
            "c": "cd $dir && gcc $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt"
        },
        "code-runner.runInTerminal": true, //强制使用终端输出, 避免中文乱码
    }
    
  • 相关阅读:
    html 底部虚线
    C# 写入二进制文件
    js document 触发按键事件
    python之工作举例:通过复制NC文件来造数据
    python之多线程举例
    python之发送HTML内容的邮件
    python之打印日志logging
    python之查询指定目录下的最新文件
    python之datetime类
    python之Counter类:计算序列中出现次数最多的元素
  • 原文地址:https://www.cnblogs.com/JohnRain/p/11502642.html
Copyright © 2011-2022 走看看