{
//------------------------------LaTeX 配置----------------------------------
// 设置是否自动编译
"latex-workshop.latex.autoBuild.run": "onSave",
//右键菜单
"latex-workshop.showContextMenu": true,
//从使用的包中自动补全命令和环境
"latex-workshop.intellisense.package.enabled": true,
//编译出错时设置是否弹出气泡设置
"latex-workshop.message.error.show": true,
"latex-workshop.message.warning.show": false,
// 编译工具和命令
"latex-workshop.latex.tools": [
{
"name": "xelatex",
"command": "xelatex",
"args": [
"-synctex=1",
"-interaction=nonstopmode",
"-file-line-error",
"%DOCFILE%"
]
},
{
"name": "pdflatex",
"command": "pdflatex",
"args": [
"-synctex=1",
"-interaction=nonstopmode",
"-file-line-error",
"%DOCFILE%"
]
},
{
"name": "latexmk",
"command": "latexmk",
"args": [
"-synctex=1",
"-interaction=nonstopmode",
"-file-line-error",
"-pdf",
"-outdir=%OUTDIR%",
"%DOCFILE%"
]
},
{
"name": "bibtex",
"command": "bibtex",
"args": ["%DOCFILE%"]
},
{
"name": "biber",
"command": "biber",
"args": [
"%DOCFILE%"
]
}
],
// 用于配置编译链
"latex-workshop.latex.recipes": [
{
"name": "XeLaTeX",
"tools": ["xelatex"]
},
{
"name": "PDFLaTeX",
"tools": ["pdflatex"]
},
{
"name": "PDFLaTeX*2",
"tools": ["pdflatex", "pdflatex"]
},
{
"name": "BibTeX",
"tools": ["bibtex"]
},
{
"name": "LaTeXmk",
"tools": ["latexmk"]
},
{
"name": "xelatex -> bibtex -> xelatex*2",
"tools": ["xelatex", "bibtex", "xelatex", "xelatex"]
},
{
"name": "pdflatex -> bibtex -> pdflatex*2",
"tools": ["pdflatex", "bibtex", "pdflatex", "pdflatex"]
},
{
"name": "xelatex -> biber -> xelatex*2",
"tools": ["xelatex", "biber", "xelatex", "xelatex"]
}
],
//文件清理。此属性必须是字符串数组
"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"
],
//设置为onFaild 在构建失败后清除辅助文件
"latex-workshop.latex.autoClean.run": "onFailed",
// 使用上次的recipe编译组合
"latex-workshop.latex.recipe.default": "lastUsed",
// 用于反向同步的内部查看器的键绑定。ctrl/cmd +点击(默认)或双击
"latex-workshop.view.pdf.internal.synctex.keybinding": "double-click",
"workbench.colorTheme": "Visual Studio Light - C++",
"editor.wordWrap": "on",
"explorer.confirmDelete": false,
"[latex]": {
"editor.defaultFormatter": "James-Yu.latex-workshop",
"editor.formatOnSave": false
},
"[python]": {
"editor.defaultFormatter": "ms-python.black-formatter", // 确保针对 Python 文件使用 Black
"editor.formatOnSave": true
},
"black-formatter.args": ["--line-length", "120"],
"security.workspace.trust.untrustedFiles": "open",
//------------------------------Prettier 配置----------------------------------
"editor.defaultFormatter": "esbenp.prettier-vscode",
"[markdown]": {
// "editor.defaultFormatter": "mervin.markdown-formatter",
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": false
},
"prettier.markdown.mathParser": "none", // 禁止处理数学公式
"markdown-preview-enhanced.enablePreviewZenMode": false,
"markdown-preview-enhanced.codeBlockTheme": "auto.css",
"workbench.editorAssociations": {
"{git,gitlens,git-graph}:/**/*.{md,csv,svg}": "default"
},
"vscode-office.editorTheme": "Light",
"markdown-preview-enhanced.revealjsTheme": "white.css",
"python.defaultInterpreterPath": "E:\\envs\\rl_project\\python.exe",
"git.autofetch": true,
"editor.wordWrapColumn": 100,
"workbench.editor.empty.hint": "hidden",
"markdown-preview-enhanced.previewTheme": "one-light.css",
"markdown-preview-enhanced.enableExtendedTableSyntax": true,
"cline.vsCodeLmModelSelector": {},
"roo-cline.allowedCommands": [
"git log",
"git diff",
"git show",
"npm test",
"npm install",
"tsc"
],
"tabnine.experimentalAutoImports": true,
"terminal.integrated.scrollback": 3000,
"roo-cline.deniedCommands": [],
"explorer.fileNesting.patterns": {
"*.ts": "${capture}.js",
"*.js": "${capture}.js.map, ${capture}.min.js, ${capture}.d.ts",
"*.jsx": "${capture}.js",
"*.tsx": "${capture}.ts",
"tsconfig.json": "tsconfig.*.json",
"package.json": "package-lock.json, yarn.lock, pnpm-lock.yaml, bun.lockb, bun.lock",
"*.sqlite": "${capture}.${extname}-*",
"*.db": "${capture}.${extname}-*",
"*.sqlite3": "${capture}.${extname}-*",
"*.db3": "${capture}.${extname}-*",
"*.sdb": "${capture}.${extname}-*",
"*.s3db": "${capture}.${extname}-*"
},
"terminal.integrated.commandsToSkipShell": [
"matlab.interrupt"
],
"redhat.telemetry.enabled": true,
"yaml.schemas": {
"file:///c%3A/Users/waiii/.vscode/extensions/continue.continue-1.2.10-win32-x64/config-yaml-schema.json": [
".continue/**/*.yaml"
]
},
"github.copilot.nextEditSuggestions.enabled": true,
"editor.unicodeHighlight.ambiguousCharacters": false,
}
{
"workbench.colorTheme": "Default Light Modern",
"github.copilot.nextEditSuggestions.enabled": true,
//------------------------------LaTeX 配置----------------------------------
// 设置是否自动编译
"latex-workshop.latex.autoBuild.run": "onSave",
//右键菜单
"latex-workshop.showContextMenu": true,
//从使用的包中自动补全命令和环境
"latex-workshop.intellisense.package.enabled": true,
//编译出错时设置是否弹出气泡设置
"latex-workshop.message.error.show": true,
"latex-workshop.message.warning.show": false,
// 编译工具和命令
"latex-workshop.latex.tools": [
{
"name": "xelatex",
"command": "xelatex",
"args": [
"-synctex=1",
"-interaction=nonstopmode",
"-file-line-error",
"%DOCFILE%"
]
},
{
"name": "pdflatex",
"command": "pdflatex",
"args": [
"-synctex=1",
"-interaction=nonstopmode",
"-file-line-error",
"%DOCFILE%"
]
},
{
"name": "latexmk",
"command": "latexmk",
"args": [
"-synctex=1",
"-interaction=nonstopmode",
"-file-line-error",
"-xelatex",
"-outdir=%OUTDIR%",
"%DOCFILE%"
]
},
{
"name": "bibtex",
"command": "bibtex",
"args": ["%DOCFILE%"]
},
{
"name": "biber",
"command": "biber",
"args": [
"%DOCFILE%"
]
}
],
// 用于配置编译链
"latex-workshop.latex.recipes": [
{
"name": "XeLaTeX",
"tools": ["xelatex"]
},
{
"name": "PDFLaTeX",
"tools": ["pdflatex"]
},
{
"name": "PDFLaTeX*2",
"tools": ["pdflatex", "pdflatex"]
},
{
"name": "BibTeX",
"tools": ["bibtex"]
},
{
"name": "LaTeXmk (XeLaTeX)",
"tools": ["latexmk"]
},
{
"name": "xelatex -> bibtex -> xelatex*2",
"tools": ["xelatex", "bibtex", "xelatex", "xelatex"]
},
{
"name": "pdflatex -> bibtex -> pdflatex*2",
"tools": ["pdflatex", "bibtex", "pdflatex", "pdflatex"]
},
{
"name": "xelatex -> biber -> xelatex*2",
"tools": ["xelatex", "biber", "xelatex", "xelatex"]
}
],
//文件清理。此属性必须是字符串数组
"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"
],
//设置为onFaild 在构建失败后清除辅助文件
"latex-workshop.latex.autoClean.run": "onFailed",
// 使用上次的recipe编译组合
"latex-workshop.latex.recipe.default": "LaTeXmk (XeLaTeX)",
// 用于反向同步的内部查看器的键绑定。ctrl/cmd +点击(默认)或双击
"latex-workshop.view.pdf.internal.synctex.keybinding": "double-click",
"editor.wordWrap": "on",
"explorer.confirmDelete": false,
"[latex]": {
"editor.defaultFormatter": "James-Yu.latex-workshop",
"editor.formatOnSave": false
},
"python.defaultInterpreterPath": "d:\\ProgramData\\anaconda3",
"github.copilot.enable": {
"*": true,
"plaintext": false,
"markdown": true,
"scminput": false
},
"editor.unicodeHighlight.ambiguousCharacters": false,
"workbench.editorAssociations": {
"*.copilotmd": "vscode.markdown.preview.editor",
"*.pdf": "latex-workshop-pdf-hook"
},
"python.terminal.useEnvFile": true,
"geminicodeassist.project": "healthy-link-bc2p6",
"diffEditor.codeLens": true,
// 添加输出目录配置
"latex-workshop.latex.outputDir": "%DIR%/build",
"chat.viewSessions.orientation": "stacked",
}