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, //强制使用终端输出, 避免中文乱码
    }
    
  • 相关阅读:
    「AHOI2018 初中组」根式化简(分解质因数+推性质)
    「TJOI2018」智力竞赛(二分+DAG最小可相交路径覆盖)
    「LibreOJ NOI Round #1」动态几何问题(mobius反演+分块)
    「LibreOJ NOI Round #1」北校门外的回忆(找性质+倍增+线段树)
    USACO 2020 Open Contest, Platinum(exercise)(min-max容斥+计数dp)
    「LibreOJ β Round」ZQC 的截图(随机+hash)
    BM算法模板
    「THUSCH 2017」如果奇迹有颜色(burnside引理+状压dp+打表+BM+常系数齐次线性递推)
    「THUSCH 2017」换桌(zkw费用流)—对几种费用流算法的总结
    iOS学习笔记42-Swift(二)函数和闭包
  • 原文地址:https://www.cnblogs.com/JohnRain/p/11502642.html
Copyright © 2011-2022 走看看