Vscode 默认设置

{
    "terminal.integrated.profiles.linux": {

        "bash": {
            "path": "bash",
            "icon": "terminal-bash"
        },
        "zsh": {
            "path": "zsh"
        },
        "fish": {
            "path": "fish"
        },
        "tmux": {
            "path": "tmux",
            "icon": "terminal-tmux"
        },
        "pwsh": {
            "path": "pwsh",
            "icon": "terminal-powershell"
        }
    },
    "workbench.colorTheme": "Pycharm Original Theme",
    "editor.fontSize": 17,
    "files.autoSave": "afterDelay",
    "files.autoSaveDelay": 500,
    "workbench.iconTheme": "vscode-icons",

    "todo-tree.tree.showScanModeButton": false,
    "todo-tree.filtering.excludeGlobs": ["**/node_modules", "*.xml", "*.XML"],
    "todo-tree.filtering.ignoreGitSubmodules": true,
    "todohighlight.keywords": [],
    "todo-tree.tree.showCountsInTree": true,
    "todohighlight.keywordsPattern": "TODO:|FIXME:|NOTE:|\\(([^)]+)\\)",
    "todohighlight.defaultStyle": {},
    "todohighlight.isEnable": false,
    "todo-tree.highlights.customHighlight": {
        "BUG": {
        "background": "#ff4800",
        "icon": "bug",
        "foreground": "#ffffff",
        "type": "text"
        },
        "FIXME": {
        "icon": "flame",
        "foreground": "#FF9800",
        "type": "text-and-comment"
        },
        "TODO": {
        "foreground": "#FFEB38",
        "type": "text-and-comment"
        },
        "NOTE": {
        "icon": "note",
        "foreground": "#67C23A",
        "type": "text-and-comment"
        },
        "INFO": {
        "icon": "info",
        "foreground": "#909399",
        "type": "text-and-comment"
        },
        "TAG": {
        "icon": "tag",
        "foreground": "#409EFF",
        "type": "line"
        },
        "HACK": {
        "icon": "versions",
        "foreground": "#E040FB",
        "type": "line"
        },
        "XXX": {
        "icon": "unverified",
        "foreground": "#E91E63",
        "type": "line"
        }
    },
    "todo-tree.general.tags": [
        "BUG",
        "HACK",
        "FIXME",
        "TODO",
        "INFO",
        "NOTE",
        "TAG",
        "XXX"
    ],
    "todo-tree.general.statusBar": "total",
    "debug.console.fontSize": 16,
    "terminal.integrated.fontSize": 14,
    "[python]": {
        "editor.formatOnType": true
    },
    "jupyter.interactiveWindow.textEditor.executeSelection": true,
    "python.terminal.executeInFileDir": true,


    //latex start
    // ****************
    //		LaTeX
    // ****************
    "files.associations": {
        "*.sty": "latex-expl3",
        "*.cls": "latex-expl3"
    },
    "latex-workshop.latex.autoBuild.run": "never",
    "latex-workshop.message.error.show": false,
    "latex-workshop.message.warning.show": false,
    "latex-workshop.latex.recipe.default": "lastUsed",
    "latex-workshop.view.pdf.viewer": "tab",
    // "latex-workshop.synctex.synctexjs.enabled": true,
    "latex-workshop.formatting.latex": "latexindent",
    "latex-workshop.showContextMenu": true,
    // "latex-workshop.view.pdf.invert": 0.8,
    // "latex-workshop.viewer.pdf.internal.keyboardEvent": "auto",
    "latex-workshop.view.pdf.internal.synctex.keybinding": "double-click",
    // "latex-workshop.intellisense.package.dirs": ["./"],
    "latex-workshop.latex.clean.method": "glob",
    "latex-workshop.latex.clean.fileTypes": [
        "*.abs",
        "*.acn",
        "*.acr",
        "*.alg",
        "*.aux",
        "*.bak",
        "*.bbl",
        "*.bcf",
        "*.blg",
        "*.col",
        "*.con",
        "*.cor",
        "*.DS_Store",
        "*.fdb_latexmk",
        "*.fls",
        "*.glg",
        "*.glo",
        "*.gls",
        "*.gz",
        "*.idx",
        "*.ilg",
        "*.ind",
        "*.loc",
        "*.lof",
        "*.log",
        "*.los",
        "*.lot",
        "*.nav",
        "*.nlo",
        "*.nls",
        "*.out",
        "*.pdfsync",
        "*.sav",
        "*.sgl",
        "*.sgn",
        "*.sgr",
        "*.slg",
        "*.sll",
        "*.sln",
        "*.slo",
        "*.slr",
        "*.sls",
        "*.snm",
        "*.soc",
        "*.spl",
        "*.synctex",
        "*.synctex(busy)",
        "*.synctex.gz(busy)",
        "*.thm",
        "*.toc",
        "*.toe",
        "*.xdv",
        "*.xdy",
        "*.xml",
        "*.xwm",
    ],
 
    "latex-workshop.latex.recipes": [
        {
            "name": "xelatex",
            "tools": [ "xelatex" ],
        },
        {
            "name": "xelatex & bibtex",
            "tools": [ "xelatex", "bibtex", "xelatex", "xelatex" ]
        },
        {
            "name": "xelatex & biber",
            "tools": [ "xelatex", "biber", "xelatex" ]
        },
        {
            "name": "pdflatex",
            "tools": [ "pdflatex" ]
        },
        {
            "name": "pdflatex & bibtex",
            "tools": [ "pdflatex", "bibtex", "pdflatex", "pdflatex" ]
        },
        {
            "name": "pdflatex & biber",
            "tools": [ "pdflatex", "biber", "pdflatex" ]
        },
        {
            "name": "latexmk pdf",
            "tools": [ "latexmk -pdf" ]
        },
        {
            "name": "latexmk xe",
            "tools": [ "latexmk -xe" ]
        },
    ],
 
    "latex-workshop.latex.tools": [
        {
            "name": "pdflatex",
            "command": "pdflatex",
            "args": [
                "-synctex=1",
                "-shell-escape",
                "-interaction=nonstopmode",
                "-file-line-error",
                "%DOCFILE%"
            ]
        },
        {
            "name": "xelatex",
            "command": "xelatex",
            "args": [
                "-synctex=1",
                "-interaction=nonstopmode",
                "-file-line-error",
                "%DOCFILE%"
            ]
        },
        {
            "name": "xelatex batchmode",
            "command": "xelatex",
            "args": [
                "-synctex=-1",
                "-interaction=batchmode",
                "-shell-escape",
                "-8bit",
                "%DOCFILE%"
            ]
        },
        {
            "name": "latexmk -pdf",
            "command": "latexmk",
            "args": [
                "-pdf",
                "-synctex=-1",
                "-interaction=errorstopmode",
                "-file-line-error",
                "%DOCFILE%"
            ]
        },
        {
            "name": "latexmk -xe",
            "command": "latexmk",
            "args": [
                "-pdfxe",
                "-synctex=-1",
                "-interaction=errorstopmode",
                "-file-line-error",
                "%DOCFILE%"
            ]
        },
        {
            "name": "bibtex",
            "command": "bibtex",
            "args": [
                "%DOCFILE%"
            ]
        },
        {
            "name": "biber",
            "command": "biber",
            "args": [
                "-winunicode",
                "%DOCFILE%"
            ]
        },
        {
            "name": "JP",
            "command": "platex",
            "args": [
                "-synctex=-1",
                "-interaction=nonstopmode",
                "-file-line-error",
                "%DOCFILE%"
            ]
        },
        {
            "name": "dvipdfmx",
            "command": "dvipdfmx",
            "args": [
                "%DOCFILE%"
            ]
        },
    ],
    // latex end
}
posted @ 2026-04-25 16:43  X1OO  阅读(8)  评论(0)    收藏  举报