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, //强制使用终端输出, 避免中文乱码
    }
    
  • 相关阅读:
    《ML in Action》笔记(2) —— ID3决策树
    《ML in Action》笔记(1) —— kNN分类器
    MYSQL笔记
    Javascript代码摘录
    初试mysql存储过程&触发器
    百度地图API应用实践(一) —— 栅格图(草稿)
    2020年8月9日, 网吧, 歌单, 极客时间, 龙岩网络图书馆, 正则, WPS, Python
    2020年8月3日, 网吧 ,
    2020年7月13日,想在网吧搞学习,实属想多了
    账号被盗,什么原因呢?是我的操作系统太脆弱,还是博客园存在安全隐患?
  • 原文地址:https://www.cnblogs.com/JohnRain/p/11502642.html
Copyright © 2011-2022 走看看