LaTeX-Workshop/package.json

848 lines
30 KiB
JSON
Raw Normal View History

2016-12-26 11:05:30 +03:00
{
2017-03-25 14:10:01 +03:00
"name": "latex-workshop",
"displayName": "LaTeX Workshop",
"description": "Boost LaTeX typesetting efficiency with preview, compile, autocomplete, colorize, and more.",
2017-03-26 13:29:15 +03:00
"icon": "icon.png",
2018-09-25 09:39:40 +03:00
"version": "5.10.2",
2017-03-25 14:10:01 +03:00
"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.27.0"
2017-03-25 14:10:01 +03:00
},
"categories": [
2018-05-16 08:55:55 +03:00
"Programming Languages",
2017-03-25 14:10:01 +03:00
"Snippets"
],
"keywords": [
"latex",
"tex",
"compile",
"preview",
"hint"
],
"activationEvents": [
"onLanguage:tex",
"onLanguage:latex",
2018-03-21 09:00:37 +03:00
"onLanguage:doctex",
2018-07-24 06:30:20 +03:00
"onLanguage:pdf",
"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.wordcount",
"onCommand:latex-workshop.compilerlog",
"onCommand:latex-workshop.log",
"onCommand:latex-workshop.actions"
2017-03-25 14:10:01 +03:00
],
"main": "./out/src/main",
"contributes": {
"languages": [
2017-03-26 05:12:01 +03:00
{
"id": "tex",
2017-03-26 05:12:01 +03:00
"aliases": [
"TeX",
"tex"
],
"extensions": [
".sty",
".cls",
".bbx",
".cbx",
".ltx"
2017-03-26 05:12:01 +03:00
],
"configuration": "./syntax/syntax.json"
},
{
2018-03-21 09:00:37 +03:00
"id": "doctex",
"aliases": [
2018-03-21 09:00:37 +03:00
"DocTeX",
"doctex"
],
"extensions": [
2018-03-14 08:41:20 +03:00
".dtx"
],
2018-03-21 09:00:37 +03:00
"configuration": "./syntax/syntax-doctex.json"
},
2017-03-25 14:10:01 +03:00
{
"id": "latex",
2017-03-25 14:10:01 +03:00
"aliases": [
"LaTeX",
"latex"
],
"extensions": [
".tex"
],
2017-03-26 05:05:22 +03:00
"configuration": "./syntax/syntax.json"
2017-03-26 05:12:01 +03:00
},
{
"id": "bibtex",
2017-03-26 05:12:01 +03:00
"aliases": [
"BibTeX",
"bibtex"
],
"extensions": [
".bib"
]
},
2017-09-06 06:17:53 +03:00
{
"id": "latex-expl3",
"aliases": [
"LaTeX Expl3"
],
"configuration": "./syntax/syntax.json"
},
{
"id": "pdf",
"aliases": [
"Plain Text (PDF)",
"pdf"
],
"extensions": [
".pdf"
]
2017-03-25 14:10:01 +03:00
}
2016-12-26 11:05:30 +03:00
],
2017-03-25 14:10:01 +03:00
"grammars": [
2017-03-26 05:05:22 +03:00
{
"language": "tex",
2017-03-26 05:05:22 +03:00
"scopeName": "text.tex",
"path": "./syntax/TeX.plist"
},
{
2018-03-21 09:00:37 +03:00
"language": "doctex",
"scopeName": "text.tex.doctex",
"path": "./syntax/DocTeX.plist"
},
2017-03-25 14:10:01 +03:00
{
"language": "latex",
2017-03-25 14:10:01 +03:00
"scopeName": "text.tex.latex",
2017-03-26 05:05:22 +03:00
"path": "./syntax/LaTeX.plist"
},
{
"language": "bibtex",
2017-03-26 05:05:22 +03:00
"scopeName": "text.bibtex",
"path": "./syntax/Bibtex.plist"
},
2017-09-06 06:17:53 +03:00
{
"language": "latex-expl3",
"scopeName": "text.tex.latex.expl3",
"path": "./syntax/LaTeX Expl3.plist"
},
{
"scopeName": "markdown.latex.codeblock",
"path": "./syntax/latexblock.json",
"injectTo": [
"text.html.markdown"
],
"embeddedLanguages": {
"meta.embedded.block.latex": "latex"
}
2017-03-25 14:10:01 +03:00
}
2016-12-26 16:07:54 +03:00
],
2018-05-10 10:22:49 +03:00
"snippets": [
{
"language": "latex",
"path": "./snippets/latex.json"
}
],
2017-03-25 14:10:01 +03:00
"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.close-env",
"title": "Close current environment",
"category": "LaTeX Workshop"
},
2017-03-25 14:10:01 +03:00
{
"command": "latex-workshop.build",
"title": "Build LaTeX project",
"category": "LaTeX Workshop"
2017-03-25 14:10:01 +03:00
},
{
"command": "latex-workshop.recipes",
"title": "Build with recipe",
"category": "LaTeX Workshop"
},
2017-03-25 14:10:01 +03:00
{
"command": "latex-workshop.view",
"title": "View LaTeX PDF file",
"category": "LaTeX Workshop",
2017-08-07 03:34:43 +03:00
"icon": {
2017-08-07 05:35:44 +03:00
"light": "icons/view-pdf-light.svg",
"dark": "icons/view-pdf-dark.svg"
2017-08-07 03:34:43 +03:00
}
},
{
"command": "latex-workshop.tab",
"title": "View LaTeX PDF file in VSCode tab",
"category": "LaTeX Workshop"
},
2018-04-10 05:13:41 +03:00
{
"command": "latex-workshop.kill",
"title": "Kill LaTeX compiler process",
"category": "LaTeX Workshop"
},
2017-03-25 14:10:01 +03:00
{
"command": "latex-workshop.synctex",
"title": "SyncTeX from cursor",
"category": "LaTeX Workshop"
2017-03-29 13:11:41 +03:00
},
{
"command": "latex-workshop.clean",
2017-05-04 08:50:04 +03:00
"title": "Clean up auxiliary files",
"category": "LaTeX Workshop"
2017-04-04 07:20:54 +03:00
},
{
"command": "latex-workshop.citation",
"title": "Open citation browser",
"category": "LaTeX Workshop"
},
2018-03-14 16:41:47 +03:00
{
2018-03-14 19:42:09 +03:00
"command": "latex-workshop.addtexroot",
2018-09-14 10:59:54 +03:00
"title": "Insert %!TeX root magic comment",
2018-03-14 16:41:47 +03:00
"category": "LaTeX Workshop"
},
{
"command": "latex-workshop.wordcount",
"title": "Count words in LaTeX document",
"category": "LaTeX Workshop"
},
2017-04-27 06:37:40 +03:00
{
"command": "latex-workshop.log",
"title": "Show LaTeX Workshop messages",
2017-04-27 06:37:40 +03:00
"category": "LaTeX Workshop"
},
2017-04-04 07:20:54 +03:00
{
"command": "latex-workshop.actions",
2018-04-16 11:53:21 +03:00
"title": "LaTeX actions",
"category": "LaTeX Workshop"
},
{
"command": "latex-workshop-dev.parselog",
"title": "Parse current document as LaTeX logs",
"category": "LaTeX Workshop DevTools"
2017-03-25 14:10:01 +03:00
}
2016-12-26 11:05:30 +03:00
],
2017-07-05 04:42:30 +03:00
"keybindings": [
{
"command": "latex-workshop.build",
"key": "cmd+alt+b",
"when": "isMac && editorTextFocus"
},
2017-07-05 04:42:30 +03:00
{
"command": "latex-workshop.build",
"key": "ctrl+alt+b",
"when": "!isMac && editorTextFocus"
},
{
"command": "latex-workshop.view",
"key": "cmd+alt+v",
"when": "isMac && editorTextFocus"
2017-07-05 04:42:30 +03:00
},
{
"command": "latex-workshop.view",
"key": "ctrl+alt+v",
"when": "!isMac && editorTextFocus"
},
{
"command": "latex-workshop.synctex",
"key": "cmd+alt+j",
"when": "isMac && editorTextFocus"
},
{
"command": "latex-workshop.synctex",
"key": "ctrl+alt+j",
"when": "!isMac && editorTextFocus"
},
{
"command": "workbench.view.extension.latex",
"key": "cmd+alt+x",
"when": "isMac"
},
{
"command": "workbench.view.extension.latex",
"key": "ctrl+alt+x"
},
{
"key": "ctrl+l ctrl+enter",
"mac": "cmd+l cmd+enter",
"when": "editorTextFocus && !editorReadonly && editorLangId == 'latex'",
"command": "latex-workshop.shorcut.item"
},
{
"key": "ctrl+l ctrl+b",
"mac": "cmd+l cmd+b",
"when": "editorTextFocus && !editorReadonly && editorLangId == 'latex'",
"command": "latex-workshop.shorcut.textbf"
},
{
"key": "ctrl+l ctrl+i",
"mac": "cmd+l cmd+i",
"when": "editorTextFocus && !editorReadonly && editorLangId == 'latex'",
"command": "latex-workshop.shorcut.textit"
},
{
"key": "ctrl+l ctrl+u",
"mac": "cmd+l cmd+u",
"when": "editorTextFocus && !editorReadonly && editorLangId == 'latex'",
"command": "latex-workshop.shorcut.underline"
},
{
"key": "ctrl+l ctrl+e",
"mac": "cmd+l cmd+e",
"when": "editorTextFocus && !editorReadonly && editorLangId == 'latex'",
"command": "latex-workshop.shorcut.textem"
},
{
"key": "ctrl+l ctrl+r",
"mac": "cmd+l cmd+r",
"when": "editorTextFocus && !editorReadonly && editorLangId == 'latex'",
"command": "latex-workshop.shorcut.textrm"
},
{
"key": "ctrl+l ctrl+t",
"mac": "cmd+l cmd+t",
"when": "editorTextFocus && !editorReadonly && editorLangId == 'latex'",
"command": "latex-workshop.shorcut.texttt"
},
{
"key": "ctrl+l ctrl+s",
"mac": "cmd+l cmd+s",
"when": "editorTextFocus && !editorReadonly && editorLangId == 'latex'",
"command": "latex-workshop.shorcut.textsl"
},
{
"key": "ctrl+l ctrl+c",
"mac": "cmd+l cmd+c",
"when": "editorTextFocus && !editorReadonly && editorLangId == 'latex'",
"command": "latex-workshop.shorcut.textsc"
},
{
"key": "ctrl+l ctrl+n",
"mac": "cmd+l cmd+n",
"when": "editorTextFocus && !editorReadonly && editorLangId == 'latex'",
"command": "latex-workshop.shorcut.textnormal"
},
{
"key": "ctrl+l ctrl+6",
"mac": "cmd+l cmd+6",
"when": "editorTextFocus && !editorReadonly && editorLangId == 'latex'",
"command": "latex-workshop.shorcut.textsuperscript"
},
{
"key": "ctrl+l ctrl+oem_minus",
"mac": "cmd+l cmd+oem_minus",
"when": "editorTextFocus && !editorReadonly && editorLangId == 'latex'",
"command": "latex-workshop.shorcut.textsubscript"
},
{
"key": "ctrl+m ctrl+b",
"mac": "cmd+m cmd+b",
"when": "editorTextFocus && !editorReadonly && editorLangId == 'latex'",
"command": "latex-workshop.shorcut.mathbf"
},
{
"key": "ctrl+m ctrl+i",
"mac": "cmd+m cmd+i",
"when": "editorTextFocus && !editorReadonly && editorLangId == 'latex'",
"command": "latex-workshop.shorcut.mathit"
},
{
"key": "ctrl+m ctrl+r",
"mac": "cmd+m cmd+r",
"when": "editorTextFocus && !editorReadonly && editorLangId == 'latex'",
"command": "latex-workshop.shorcut.mathrm"
},
{
"key": "ctrl+m ctrl+t",
"mac": "cmd+m cmd+t",
"when": "editorTextFocus && !editorReadonly && editorLangId == 'latex'",
"command": "latex-workshop.shorcut.mathtt"
},
{
"key": "ctrl+m ctrl+s",
"mac": "cmd+m cmd+s",
"when": "editorTextFocus && !editorReadonly && editorLangId == 'latex'",
"command": "latex-workshop.shorcut.mathsf"
},
{
"key": "ctrl+m ctrl+shift+b",
"mac": "cmd+m cmd+shift+b",
"when": "editorTextFocus && !editorReadonly && editorLangId == 'latex'",
"command": "latex-workshop.shorcut.mathbb"
},
{
"key": "ctrl+m ctrl+c",
"mac": "cmd+m cmd+c",
"when": "editorTextFocus && !editorReadonly && editorLangId == 'latex'",
"command": "latex-workshop.shorcut.mathcal"
},
{
"command": "latex-workshop.onEnterKey",
"key": "enter",
"when": "editorTextFocus && !editorReadonly && editorLangId == latex && !suggestWidgetVisible && vim.mode != 'CommandlineInProgress'"
},
{
"command": "latex-workshop.onAltEnterKey",
"key": "alt+enter",
"when": "editorTextFocus && !editorReadonly && editorLangId == latex && !suggestWidgetVisible"
}
2017-07-05 04:42:30 +03:00
],
2017-03-25 14:10:01 +03:00
"configuration": {
"type": "object",
"title": "LaTeX Workshop configuration",
"properties": {
"latex-workshop.latex.recipes": {
2018-03-21 09:08:31 +03:00
"type": "array",
2018-03-25 08:41:15 +03:00
"default": [
{
"name": "latexmk",
"tools": [
"latexmk"
]
},
{
"name": "pdflatex -> bibtex -> pdflatex*2",
"tools": [
"pdflatex",
"bibtex",
"pdflatex",
"pdflatex"
]
}
],
2018-03-21 09:08:31 +03:00
"description": "Define LaTeX compiling recipes.\nEach recipe in the list is an object declares 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#recipe."
},
2018-03-21 09:08:31 +03:00
"latex-workshop.latex.tools": {
"type": "array",
2018-03-25 08:41:15 +03:00
"default": [
{
"name": "latexmk",
"command": "latexmk",
"args": [
"-synctex=1",
"-interaction=nonstopmode",
"-file-line-error",
"-pdf",
"%DOC%"
]
},
{
"name": "pdflatex",
"command": "pdflatex",
"args": [
"-synctex=1",
"-interaction=nonstopmode",
"-file-line-error",
"%DOC%"
]
},
{
"name": "bibtex",
"command": "bibtex",
"args": [
"%DOCFILE%"
]
}
],
2018-03-21 09:08:31 +03:00
"description": "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`. Typically no spaces should appear in each argument unless in paths.\nPlaceholder `%DOC%`, `%DOCFILE`, and `%DIR%` is available. For details, please visit https://github.com/James-Yu/LaTeX-Workshop#recipe."
},
2018-03-23 09:08:38 +03:00
"latex-workshop.latex.magic.args": {
2017-03-25 14:10:01 +03:00
"type": "array",
2017-04-02 06:37:14 +03:00
"default": [
"-synctex=1",
"-interaction=nonstopmode",
"-file-line-error",
"%DOC%"
2017-04-02 06:37:14 +03:00
],
"description": "Define the arguments to be input to magic command executable."
2017-03-25 14:10:01 +03:00
},
2018-04-01 17:19:52 +03:00
"latex-workshop.latex.magic.bib.args": {
"type": "array",
"default": [
"%DOCFILE%"
],
"description": "Define the arguments to be input to BIB magic command executable."
},
"latex-workshop.latex.outputDir": {
"type": "string",
"default": "./",
"description": "The directory where the extension tries to find project files (e.g., PDF and SyncTeX files) are located.\nBoth relative and absolute pathes are supported. Relative path start from the root file location, so beware if it is located in sub-directory.\nThe LaTeX toolchain should output files to this path."
},
"latex-workshop.latex.additionalBib": {
"type": "array",
"default": [],
"description": "Addition bibliography files to watch.\nBoth relative and absolute paths/globs are supported, but absolute ones are suggested. Relative path start from the root file location, so be ware if it is located in sub-directory."
},
"latex-workshop.latex.autoBuild.onSave.enabled": {
2017-03-25 14:10:01 +03:00
"type": "boolean",
"default": true,
2017-03-26 08:26:06 +03:00
"description": "Build LaTeX after saving LaTeX source file.\nThis property defines whether LaTeX Workshop will execute the LaTeX toolchain command(s) to build the project after new LaTeX contents are saved."
},
"latex-workshop.latex.autoBuild.onTexChange.enabled": {
"type": "boolean",
"default": false,
"description": "Build LaTeX after a LaTeX source file has changed in the workspace.\nThis property defines whether LaTeX Workshop will execute the LaTeX toolchain command(s) to build the project after any LaTeX file in the workspace is saved on the disk which is not open in the active editor window."
},
"latex-workshop.latex.autoBuild.cleanAndRetry.enabled": {
"type": "boolean",
"default": true,
"description": "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.clean.enabled": {
2017-03-29 13:11:41 +03:00
"type": "boolean",
"default": false,
"description": "Delete LaTeX auxillary files after building project.\nThis property defines whether LaTeX Workshop will clean up all unnecessary files after building the project."
},
"latex-workshop.latex.clean.onFailBuild.enabled": {
"type": "boolean",
"default": false,
"description": "Delete LaTeX auxillary files after a failed building process.\nThis property defines whether LaTeX Workshop will clean up all unnecessary files upon building errors."
},
"latex-workshop.latex.clean.fileTypes": {
2017-03-29 13:11:41 +03:00
"type": "array",
2017-04-02 06:37:14 +03:00
"default": [
"*.aux",
"*.bbl",
"*.blg",
"*.idx",
"*.ind",
"*.lof",
"*.lot",
"*.out",
"*.toc",
"*.acn",
"*.acr",
"*.alg",
"*.glg",
"*.glo",
"*.gls",
"*.ist",
"*.fls",
"*.log",
"*.fdb_latexmk"
],
2017-03-29 13:11:41 +03:00
"description": "Files to clean.\nThis property must be an array of strings. File globs such as *.removeme, something?.aux can be used."
},
"latex-workshop.view.outline.sections": {
"type": "array",
2017-07-05 04:42:30 +03:00
"default": [
"chapter",
"section",
"subsection",
"subsubsection"
],
"description": "The section names of LaTeX outline hierarchy.\nThis property is an array of case-sensitive strings in the order of document structure hierarchy. For multiple tags in the same level, seperate the tags with `|` as delimiters, e.g., `section|alternative`."
},
"latex-workshop.view.pdf.viewer": {
"type": "string",
"default": "none",
"enum": [
"none",
"browser",
"tab",
"external"
],
"description": "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.external.command": {
"type": "object",
2018-03-25 08:41:15 +03:00
"default": {
"command": "SumatraPDF.exe",
"args": [
"%PDF%"
]
},
"description": "The command to execute 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": {
"type": "object",
"default": {
"command": "SumatraPDF.exe",
"args": [
"%LINE%",
"%PDF%",
"%TEX%"
]
},
"description": "The command to execute when forward synctex to external viewer.\nThis function is not officially supported. %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",
"description": "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.hand": {
"type": "boolean",
"default": false,
"description": "Define if the hand tool is enabled by default in the PDF viewer."
},
"latex-workshop.view.pdf.invert": {
"type": "number",
"default": 0,
"description": "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."
},
2017-04-07 11:10:52 +03:00
"latex-workshop.synctex.path": {
2017-04-06 12:11:18 +03:00
"type": "string",
"default": "synctex",
"description": "Define the location of SyncTeX executive file.\nAdditional arguments, e.g., synctex modes and position of click, will be appended to this command."
2017-04-06 12:11:18 +03:00
},
"latex-workshop.synctex.afterBuild.enabled": {
"type": "boolean",
"default": false,
"description": "Execute forward synctex at cursor position after compiling LaTeX project."
},
2017-04-07 11:10:52 +03:00
"latex-workshop.chktex.enabled": {
2017-03-27 05:11:08 +03:00
"type": "boolean",
"default": false,
"description": "Enable linting LaTeX with ChkTeX.\nThe active document will be linted when no document changes for a defined period of time.\nThe full project will be linted from the root on file save."
2017-03-27 05:11:08 +03:00
},
2017-04-07 11:10:52 +03:00
"latex-workshop.chktex.path": {
"type": "string",
"default": "chktex",
"description": "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."
},
2017-04-07 11:10:52 +03:00
"latex-workshop.chktex.args.active": {
2017-04-07 12:17:18 +03:00
"type": "array",
"default": [
"-wall",
"-n22",
"-n30",
"-e16",
"-q"
],
"description": "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."
},
2017-04-07 11:10:52 +03:00
"latex-workshop.chktex.args.root": {
2017-04-07 12:17:18 +03:00
"type": "array",
"default": [
"-wall",
"-n22",
"-n30",
"-e16",
"-q"
],
"description": "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."
2017-03-27 04:26:04 +03:00
},
2017-04-07 11:10:52 +03:00
"latex-workshop.chktex.interval": {
2017-03-27 05:07:47 +03:00
"type": "number",
"default": 300,
"description": "Defines the time interval in milliseconds between invoking LaTeX linter on the active file."
2017-03-27 05:07:47 +03:00
},
"latex-workshop.texcount.path": {
"type": "string",
"default": "texcount",
"description": "Define the location of TeXCount executive file/script.\nThis command will be joint with `latex-workshop.texcount.args` and required arguments to form a complete command of TeXCount."
},
"latex-workshop.texcount.args": {
"type": "array",
"default": [],
"description": "TeXCount arguments to count words in LaTeX document of the entire project from the root file, or the currect document.\nArguments must be in separate strings in the array. Additional arguments, i.e., `-merge %DOC%` for the project and the current document path for counting current file will be appended when constructing the command."
},
"latex-workshop.intellisense.citation.type": {
"type": "string",
"enum": [
"inline",
"browser"
],
"default": "inline",
"description": "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."
]
},
2017-04-07 11:10:52 +03:00
"latex-workshop.intellisense.citation.label": {
"type": "string",
"enum": [
"bibtex key",
"title",
"authors"
],
"default": "bibtex key",
"description": "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,
"description": "Defines the maximum bibtex file size for the extension to parse in MB."
},
"latex-workshop.intellisense.surroundCommand.enabled": {
"type": "boolean",
2018-02-22 04:44:56 +03:00
"default": false,
"description": "When `\\` is typed with text selected, surround the selection with LaTeX command."
},
"latex-workshop.message.badbox.show": {
"type": "boolean",
"default": true,
"description": "Show badbox information in the problems panel."
},
"latex-workshop.message.information.show": {
"type": "boolean",
"default": false,
"description": "Display information messages in popup notifications."
},
"latex-workshop.message.warning.show": {
"type": "boolean",
"default": true,
"description": "Display warning messages in popup notifications."
},
"latex-workshop.message.error.show": {
"type": "boolean",
"default": true,
"description": "Display error messages in popup notifications."
},
"latex-workshop.message.update.show": {
"type": "boolean",
"default": true,
"description": "Display LaTeX Workshop update message on new versions."
},
"latex-workshop.message.log.show": {
"type": "boolean",
"default": true,
"description": "Display LaTeX Workshop debug log in output panel.\nThis property defines whether LaTeX Workshop will output its debug log to the log panel."
},
2018-01-17 19:30:40 +03:00
"latex-workshop.latexindent.path": {
"type": "string",
"default": "latexindent",
"description": "Define the location of the latexindent executable file."
},
"latex-workshop.latexindent.args": {
"type": "array",
"default": [
"-c",
"%DIR%/",
"%TMPFILE%",
"-y=\"defaultIndent: '%INDENT%'\""
],
"description": "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."
2018-04-15 10:12:10 +03:00
},
"latex-workshop.docker.enabled": {
"type": "boolean",
"default": false,
"description": "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 `tianon/latex` and `mcandre/docker-chktex` binaries to replace `latexmk`, `synctex`, `texcount`, `latexindent` and `chktex`."
},
"latex-workshop.showContextMenu": {
"type": "boolean",
"default": false,
"description": "Enable the LaTeX contextual menu. This menu is deactived as it is available through the new LaTeX badge. Just set this variable to `true` to recover the menu."
2017-01-01 08:03:34 +03:00
}
2017-03-25 14:10:01 +03:00
}
2017-03-26 13:17:34 +03:00
},
"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"
},
{
"when": "config.latex-workshop.showContextMenu && editorLangId == latex",
"command": "latex-workshop.actions",
"group": "navigation@102"
}
],
"editor/title": [
{
"when": "editorLangId == latex",
"command": "latex-workshop.view",
"group": "navigation"
}
2017-03-26 13:17:34 +03:00
]
},
"viewsContainers": {
"activitybar": [
{
"id": "latex",
"title": "LaTeX",
2018-09-09 11:14:46 +03:00
"icon": "./icons/activity-bar.svg"
}
]
},
"views": {
"latex": [
2018-09-14 10:59:54 +03:00
{
"id": "latex-commands",
"name": "Commands",
"when": "latex-workshop:enabled"
},
{
"id": "latex-structure",
"name": "Structure",
"when": "latex-workshop:enabled"
}
]
2017-03-25 14:10:01 +03:00
}
},
"scripts": {
"vscode:prepublish": "tsc -p ./",
"compile": "tsc -watch -p ./",
"postinstall": "node ./node_modules/vscode/bin/install"
},
"capabilities": {
"completionProvider": {
"resolveProvider": "true"
},
"hoverProvider": "true",
"definitionProvider": "true",
"documentSymbolProvider": "true",
2017-08-07 05:35:44 +03:00
"workspaceSymbolProvider": "true"
2017-03-25 14:10:01 +03:00
},
"dependencies": {
2018-04-09 22:26:05 +03:00
"chokidar": "^2.0.3",
"fs-extra": "^5.0.0",
2017-03-26 07:55:47 +03:00
"glob": "^7.1.1",
2017-08-07 05:35:44 +03:00
"pdfjs-dist": "^1.8.609",
2018-04-09 21:38:52 +03:00
"ws": "^5.1.1"
2017-03-25 14:10:01 +03:00
},
"devDependencies": {
2017-04-02 19:52:23 +03:00
"@types/chokidar": "^1.6.0",
"@types/fs-extra": "^5.0.0",
2017-03-29 13:26:23 +03:00
"@types/glob": "^5.0.30",
2018-04-09 21:38:52 +03:00
"@types/ws": "^4.0.2",
2018-04-09 20:58:51 +03:00
"@types/node": "^7.0.59",
"tslint": "^5.0.0",
2017-03-29 13:26:23 +03:00
"typescript": "^2.0.3",
2018-03-25 08:41:15 +03:00
"vscode": "^1.1.14",
2017-08-07 05:42:21 +03:00
"webpack": "^2.7.0"
2017-03-25 14:10:01 +03:00
}
}