ようこそ.私のブログへ.私”MIZO”の毎日の日記を見ることができます. MENU

備忘録的おれのVS Code Settings.json

{
    //LaTeX Workshop
    "latex-workshop.latex.tools": [
        {
            "name": "ptex2pdf",
            "command": "ptex2pdf",
            "args": [
                "-l",
                "-interaction=nonstopmode",
                "-ot",
                "-kanji=utf8 -synctex=1 -interaction=nonstopmode -shell-escape",
                "%DOCFILE%.tex"
            ]
        },
    ],
    "latex-workshop.latex.recipes": [
        {
            "name": "ptex2pdf",
            "tools": [
                "ptex2pdf",
                "ptex2pdf"
            ]
        }
    ],
    "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",
        // for Beamer files
        "_minted*",
        "*.nav",
        "*.snm",
        "*.vrb",
    ],
    "latex-workshop.latex.clean.enabled": true,
    "latex-workshop.latex.autoClean.run": "onBuilt",
    "security.workspace.trust.untrustedFiles": "open",
    "latex-workshop.latex.autoBuild.run": "onSave",
    "latex-workshop.chktex.enabled": false,
    "latex-workshop.view.pdf.viewer": "tab", //Ctrl+Alt+Vで表示
    //日本語
    "japanese-proofreading.textlint.ひらく漢字": false,
    "japanese-proofreading.textlint.ピリオドとカンマの使用(全角)": false,
    "japanese-proofreading.textlint.外来語カタカナ表記": false,
    //Editor
    "editor.unicodeHighlight.ambiguousCharacters": false,
    "editor.unicodeHighlight.nonBasicASCII": false,
    "editor.formatOnSave": true, //オートインデント
    "editor.fontSize": 16,
    //外観
    "workbench.startupEditor": "none",
    "workbench.preferredLightColorTheme": "Default High Contrast",
    "window.autoDetectColorScheme": true,
    //RunCode
    "code-runner.runInTerminal": true,
    "code-runner.executorMap": {
        "java": "clear && cd $dir && java $fileName ",
    },
    "code-runner.executorMapByFileExtension": {
        ".tex": "cd $dir && platex $fileName"
    },
    //File制御
    "explorer.confirmDelete": false,
    "workbench.colorTheme": "Default High Contrast",
}