Skip to content

Instantly share code, notes, and snippets.

@rubenhorn
Last active February 5, 2020 10:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rubenhorn/e246d012eaed9af8dc99cc0efffe8c63 to your computer and use it in GitHub Desktop.
Save rubenhorn/e246d012eaed9af8dc99cc0efffe8c63 to your computer and use it in GitHub Desktop.
Modified package.json for the VSCode Plugin "LaTeX Workshop" (https://marketplace.visualstudio.com/items?itemName=James-Yu.latex-workshop)
{
"name": "latex-workshop",
"displayName": "LaTeX Workshop",
"description": "Boost LaTeX typesetting efficiency with preview, compile, autocomplete, colorize, and more.",
"icon": "icons/icon.png",
"version": "8.7.1",
"publisher": "James-Yu",
"license": "MIT",
"homepage": "https://github.com/James-Yu/LaTeX-Workshop",
"repository": {
"type": "git",
"url": "https://github.com/James-Yu/LaTeX-Workshop.git"
},
"engines": {
"vscode": "^1.34.0"
},
"categories": [
"Programming Languages",
"Snippets"
],
"keywords": [
"latex",
"tex",
"compile",
"preview",
"hint"
],
"activationEvents": [
"onLanguage:tex",
"onLanguage:latex",
"onLanguage:doctex",
"onLanguage:rsweave",
"onLanguage:pdf",
"onLanguage:bibtex",
"onCommand:latex-workshop.build",
"onCommand:latex-workshop.recipes",
"onCommand:latex-workshop.view",
"onCommand:latex-workshop.tab",
"onCommand:latex-workshop.synctex",
"onCommand:latex-workshop.clean",
"onCommand:latex-workshop.citation",
"onCommand:latex-workshop.compilerlog",
"onCommand:latex-workshop.log",
"onCommand:latex-workshop.actions",
"onCommand:latex-workshop.bibsort",
"onCommand:latex-workshop.bibalign",
"onCommand:latex-workshop.bibalignsort"
],
"main": "./out/src/main.js",
"contributes": {
"languages": [
{
"id": "tex",
"aliases": [
"TeX",
"tex"
],
"extensions": [
".sty",
".cls",
".bbx",
".cbx"
],
"configuration": "./syntax/syntax.json"
},
{
"id": "doctex",
"aliases": [
"DocTeX",
"doctex"
],
"extensions": [
".dtx"
],
"configuration": "./syntax/syntax-doctex.json"
},
{
"id": "latex",
"aliases": [
"LaTeX",
"latex"
],
"extensions": [
".tex",
".ltx",
".ctx"
],
"configuration": "./syntax/syntax.json"
},
{
"id": "bibtex",
"aliases": [
"BibTeX",
"bibtex"
],
"extensions": [
".bib"
]
},
{
"id": "bibtex-style",
"aliases": [
"BibTeX style"
],
"extensions": [
".bst"
]
},
{
"id": "latex-expl3",
"aliases": [
"LaTeX-Expl3"
],
"configuration": "./syntax/syntax.json"
},
{
"id": "pdf",
"aliases": [
"Plain Text (PDF)",
"pdf"
],
"extensions": [
".pdf"
]
},
{
"id": "rsweave",
"aliases": [
"R Sweave"
],
"extensions": [
".rnw",
".Rnw",
".Rtex",
".rtex"
],
"configuration": "./syntax/syntax-rsweave.json"
}
],
"grammars": [
{
"language": "tex",
"scopeName": "text.tex",
"path": "./syntax/TeX.tmLanguage.json"
},
{
"language": "doctex",
"scopeName": "text.tex.doctex",
"path": "./syntax/DocTeX.tmLanguage.json"
},
{
"language": "latex",
"scopeName": "text.tex.latex",
"path": "./syntax/LaTeX.tmLanguage.json",
"embeddedLanguages": {
"source.asymptote": "asymptote",
"source.cpp": "cpp",
"source.css": "css",
"source.dot": "dot",
"source.gnuplot": "gnuplot",
"text.html": "html",
"source.java": "java",
"source.js": "js",
"source.lua": "lua",
"source.python": "python",
"source.scala": "scala",
"text.xtml": "xtml",
"source.yaml": "yaml"
}
},
{
"language": "bibtex",
"scopeName": "text.bibtex",
"path": "./syntax/Bibtex.tmLanguage.json"
},
{
"language": "bibtex-style",
"scopeName": "source.bst",
"path": "./syntax/BibTeX-style.tmLanguage.json"
},
{
"language": "latex-expl3",
"scopeName": "text.tex.latex.expl3",
"path": "./syntax/LaTeX-Expl3.tmLanguage.json"
},
{
"scopeName": "markdown.latex.codeblock",
"path": "./syntax/latexblock.json",
"injectTo": [
"text.html.markdown"
],
"embeddedLanguages": {
"meta.embedded.block.latex": "latex"
}
},
{
"language": "cpp",
"scopeName": "source.cpp.embedded.latex",
"path": "./syntax/cpp-grammar-bailout.tmLanguage.json",
"embeddedLanguages": {
"meta.embedded.assembly.cpp": "asm"
}
},
{
"language": "rsweave",
"scopeName": "text.tex.latex.rsweave",
"path": "./syntax/RSweave.tmLanguage.json",
"embeddedLanguages": {
"source.r": "r"
}
}
],
"snippets": [
{
"language": "latex",
"path": "./snippets/latex.json"
}
],
"commands": [
{
"command": "latex-workshop.navigate-envpair",
"title": "Navigate to matching begin/end",
"category": "LaTeX Workshop"
},
{
"command": "latex-workshop.select-envname",
"title": "Select the current environment name",
"category": "LaTeX Workshop"
},
{
"command": "latex-workshop.multicursor-envname",
"title": "Add a multicursor to the current environment name",
"category": "LaTeX Workshop"
},
{
"command": "latex-workshop.wrap-env",
"title": "Surround selection with \\begin{}...\\end{}",
"category": "LaTeX Workshop"
},
{
"command": "latex-workshop.close-env",
"title": "Close current environment",
"category": "LaTeX Workshop"
},
{
"command": "latex-workshop.toggle-equation-envname",
"title": "Toggle between \\[...\\] and \\begin{}...\\end{}",
"category": "LaTeX Workshop"
},
{
"command": "latex-workshop.saveWithoutBuilding",
"title": "Save without Building",
"category": "LaTeX Workshop"
},
{
"command": "latex-workshop.build",
"title": "Build LaTeX project",
"category": "LaTeX Workshop"
},
{
"command": "latex-workshop.recipes",
"title": "Build with recipe",
"category": "LaTeX Workshop"
},
{
"command": "latex-workshop.view",
"title": "View LaTeX PDF file",
"category": "LaTeX Workshop",
"icon": {
"light": "icons/view-pdf-light.svg",
"dark": "icons/view-pdf-dark.svg"
}
},
{
"command": "latex-workshop.tab",
"title": "View LaTeX PDF file in VSCode tab",
"category": "LaTeX Workshop"
},
{
"command": "latex-workshop.refresh-viewer",
"title": "Refresh all LaTeX PDF viewers",
"category": "LaTeX Workshop"
},
{
"command": "latex-workshop.kill",
"title": "Kill LaTeX compiler process",
"category": "LaTeX Workshop"
},
{
"command": "latex-workshop.synctex",
"title": "SyncTeX from cursor",
"category": "LaTeX Workshop"
},
{
"command": "latex-workshop.clean",
"title": "Clean up auxiliary files",
"category": "LaTeX Workshop"
},
{
"command": "latex-workshop.citation",
"title": "Open citation browser",
"category": "LaTeX Workshop"
},
{
"command": "latex-workshop.addtexroot",
"title": "Insert %!TeX root magic comment",
"category": "LaTeX Workshop"
},
{
"command": "latex-workshop.log",
"title": "Show LaTeX Workshop messages",
"category": "LaTeX Workshop"
},
{
"command": "latex-workshop.actions",
"title": "LaTeX actions",
"category": "LaTeX Workshop"
},
{
"command": "latex-workshop-dev.parselog",
"title": "Parse current document as LaTeX logs",
"category": "LaTeX Workshop DevTools"
},
{
"command": "latex-workshop-dev.parsetex",
"title": "Parse current file as LaTeX AST",
"category": "LaTeX Workshop DevTools"
},
{
"command": "latex-workshop-dev.parsebib",
"title": "Parse current file as BibTeX AST",
"category": "LaTeX Workshop DevTools"
},
{
"command": "latex-workshop.texdoc",
"title": "Show package documentation",
"category": "LaTeX Workshop"
},
{
"command": "latex-workshop.texdocUsepackages",
"title": "Show package documentation actually used",
"category": "LaTeX Workshop"
},
{
"command": "latex-workshop.promote-sectioning",
"title": "Promote all the section levels used in the selection",
"category": "LaTeX Workshop"
},
{
"command": "latex-workshop.demote-sectioning",
"title": "Demote all the section levels used in the selection",
"category": "LaTeX Workshop"
},
{
"command": "latex-workshop.showCompilationPanel",
"title": "Show LaTeX Compilation Info",
"category": "LaTeX Workshop"
},
{
"command": "latex-structure.toggle-follow-cursor",
"title": "Toggle follow cursor",
"category": "LaTeX Workshop"
},
{
"command": "latex-workshop.showSnippetPanel",
"title": "Show Snippet Panel",
"category": "LaTeX Workshop"
},
{
"command": "latex-workshop.bibsort",
"title": "Sort BibTeX file",
"category": "LaTeX Workshop"
},
{
"command": "latex-workshop.bibalign",
"title": "Align BibTeX file",
"category": "LaTeX Workshop"
},
{
"command": "latex-workshop.bibalignsort",
"title": "Sort and align BibTeX file",
"category": "LaTeX Workshop"
}
],
"keybindings": [
{
"key": "ctrl+l alt+b",
"mac": "cmd+l alt+b",
"command": "latex-workshop.build",
"when": "editorLangId == 'latex' && config.latex-workshop.bind.altKeymap.enabled"
},
{
"key": "ctrl+l alt+c",
"mac": "cmd+l alt+c",
"command": "latex-workshop.clean",
"when": "editorLangId == 'latex' && config.latex-workshop.bind.altKeymap.enabled"
},
{
"key": "ctrl+l alt+v",
"mac": "cmd+l alt+v",
"command": "latex-workshop.view",
"when": "editorLangId == 'latex' && config.latex-workshop.bind.altKeymap.enabled"
},
{
"key": "ctrl+l alt+j",
"mac": "cmd+l alt+j",
"command": "latex-workshop.synctex",
"when": "editorTextFocus && editorLangId == 'latex' && config.latex-workshop.bind.altKeymap.enabled"
},
{
"key": "ctrl+l alt+x",
"mac": "cmd+l alt+x",
"command": "workbench.view.extension.latex",
"when": "config.latex-workshop.bind.altKeymap.enabled"
},
{
"key": "ctrl+alt+b",
"mac": "cmd+alt+b",
"command": "latex-workshop.build",
"when": "editorLangId == 'latex' && !config.latex-workshop.bind.altKeymap.enabled"
},
{
"key": "ctrl+alt+c",
"mac": "cmd+alt+c",
"command": "latex-workshop.clean",
"when": "editorLangId == 'latex' && !config.latex-workshop.bind.altKeymap.enabled"
},
{
"key": "ctrl+alt+v",
"mac": "cmd+alt+v",
"command": "latex-workshop.view",
"when": "editorLangId == 'latex' && !config.latex-workshop.bind.altKeymap.enabled"
},
{
"key": "ctrl+alt+j",
"mac": "cmd+alt+j",
"command": "latex-workshop.synctex",
"when": "editorTextFocus && editorLangId == 'latex' && !config.latex-workshop.bind.altKeymap.enabled"
},
{
"key": "ctrl+alt+x",
"mac": "cmd+alt+x",
"command": "workbench.view.extension.latex",
"when": "!config.latex-workshop.bind.altKeymap.enabled"
},
{
"key": "ctrl+l [",
"mac": "cmd+l [",
"when": "config.latex-workshop.bind.altKeymap.enabled && editorTextFocus && !editorReadonly && editorLangId =~ /latex|rsweave/",
"command": "latex-workshop.promote-sectioning"
},
{
"key": "ctrl+l ]",
"mac": "cmd+l ]",
"when": "config.latex-workshop.bind.altKeymap.enabled && editorTextFocus && !editorReadonly && editorLangId =~ /latex|rsweave/",
"command": "latex-workshop.demote-sectioning"
},
{
"key": "ctrl+alt+[",
"mac": "cmd+alt+[",
"when": "!config.latex-workshop.bind.altKeymap.enabled && editorTextFocus && !editorReadonly && editorLangId =~ /latex|rsweave/",
"command": "latex-workshop.promote-sectioning"
},
{
"key": "ctrl+alt+]",
"mac": "cmd+alt+]",
"when": "!config.latex-workshop.bind.altKeymap.enabled && editorTextFocus && !editorReadonly && editorLangId =~ /latex|rsweave/",
"command": "latex-workshop.demote-sectioning"
},
{
"key": "ctrl+l ctrl+enter",
"mac": "cmd+l cmd+enter",
"when": "editorTextFocus && !editorReadonly && editorLangId =~ /latex|rsweave/",
"command": "latex-workshop.shortcut.item"
},
{
"key": "ctrl+l ctrl+b",
"mac": "cmd+l cmd+b",
"when": "editorTextFocus && !editorReadonly && editorLangId =~ /latex|rsweave/",
"command": "latex-workshop.shortcut.textbf"
},
{
"key": "ctrl+l ctrl+i",
"mac": "cmd+l cmd+i",
"when": "editorTextFocus && !editorReadonly && editorLangId =~ /latex|rsweave/",
"command": "latex-workshop.shortcut.textit"
},
{
"key": "ctrl+l ctrl+u",
"mac": "cmd+l cmd+u",
"when": "editorTextFocus && !editorReadonly && editorLangId =~ /latex|rsweave/",
"command": "latex-workshop.shortcut.underline"
},
{
"key": "ctrl+l ctrl+e",
"mac": "cmd+l cmd+e",
"when": "editorTextFocus && !editorReadonly && editorLangId =~ /latex|rsweave/",
"command": "latex-workshop.shortcut.emph"
},
{
"key": "ctrl+l ctrl+r",
"mac": "cmd+l cmd+r",
"when": "editorTextFocus && !editorReadonly && editorLangId =~ /latex|rsweave/",
"command": "latex-workshop.shortcut.textrm"
},
{
"key": "ctrl+l ctrl+t",
"mac": "cmd+l cmd+t",
"when": "editorTextFocus && !editorReadonly && editorLangId =~ /latex|rsweave/",
"command": "latex-workshop.shortcut.texttt"
},
{
"key": "ctrl+l ctrl+s",
"mac": "cmd+l cmd+s",
"when": "editorTextFocus && !editorReadonly && editorLangId =~ /latex|rsweave/",
"command": "latex-workshop.shortcut.textsl"
},
{
"key": "ctrl+l ctrl+c",
"mac": "cmd+l cmd+c",
"when": "editorTextFocus && !editorReadonly && editorLangId =~ /latex|rsweave/",
"command": "latex-workshop.shortcut.textsc"
},
{
"key": "ctrl+l ctrl+n",
"mac": "cmd+l cmd+n",
"when": "editorTextFocus && !editorReadonly && editorLangId =~ /latex|rsweave/",
"command": "latex-workshop.shortcut.textnormal"
},
{
"key": "ctrl+l ctrl+6",
"mac": "cmd+l cmd+6",
"when": "editorTextFocus && !editorReadonly && editorLangId =~ /latex|rsweave/",
"command": "latex-workshop.shortcut.textsuperscript"
},
{
"key": "ctrl+l ctrl+oem_minus",
"mac": "cmd+l cmd+oem_minus",
"when": "editorTextFocus && !editorReadonly && editorLangId =~ /latex|rsweave/",
"command": "latex-workshop.shortcut.textsubscript"
},
{
"key": "ctrl+m ctrl+b",
"mac": "cmd+m cmd+b",
"when": "editorTextFocus && !editorReadonly && editorLangId =~ /latex|rsweave/",
"command": "latex-workshop.shortcut.mathbf"
},
{
"key": "ctrl+m ctrl+i",
"mac": "cmd+m cmd+i",
"when": "editorTextFocus && !editorReadonly && editorLangId =~ /latex|rsweave/",
"command": "latex-workshop.shortcut.mathit"
},
{
"key": "ctrl+m ctrl+r",
"mac": "cmd+m cmd+r",
"when": "editorTextFocus && !editorReadonly && editorLangId =~ /latex|rsweave/",
"command": "latex-workshop.shortcut.mathrm"
},
{
"key": "ctrl+m ctrl+t",
"mac": "cmd+m cmd+t",
"when": "editorTextFocus && !editorReadonly && editorLangId =~ /latex|rsweave/",
"command": "latex-workshop.shortcut.mathtt"
},
{
"key": "ctrl+m ctrl+s",
"mac": "cmd+m cmd+s",
"when": "editorTextFocus && !editorReadonly && editorLangId =~ /latex|rsweave/",
"command": "latex-workshop.shortcut.mathsf"
},
{
"key": "ctrl+m ctrl+shift+b",
"mac": "cmd+m cmd+shift+b",
"when": "editorTextFocus && !editorReadonly && editorLangId =~ /latex|rsweave/",
"command": "latex-workshop.shortcut.mathbb"
},
{
"key": "ctrl+m ctrl+c",
"mac": "cmd+m cmd+c",
"when": "editorTextFocus && !editorReadonly && editorLangId =~ /latex|rsweave/",
"command": "latex-workshop.shortcut.mathcal"
},
{
"command": "expandLineSelection",
"key": "ctrl+l ctrl+l",
"mac": "cmd+l cmd+l",
"when": "textInputFocus && editorLangId =~ /latex|rsweave/"
},
{
"command": "editor.action.toggleTabFocusMode",
"key": "ctrl+l ctrl+m",
"mac": "cmd+l cmd+m",
"when": "textInputFocus && editorLangId =~ /latex|rsweave/"
},
{
"key": "ctrl+l ctrl+w",
"mac": "cmd+l cmd+w",
"when": "editorTextFocus && !editorReadonly && editorHasSelection && editorLangId =~ /latex|rsweave/",
"command": "latex-workshop.surround"
},
{
"command": "latex-workshop.onEnterKey",
"key": "enter",
"when": "editorTextFocus && !editorReadonly && editorLangId == 'latex' && !suggestWidgetVisible && vim.active && vim.mode == 'Insert'"
},
{
"command": "latex-workshop.onEnterKey",
"key": "enter",
"when": "editorTextFocus && !editorReadonly && editorLangId == 'latex' && !suggestWidgetVisible && !vim.active"
},
{
"command": "latex-workshop.onAltEnterKey",
"key": "alt+enter",
"when": "editorTextFocus && !editorReadonly && editorLangId == 'latex' && !suggestWidgetVisible"
}
],
"configurationDefaults": {
"[latex]": {
"editor.formatOnPaste": false,
"editor.formatOnSave": false,
"editor.suggestSelection": "recentlyUsedByPrefix"
}
},
"configuration": {
"type": "object",
"title": "LaTeX",
"properties": {
"latex-workshop.latex.recipes": {
"type": "array",
"default": [
{
"name": "latexmk 🔃",
"tools": [
"latexmk"
]
},
{
"name": "latexmk (latexmkrc)",
"tools": [
"latexmk_rconly"
]
},
{
"name": "latexmk (lualatex)",
"tools": [
"lualatexmk"
]
},
{
"name": "pdflatex ➞ bibtex ➞ pdflatex × 2",
"tools": [
"pdflatex",
"bibtex",
"pdflatex",
"pdflatex"
]
},
{
"name": "pdflatex ➞ biber ➞ pdflatex × 2",
"tools": [
"pdflatex",
"biber",
"pdflatex",
"pdflatex"
]
},
{
"name": "Compile Rnw files",
"tools": [
"rnw2pdf"
]
}
],
"markdownDescription": "Define LaTeX compiling recipes.\nEach recipe in the list is an object containing its name and the names of tools to be used sequentially, which are defined in `latex-workshop.latex.tools`.\nBy default, the first recipe is used to compile the project. For details, please visit https://github.com/James-Yu/LaTeX-Workshop/wiki/Compile#latex-recipe."
},
"latex-workshop.latex.recipe.default": {
"type": "string",
"enum": [
"first",
"lastUsed"
],
"enumDescriptions": [
"Use the first recipe",
"Use the last run recipe"
],
"default": "first",
"markdownDescription": "Define which recipe is used by `latex-workshop.build`. It also applies to auto build."
},
"latex-workshop.latex.tools": {
"type": "array",
"default": [
{
"name": "latexmk",
"command": "latexmk",
"args": [
"-synctex=1",
"-interaction=nonstopmode",
"-file-line-error",
"-pdf",
"-outdir=%OUTDIR%",
"-cd",
"%DOC%"
],
"env": {}
},
{
"name": "lualatexmk",
"command": "latexmk",
"args": [
"-synctex=1",
"-interaction=nonstopmode",
"-file-line-error",
"-lualatex",
"-outdir=%OUTDIR%",
"-cd",
"%DOC%"
],
"env": {}
},
{
"name": "latexmk_rconly",
"command": "latexmk",
"args": [
"%DOC%"
],
"env": {}
},
{
"name": "pdflatex",
"command": "pdflatex",
"args": [
"-synctex=1",
"-interaction=nonstopmode",
"-file-line-error",
"-shell-escape",
"%DOC%"
],
"env": {}
},
{
"name": "bibtex",
"command": "bibtex",
"args": [
"%DOCFILE%"
],
"env": {}
},
{
"name": "biber",
"command": "biber",
"args": [
"%DOCFILE%"
]
},
{
"name": "rnw2pdf",
"command": "Rscript",
"args": [
"-e",
"knitr::knit2pdf('%DOCFILE%')"
],
"env": {}
}
],
"markdownDescription": "Define LaTeX compiling tools to be used in recipes.\nEach tool is labeled by its `name`. When invoked, `command` is spawned with arguments defined in `args` and environment variables defined in `env`. Typically no spaces should appear in each argument unless in paths.\nPlaceholders `%DOC%`, `%DOCFILE%`, `%DIR%`, `%TMPDIR%` and `%OUTDIR%` are available. For details, please visit https://github.com/James-Yu/LaTeX-Workshop/wiki/Compile#latex-recipe."
},
"latex-workshop.latex.magic.args": {
"type": "array",
"items": {
"type": "string"
},
"default": [
"-synctex=1",
"-interaction=nonstopmode",
"-file-line-error",
"%DOC%"
],
"markdownDescription": "Define the arguments to be input to magic command executable. This can be overridden by using \"% !TeX options\"."
},
"latex-workshop.latex.magic.bib.args": {
"type": "array",
"items": {
"type": "string"
},
"default": [
"%DOCFILE%"
],
"markdownDescription": "Define the arguments to be input to BIB magic command executable. This can be overridden by using \"% !BIB options\"."
},
"latex-workshop.latex.external.build.command": {
"type": "string",
"default": "",
"markdownDescription": "The external command to execute when calling latex-workshop.build.\nThis is useful when compiling relies on a Makefile or a bespoke script. When defined, it completely bypasses the recipes and root file detection mechanism."
},
"latex-workshop.latex.external.build.args": {
"type": "array",
"items": {
"type": "string"
},
"default": [],
"markdownDescription": "The arguments of `latex-workshop.latex.external.build.command` when calling latex-workshop.build."
},
"latex-workshop.latex.build.forceRecipeUsage": {
"type": "boolean",
"default": false,
"markdownDescription": "Force the use the recipe mechanism even if some magic comments are present."
},
"latex-workshop.latex.outDir": {
"type": "string",
"default": "%DIR%",
"markdownDescription": "The directory where the extension tries to find project files (e.g., PDF and SyncTeX files) are located.\nBoth relative and absolute paths are supported. Relative path start from the root file location, so beware if it is located in sub-directory. The path must not contain a trailing slash.\nThe LaTeX toolchain should output files to this path.\nPlaceholders `%DOC%`, `%DOCFILE%`, `%DIR%` and `%TMPDIR%` are available."
},
"latex-workshop.latex.texDirs": {
"type": "array",
"items": {
"type": "string"
},
"default": [],
"markdownDescription": "List of directories where to look for extra input `.tex` files. \nAbsolute paths are required. You may also need to set the environment variable `TEXINPUTS` properly for the LaTeX compiler to find the `.tex` files, see the `env` parameter of [recipes](https://github.com/James-Yu/LaTeX-Workshop/wiki/Compile#latex-recipes)."
},
"latex-workshop.latex.bibDirs": {
"type": "array",
"items": {
"type": "string"
},
"default": [],
"markdownDescription": "List of directories where to look for `.bib` files.\nAbsolute paths are required. This setting is only used by the intellisense feature, you may also need to set the environment variable `BIBINPUTS` properly for the LaTeX compiler to find the `.bib` files."
},
"latex-workshop.latex.search.rootFiles.include": {
"type": "array",
"items": {
"type": "string"
},
"default": [
"**/*.tex"
],
"markdownDescription": "Patterns of files to consider for the root detection mechanism.\nRelative paths are computed from the workspace folder. To detect the root file and the tex file tree, we parse all the `.tex` listed here.\nIf you want to specify all `.tex` files inside directory, say `foo`, and all its subdirectories recursively, you need to use `**/foo/**/*.tex`. If you only want to match `.tex` files at the top level of the workspace, use `*.tex`. For more details the [wiki](https://github.com/James-Yu/LaTeX-Workshop/wiki/Multi-File-Projects)."
},
"latex-workshop.latex.search.rootFiles.exclude": {
"type": "array",
"items": {
"type": "string"
},
"default": [],
"markdownDescription": "Patterns of files to exclude from the root detection mechanism.\nSee also `latex-workshop.latex.search.rootFiles.include`. For more details the [wiki](https://github.com/James-Yu/LaTeX-Workshop/wiki/Multi-File-Projects)."
},
"latex-workshop.latex.rootFile.useSubFile": {
"type": "boolean",
"default": true,
"markdownDescription": "When the `subfile` package is used, either the main file or any subfile containing `\\documentclass[main.tex]{subfile}` can be LaTeXing. When set to `true`, the extension uses the subfile as the rootFile for the `autobuild`, `clean` and `synctex` commands. Note that this setting does not affect the `build` and `view` command as they both ask the user's choice first."
},
"latex-workshop.latex.watch.usePolling": {
"type": "boolean",
"default": false,
"markdownDescription": "When set to true, polling is used to watch changes on files. When TeX files are placed on network drives or OneDrive, this option should be turned on. Setting this option to true might lead to high CPU utilization."
},
"latex-workshop.latex.watch.interval": {
"type": "number",
"default": 300,
"markdownDescription": "Interval of polling, in milliseconds."
},
"latex-workshop.latex.watch.files.ignore": {
"type": "array",
"items": {
"type": "string"
},
"default": [
"**/*.bbx",
"**/*.bbl",
"**/*.cbx",
"**/*.cfg",
"**/*.clo",
"**/*.cnf",
"**/*.def",
"**/*.dfu",
"**/*.enc",
"**/*.fd",
"**/*.fmt",
"**/*.lbx",
"**/*.map",
"**/*.mkii",
"**/*.pfb",
"**/*.tfm",
"**/*.vf",
"**/*.code.tex",
"**.*.sty",
"**/texmf-{dist,var}/**",
"**/Local/MiKTeX/**",
"**/Local/Programs/MiKTeX/**",
"**/Roaming/MiKTeX/**",
"**/Program*/MiKTeX*/**",
"**/.miktex/texmfs/**",
"/var/cache/miktex-texmf/**",
"/usr/local/share/miktex-texmf/**",
"**/Library/Application Support/MiKTeX/texmfs/**",
"/dev/null"
],
"markdownDescription": "Files to ignore from the watching mechanism used for triggering autobuild.\nThis property must be an array of globs pattern. The patterns are matched against the absolute file path. To ignore everything inside the `texmf` tree, `**/texmf/**` can be used."
},
"latex-workshop.latex.autoBuild.run": {
"type": "string",
"enum": [
"never",
"onFileChange"
],
"enumDescriptions": [
"Never run auto build",
"Auto build whenever a dependency file changes on disk"
],
"default": "onFileChange",
"markdownDescription": "When the extension shall auto build LaTeX project using the default (first) recipe.\n `onFileChange` builds the project upon detecting a file change in any of the dependencies, even modified by other applications."
},
"latex-workshop.latex.autoBuild.interval": {
"type": "integer",
"default": 1000,
"markdownDescription": "The minimal time interval between two consecutive auto builds in millisecond."
},
"latex-workshop.latex.autoBuild.cleanAndRetry.enabled": {
"type": "boolean",
"default": true,
"markdownDescription": "Delete LaTeX auxillary files when errors occur during build and retry.\nThis property defines whether LaTeX Workshop will try to clean and build the project once again after errors happen in the build toolchain."
},
"latex-workshop.latex.build.clearLog.everyRecipeStep.enabled": {
"type": "boolean",
"default": true,
"markdownDescription": "Clear the LaTeX Compiler logs before every step of a recipe.\nSet this property to false to keep the logs of all tools in a recipe."
},
"latex-workshop.latex.autoClean.run": {
"type": "string",
"enum": [
"never",
"onFailed",
"onBuilt"
],
"enumDescriptions": [
"Never clean the project",
"Clean compilation fails",
"Clean after build, be it successful or not"
],
"default": "never",
"markdownDescription": "When LaTeX auxillary files should be deleted.\nThe folder to be cleaned is defined in `latex-workshop.latex.outDir`.\n`onFailed` cleans the project when compilation fails. `onBuilt` cleans the project when compilation is terminated, whether successful or failed."
},
"latex-workshop.latex.clean.subfolder.enabled": {
"type": "boolean",
"default": false,
"markdownDescription": "Delete LaTeX auxillary files recursively in sub-folders of `latex-workshop.latex.outDir`."
},
"latex-workshop.latex.clean.fileTypes": {
"type": "array",
"items": {
"type": "string"
},
"default": [
"*.aux",
"*.bbl",
"*.blg",
"*.idx",
"*.ind",
"*.lof",
"*.lot",
"*.out",
"*.toc",
"*.acn",
"*.acr",
"*.alg",
"*.glg",
"*.glo",
"*.gls",
"*.fls",
"*.log",
"*.fdb_latexmk",
"*.snm",
"*.synctex(busy)",
"*.synctex.gz(busy)",
"*.nav"
],
"markdownDescription": "Files to clean.\nThis property must be an array of strings. File globs such as *.removeme, something?.aux can be used."
},
"latex-workshop.latex.option.maxPrintLine.enabled": {
"type": "boolean",
"default": true,
"markdownDescription": "Add `--max-print-line` option to LaTeX build commands. This flag tells some MikTeX compilers to produce non hard wrapped log messages. Non hard wrapped log messages are required for the _Problem_ Pane to properly display messages."
},
"latex-workshop.view.outline.sections": {
"type": "array",
"items": {
"type": "string"
},
"default": [
"part",
"chapter",
"section",
"subsection",
"subsubsection"
],
"markdownDescription": "The section names of LaTeX outline hierarchy. It is also used by the folding mechanism.\nThis property is an array of case-sensitive strings in the order of document structure hierarchy. For multiple tags in the same level, separate the tags with `|` as delimiters, e.g., `section|alternative`."
},
"latex-workshop.view.autoFocus.enabled": {
"type": "boolean",
"default": false,
"markdownDescription": "Auto focus the LaTeX view when switching from non-tex to tex files.\nThis will cause the view to appear consistently upon activating the extension."
},
"latex-workshop.view.pdf.viewer": {
"type": "string",
"default": "none",
"enum": [
"none",
"browser",
"tab",
"external"
],
"markdownDescription": "The default PDF viewer.",
"enumDescriptions": [
"Undetermined viewer. A viewer selector will pop up upon viewing PDF.",
"Open PDF with the default web browser.",
"Open PDF with the built-in tab viewer.",
"[Experimental] Open PDF with the external viewer set in \"View > Pdf > External: command\"."
]
},
"latex-workshop.view.pdf.tab.editorGroup": {
"type": "string",
"default": "right",
"enum": [
"current",
"left",
"right"
],
"markdownDescription": "The editor group in which to open the tab viewer.",
"enumDescriptions": [
"Use the current editor group",
"Put the viewer tab in a new group on the left of the current one",
"Put the viewer tab in a new group on the right of the current one"
]
},
"latex-workshop.view.pdf.ref.viewer": {
"type": "string",
"default": "auto",
"enum": [
"auto",
"tabOrBrowser",
"external"
],
"markdownDescription": "PDF viewer used for [View on PDF] link on \\ref."
},
"latex-workshop.viewer.pdf.internal.port": {
"type": "number",
"default": "0",
"markdownDescription": "Define the port to listen on for communicating with the internal viewer. The default value \"0\" means the port is chosen randomly by the application."
},
"latex-workshop.view.pdf.internal.synctex.keybinding": {
"type": "string",
"default": "ctrl-click",
"enum": [
"ctrl-click",
"double-click"
],
"markdownDescription": "Which keybinding to use for the internal viewer for reverse synctex. `ctrl`/`cmd` + click (default) or double click."
},
"latex-workshop.view.pdf.external.viewer.command": {
"type": "string",
"default": "",
"markdownDescription": "The command to execute when using external viewer.\nThis function is not officially supported."
},
"latex-workshop.view.pdf.external.viewer.args": {
"type": "array",
"items": {
"type": "string"
},
"default": [
"%PDF%"
],
"markdownDescription": "The arguments for `latex-workshop.view.pdf.external.viewer.command` when using external viewer.\nThis function is not officially supported. %PDF% is the placeholder for the absolute path to the generated PDF file."
},
"latex-workshop.view.pdf.external.synctex.command": {
"type": "string",
"default": "",
"markdownDescription": "The command to execute when forward synctex to external viewer.\nThis function is not officially supported."
},
"latex-workshop.view.pdf.external.synctex.args": {
"type": "array",
"items": {
"type": "string"
},
"default": [
"%LINE%",
"%PDF%",
"%TEX%"
],
"markdownDescription": "The arguments for `latex-workshop.view.pdf.external.synctex.args` when forward synctex to external viewer.\n%LINE% is the line number, %PDF% is the placeholder for the absolute path to the generated PDF file, and %TEX% is the source LaTeX file path with `.tex` extension from which syncTeX is fired."
},
"latex-workshop.view.pdf.zoom": {
"type": "string",
"default": "auto",
"markdownDescription": "The default zoom level of the PDF viewer.\nThis default value will be passed to the viewer upon opening. Possible values are `auto`, `page-actual`, `page-fit`, `page-width`, and one-based scale values (e.g., 0.5 for 50%, 2.0 for 200%)."
},
"latex-workshop.view.pdf.trim": {
"type": "number",
"default": 0,
"enum": [
0,
1,
2,
3
],
"markdownDescription": "The default trim mode of the PDF viewer.",
"enumDescriptions": [
"No page trimming",
"Trim 5% at margin",
"Trim 10% at margin",
"Trim 15% at margin"
]
},
"latex-workshop.view.pdf.scrollMode": {
"type": "number",
"default": 0,
"markdownDescription": "The default scroll mode of the PDF viewer.\nThis default value will be passed to the viewer upon opening. Possible values are `0` (vertical), `1`(horizontal) and `2` (wrapped)."
},
"latex-workshop.view.pdf.spreadMode": {
"type": "number",
"default": 0,
"markdownDescription": "The default spread mode of the PDF viewer.\nThis default value will be passed to the viewer upon opening. Possible values are `0` (none), `1` (odd) and `2` (even)."
},
"latex-workshop.view.pdf.hand": {
"type": "boolean",
"default": false,
"markdownDescription": "Define if the hand tool is enabled by default in the PDF viewer."
},
"latex-workshop.view.pdf.invert": {
"type": "number",
"default": 0,
"markdownDescription": "Define the CSS invert filter level of the PDF viewer.\nThis config can invert the color of PDF. Possible values are from 0 to 1."
},
"latex-workshop.view.pdf.backgroundColor": {
"type": "string",
"default": "#ffffff",
"markdownDescription": "The background color around the document. The string must represent a color in HTML."
},
"latex-workshop.synctex.path": {
"type": "string",
"default": "synctex",
"markdownDescription": "Define the location of SyncTeX executive file.\nAdditional arguments, e.g., synctex modes and position of click, will be appended to this command."
},
"latex-workshop.synctex.afterBuild.enabled": {
"type": "boolean",
"default": false,
"markdownDescription": "Execute forward synctex at cursor position after compiling LaTeX project."
},
"latex-workshop.synctex.synctexjs.enabled": {
"type": "boolean",
"default": true,
"markdownDescription": "Enable using a builtin synctex function. The command set in latex-workshop.synctex.path will not be used."
},
"latex-workshop.chktex.enabled": {
"type": "boolean",
"default": false,
"markdownDescription": "Enable linting LaTeX with ChkTeX.\nCheck `latex-workshop.chktex.run` to control when the linting is executed if this config is set to `true`."
},
"latex-workshop.chktex.run": {
"type": "string",
"enum": [
"onSave",
"onType"
],
"default": "onSave",
"markdownDescription": "When LaTeX should be linted by ChkTeX.\nIf set to `onSave`, the whole LaTeX project will be linted upon saving.\nIf set to `onType`, the active document will be linted when input is stopped for a period of time defined in `latex-workshop.chktex.delay`, besides the behavior of `onSave`."
},
"latex-workshop.chktex.path": {
"type": "string",
"default": "chktex",
"markdownDescription": "Define the location of ChkTeX executive file.\nThis command will be joint with `latex-workshop.chktex.args.*` and required arguments to form a complete command of ChkTeX."
},
"latex-workshop.chktex.args.active": {
"type": "array",
"items": {
"type": "string"
},
"default": [
"-wall",
"-n22",
"-n30",
"-e16",
"-q"
],
"markdownDescription": "Linter arguments to check LaTeX syntax of the current file state in real time with ChkTeX.\nArguments must be in separate strings in the array. Additional arguments, i.e., `-I0 -f%f:%l:%c:%d:%k:%n:%m\\n` will be appended when constructing the command. Current file contents will be piped to the command through stdin."
},
"latex-workshop.chktex.args.root": {
"type": "array",
"items": {
"type": "string"
},
"default": [
"-wall",
"-n22",
"-n30",
"-e16",
"-q"
],
"markdownDescription": "Linter arguments to check LaTeX syntax of the entire project from the root file with ChkTeX.\nArguments must be in separate strings in the array. Additional arguments, i.e., `-f%f:%l:%c:%d:%k:%n:%m\\n %DOC%` will be appended when constructing the command."
},
"latex-workshop.chktex.delay": {
"type": "number",
"default": 500,
"markdownDescription": "Defines the delay in milliseconds for chktex to wait after stopped typing.\nThis config only matters when `latex-workshop.chktex.run` is set to `onType`."
},
"latex-workshop.intellisense.update.aggressive.enabled": {
"type": "boolean",
"default": false,
"markdownDescription": "Defines whether the extension aggressively parses the changed content after stopped typing.\nDisable this config will let the extension only update intellisense after saving changed files."
},
"latex-workshop.intellisense.update.delay": {
"type": "number",
"default": 1000,
"markdownDescription": "Defines the delay in milliseconds for the extension to update current active file content for intellisense after stopped typing.\nThis config works only when `intellisense.update.aggressive.enabled` is enabled. Lower this value will let the extension to know newly defined commands/references/environments more quickly, at the cost of more frequent content parsing: more computation burden."
},
"latex-workshop.intellisense.citation.type": {
"type": "string",
"enum": [
"inline",
"browser"
],
"default": "inline",
"markdownDescription": "Defines which type of hint to show when intellisense provides citation suggestions.",
"enumDescriptions": [
"Use the inline intellisense to provide citation completion items.",
"Use a dropdown menu to provide citation completion items."
]
},
"latex-workshop.intellisense.citation.label": {
"type": "string",
"enum": [
"bibtex key",
"title",
"authors"
],
"default": "bibtex key",
"markdownDescription": "Defines what to show as suggestion labels when intellisense provides citation suggestions.",
"enumDescriptions": [
"Show bibtex keys in the inline intellisense.",
"Show publication titles in the inline intellisense.",
"Show publication authors in the inline intellisense."
]
},
"latex-workshop.intellisense.citation.maxfilesizeMB": {
"type": "number",
"default": 5,
"markdownDescription": "Defines the maximum bibtex file size for the extension to parse in MB."
},
"latex-workshop.intellisense.file.exclude": {
"type": "array",
"items": {
"type": "string"
},
"default": [
"**/*.aux",
"**/*.bbl",
"**/*.bcf",
"**/*.blg",
"**/*.idx",
"**/*.ind",
"**/*.lof",
"**/*.lot",
"**/*.out",
"**/*.toc",
"**/*.acn",
"**/*.acr",
"**/*.alg",
"**/*.glg",
"**/*.glo",
"**/*.gls",
"**/*.ist",
"**/*.fls",
"**/*.log",
"**/*.nav",
"**/*.snm",
"**/*.fdb_latexmk",
"**/*.synctex.gz",
"**/*.run.xml"
],
"markdownDescription": "Patterns to ignore in file completion"
},
"latex-workshop.intellisense.file.base": {
"type": "string",
"enum": [
"root relative",
"file relative",
"both"
],
"default": "root relative",
"markdownDescription": "Specify the base directory for file completion",
"enumDescriptions": [
"Completion from the root file directory",
"Completion from the current file directory",
"both"
]
},
"latex-workshop.intellisense.label.keyval": {
"type": "boolean",
"default": true,
"markdownDescription": "Scan for labels defined as `label={some tex}` to add to the reference intellisense menu. The braces are mandatory."
},
"latex-workshop.intellisense.unimathsymbols.enabled": {
"type": "boolean",
"default": false,
"markdownDescription": "When `\\` is typed, show unimath symbols in the dropdown selector."
},
"latex-workshop.intellisense.package.enabled": {
"type": "boolean",
"default": false,
"markdownDescription": "Auto-complete commands and environments from used packages."
},
"latex-workshop.intellisense.package.extra": {
"type": "array",
"items": {
"type": "string"
},
"default": [],
"markdownDescription": "List of extra packages to always add to the auto-completion mechanism.\nWhen `latex-workshop.intellisense.package.enabled` is set to `true`, the commands and environments defined in these extra packages will be added to the intellisense suggestions."
},
"latex-workshop.intellisense.includegraphics.preview.enabled": {
"type": "boolean",
"default": true,
"markdownDescription": "Enable preview for `\\includegraphics` completion."
},
"latex-workshop.message.badbox.show": {
"type": "boolean",
"default": true,
"markdownDescription": "Show badbox information in the problems panel."
},
"latex-workshop.message.latexlog.exclude": {
"type": "array",
"items": {
"type": "string"
},
"default": [],
"markdownDescription": "Exclude log messages that matches the given regexp from the problems panel."
},
"latex-workshop.message.information.show": {
"type": "boolean",
"default": false,
"markdownDescription": "Display information messages in popup notifications."
},
"latex-workshop.message.warning.show": {
"type": "boolean",
"default": true,
"markdownDescription": "Display warning messages in popup notifications."
},
"latex-workshop.message.error.show": {
"type": "boolean",
"default": true,
"markdownDescription": "Display error messages in popup notifications."
},
"latex-workshop.message.update.show": {
"type": "boolean",
"default": true,
"markdownDescription": "Display LaTeX Workshop update message on new versions."
},
"latex-workshop.message.log.show": {
"type": "boolean",
"default": true,
"markdownDescription": "Display LaTeX Workshop debug log in output panel.\nThis property defines whether LaTeX Workshop will output its debug log to the log panel."
},
"latex-workshop.message.convertFilenameEncoding": {
"type": "boolean",
"default": true,
"markdownDescription": "Convert the encoding of filenames if necessary when displaying them in the problems panel."
},
"latex-workshop.latexindent.path": {
"type": "string",
"default": "latexindent",
"markdownDescription": "Define the location of the latexindent executable file."
},
"latex-workshop.latexindent.args": {
"type": "array",
"items": {
"type": "string"
},
"default": [
"-c",
"%DIR%/",
"%TMPFILE%",
"-y=defaultIndent: '%INDENT%'"
],
"markdownDescription": "Define the command line arguments for latexindent. Available placeholders:\n- %DOC%, %DOCFILE%, %DIR%: same as latex-workshop.latex.toolchain args.\n- %TMPFILE%: would be replaced with the path of file which contains raw TeX source to be formatted. At this moment you need to use it as an input file of `latexindent`.\n- %INDENT%: would be replaced with the string which represents indent of the target document.\n\nNote: At this moment -c option requires trailing slash."
},
"latex-workshop.docker.enabled": {
"type": "boolean",
"default": false,
"markdownDescription": "Enable docker-based LaTeX distribution support.\nDo not set this item to `true` unless you are aware of what it means.\nThis extension will use the images defined in `latex-workshop.docker.image.latex` to execute `latexmk`, `synctex`, `texcount`, and `latexindent`."
},
"latex-workshop.docker.image.latex": {
"type": "string",
"default": "tianon/latex",
"markdownDescription": "Define the image for `latexmk`, `synctex`, `texcount`, and `latexindent`."
},
"latex-workshop.showContextMenu": {
"type": "boolean",
"default": false,
"markdownDescription": "Enable the LaTeX contextual menu. This menu is deactivated as it is available through the new LaTeX badge. Just set this variable to `true` to recover the menu."
},
"latex-workshop.bind.enter.key": {
"type": "boolean",
"default": true,
"markdownDescription": "Enable the automatic insertion of `\\item` on a newline when pressing `Enter` in a line starting in `\\item`."
},
"latex-workshop.bind.altKeymap.enabled": {
"type": "boolean",
"default": false,
"markdownDescription": "Use alternative keymap combo, i.e., `ctrl`+`l` `alt`+key, to replace the default `ctrl`/`cmd`+`alt` shortcuts."
},
"latex-workshop.hover.ref.enabled": {
"type": "boolean",
"default": true,
"markdownDescription": "Enable Hover on References."
},
"latex-workshop.hover.ref.number.enabled": {
"type": "boolean",
"default": true,
"markdownDescription": "Show number assigned to the reference in the previous compilation."
},
"latex-workshop.hover.citation.enabled": {
"type": "boolean",
"default": true,
"markdownDescription": "Enable Hover on Citations."
},
"latex-workshop.hover.command.enabled": {
"type": "boolean",
"default": true,
"markdownDescription": "Enable Hover on Commands to show the possible signatures."
},
"latex-workshop.hover.preview.enabled": {
"type": "boolean",
"default": true,
"markdownDescription": "Enable Hover Preview."
},
"latex-workshop.hover.preview.scale": {
"type": "number",
"default": 1,
"markdownDescription": "Scaling of Hover Preview."
},
"latex-workshop.hover.preview.newcommand.parseTeXFile.enabled": {
"type": "boolean",
"default": true,
"markdownDescription": "Enable newcommands defined in the current TeX file to be included in Hover Preview."
},
"latex-workshop.hover.preview.newcommand.newcommandFile": {
"type": "string",
"default": "",
"markdownDescription": "Set the path of a file containing newcommands to be used in Hover Preview. If the path is relative, it is joined with the root dir."
},
"latex-workshop.hover.preview.cursor.enabled": {
"type": "boolean",
"default": true,
"markdownDescription": "Render cursor in Hover Preview at the current position."
},
"latex-workshop.hover.preview.cursor.symbol": {
"type": "string",
"default": "\\!|\\!",
"markdownDescription": "Cursor symbol in Hover Preview."
},
"latex-workshop.hover.preview.cursor.color": {
"type": "string",
"default": "auto",
"enum": [
"auto",
"black",
"blue",
"brown",
"cyan",
"darkgray",
"gray",
"green",
"lightgray",
"lime",
"magenta",
"olive",
"orange",
"pink",
"purple",
"red",
"teal",
"violet",
"white",
"yellow"
],
"markdownDescription": "The color of cursor in Hover Preview."
},
"latex-workshop.intellisense.optionalArgsEntries.enabled": {
"type": "boolean",
"default": true,
"markdownDescription": "Some LaTeX commands can have several forms, each with different arguments. If set to True, the intellisense completion list will have one entry for each form of a given command. Default is true."
},
"latex-workshop.intellisense.useTabStops.enabled": {
"type": "boolean",
"default": true,
"markdownDescription": "Many snippets use PlaceHolders of the form ${\\d:some_text} for their argument. You may prefer to use TabStops ${\\d} instead, which allows for direct call to intellisense again. Default is true.\nReload vscode to make this configuration effective."
},
"latex-workshop.intellisense.commandsJSON.replace": {
"type": "object",
"default": {},
"markdownDescription": "Dictionary of `\"snippet name\": \"snippet action\"` to replace the default snippets in `data/commands.json`. Snippet actions should not begin with a `\\`. See `data/commands.json` for the list of snippet names. An empty action removes the snippet. E.g. `{ \"latexdisplaymath\": \"[ ${1} \\\\]\", \"figure\": \"\" }`. Reload vscode to make any change in this configuration effective."
},
"latex-workshop.texdoc.path": {
"type": "string",
"default": "texdoc",
"markdownDescription": "Define the location of texdoc executable.\nThis command is used to show a package documentation."
},
"latex-workshop.texdoc.args": {
"type": "array",
"items": {
"type": "string"
},
"default": [
"--view"
],
"markdownDescription": "Texdoc arguments to see a package documentation.\nArguments must be in separate strings in the array. The package name is automatically appended to the arguments."
},
"latex-workshop.progress.runIconType": {
"type": "string",
"default": "Parenthesised",
"enum": [
"Parenthesised",
"Circled",
"Solid Circled",
"Full Stop"
],
"enumDescriptions": [
"⑴ ⑵ ⑶ …",
"① ② ③ …",
"❶ ❷ ❸ …",
"⒈ ⒉ ⒊ …"
],
"markdownDescription": "The style of number to use to indicate the run number"
},
"latex-workshop.progress.barLength": {
"type": "integer",
"default": 15,
"markdownDescription": "How many characters long the progress bar should be"
},
"latex-workshop.progress.barStyle": {
"type": "string",
"default": "Block Shading",
"enum": [
"Block Width",
"Block Shading",
"Block Quadrants",
"none"
],
"enumDescriptions": [
"█████▋░░░ (8 levels per block)",
"█████▓░░░ (4 levels per block)",
"█████▙░░░ (4 levels per block)",
"No Bar"
]
},
"latex-workshop.progress.location": {
"type": "string",
"default": "Status Bar",
"enum": [
"Status Bar",
"Notification Dialogue"
]
},
"latex-workshop.bibtex-format.tab": {
"type": "string",
"enum": [
"2 spaces",
"4 spaces",
"tab"
],
"default": "2 spaces",
"description": "Indentation for each field."
},
"latex-workshop.bibtex-format.surround": {
"type": "string",
"enum": [
"Curly braces",
"Quotation marks"
],
"default": "Curly braces",
"description": "Surround each field value with either {Curly braces} or \"Quotation marks\"."
},
"latex-workshop.bibtex-format.case": {
"type": "string",
"enum": [
"UPPERCASE",
"lowercase"
],
"default": "lowercase",
"description": "Determines if field names should be formatted like 'AUTHOR' or 'author'."
},
"latex-workshop.bibtex-format.sortby": {
"type": "array",
"items": {
"type": "string"
},
"markdownDescription": "An array of strings to sort by. Either a bibtex field name (title, author, year, etc.), or `\"year-desc\"` to sort by year in descending order, or `\"key\"` for the entry key. E.g. `[\"author\", \"year-desc\", \"title\"]`.",
"default": [
"key"
]
},
"latex-workshop.bibtex-format.handleDuplicates": {
"type": "string",
"enum": [
"Ignore Duplicates",
"Highlight Duplicates",
"Comment Duplicates"
],
"default": "Highlight Duplicates",
"markdownDescription": "How to handle duplicates found by the bibtex sorting functions. Duplicates are decided according to the `bibtex-format.sortby` config."
}
}
},
"menus": {
"editor/context": [
{
"when": "config.latex-workshop.showContextMenu && editorLangId == latex",
"command": "latex-workshop.build",
"group": "navigation@100"
},
{
"when": "config.latex-workshop.showContextMenu && editorLangId == latex",
"command": "latex-workshop.synctex",
"group": "navigation@101"
}
],
"editor/title": [
{
"when": "editorLangId == latex",
"command": "latex-workshop.view",
"group": "navigation"
}
],
"view/title": [
{
"when": "view == latex-structure",
"command": "latex-structure.toggle-follow-cursor"
}
]
},
"viewsContainers": {
"activitybar": [
{
"id": "latex",
"title": "LaTeX",
"icon": "./icons/activity-bar.svg"
}
]
},
"views": {
"latex": [
{
"id": "latex-commands",
"name": "Commands",
"when": "latex-workshop:enabled"
},
{
"id": "latex-structure",
"name": "Structure",
"when": "latex-workshop:enabled"
}
]
}
},
"scripts": {
"clean": "rimraf out/ .eslintcache",
"compile": "tsc -p tsconfig.json && tsc -p viewer/tsconfig.json",
"lint": "eslint --cache --ext .ts,.js .",
"lint:fix": "eslint --fix --cache --ext .ts,.js .",
"release": "npm run clean && npm run lint && npm run compile && vsce package",
"watch": "run-p watch-src watch-viewer",
"watch-src": "tsc -watch -p tsconfig.json",
"watch-viewer": "tsc -watch -p viewer/tsconfig.json"
},
"husky": {
"hooks": {
"pre-commit": "eslint --cache --ext .ts,.js ."
}
},
"capabilities": {
"completionProvider": {
"resolveProvider": "true"
},
"hoverProvider": "true",
"definitionProvider": "true",
"documentSymbolProvider": "true",
"workspaceSymbolProvider": "true"
},
"dependencies": {
"@tamuratak/domstubs": "^0.1.1",
"chokidar": "^3.2.3",
"cross-spawn": "^7.0.1",
"fs-extra": "^5.0.0",
"glob": "^7.1.1",
"iconv-lite": "^0.4.24",
"jimp": "^0.8.4",
"latex-utensils": "^1.2.2",
"mathjax": "^2.7.5",
"mathjax-node": "2.1.1",
"micromatch": "^4.0.2",
"pdfjs-dist": "2.2.228",
"strip-json-comments": "^3.0.1",
"tmp": "^0.0.33",
"workerpool": "^5.0.0",
"ws": "^5.1.1"
},
"devDependencies": {
"@types/cross-spawn": "^6.0.1",
"@types/fs-extra": "^5.0.0",
"@types/glob": "^7.1.1",
"@types/micromatch": "^3.0.0",
"@types/node": "^12.12.17",
"@types/tmp": "^0.0.33",
"@types/vscode": "1.34.0",
"@types/workerpool": "^5.0.1",
"@types/ws": "^5.1.1",
"@typescript-eslint/eslint-plugin": "^2.13.0",
"@typescript-eslint/parser": "^2.13.0",
"acorn": "^6.2.1",
"eslint": "^6.8.0",
"eslint-plugin-import": "^2.19.1",
"husky": "^3.0.2",
"npm-run-all": "^4.1.5",
"rimraf": "^3.0.0",
"textmate-bailout": "^1.1.0",
"typescript": "~3.7.3",
"vsce": "^1.71.0",
"webpack": "^4.20.2"
},
"__metadata": {
"id": "61d03280-3919-4dd1-bce1-178ca21fdeaf",
"publisherId": "acd591bd-fa80-4809-bdbd-28c80bed19ec",
"publisherDisplayName": "James Yu"
}
}
{
"latex-workshop.view.pdf.viewer": "tab",
"latex-workshop.latex.recipe.default": "lastUsed"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment