{ "name": "latex-workshop", "displayName": "LaTeX Workshop", "description": "Boost LaTeX typesetting efficiency with preview, compile, autocomplete, colorize, and more.", "icon": "icon.png", "version": "1.1.2", "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.8.0" }, "categories": [ "Languages", "Snippets" ], "keywords": [ "latex", "tex", "compile", "preview", "hint" ], "activationEvents": [ "onLanguage:latex" ], "main": "./out/src/main", "contributes": { "languages": [ { "id": "tex", "aliases": [ "TeX", "tex" ], "extensions": [ ".sty", ".cls", ".bbx", ".cbx" ], "configuration": "./syntax/syntax.json" }, { "id": "latex", "aliases": [ "LaTeX", "latex" ], "extensions": [ ".tex" ], "configuration": "./syntax/syntax.json" }, { "id": "bibtex", "aliases": [ "BibTeX", "bibtex" ], "extensions": [ ".bib" ] }, { "id": "latex-beamer", "aliases": [ "LaTeX Beamer" ], "configuration": "./syntax/syntax.json" }, { "id": "latex-memoir", "aliases": [ "LaTeX Memoir" ], "configuration": "./syntax/syntax.json" }, { "id": "latex-log", "aliases": [ "LaTeX Log" ], "extensions": [ ".log" ] } ], "grammars": [ { "language": "tex", "scopeName": "text.tex", "path": "./syntax/TeX.plist" }, { "language": "latex", "scopeName": "text.tex.latex", "path": "./syntax/LaTeX.plist" }, { "language": "bibtex", "scopeName": "text.bibtex", "path": "./syntax/Bibtex.plist" }, { "language": "latex-beamer", "scopeName": "text.tex.latex.beamer", "path": "./syntax/LaTeX Beamer.plist" }, { "language": "latex-memoir", "scopeName": "text.tex.latex.memoir", "path": "./syntax/LaTeX Memoir.plist" }, { "language": "latex-log", "scopeName": "text.log.latex", "path": "./syntax/LaTeX Log.plist" } ], "commands": [ { "command": "latex-workshop.build", "title": "Build LaTeX project" }, { "command": "latex-workshop.view", "title": "View PDF file in web page" }, { "command": "latex-workshop.tab", "title": "View PDF file in new tab" }, { "command": "latex-workshop.synctex", "title": "SyncTeX from LaTeX to PDF" }, { "command": "latex-workshop.clean", "title": "Clean up auxillary files of LaTeX project" } ], "configuration": { "type": "object", "title": "LaTeX Workshop configuration", "properties": { "latex-workshop.toolchain": { "type": "array", "default": ["latexmk -synctex=1 -interaction=nonstopmode -file-line-error -pdf %DOC%"], "description": "LaTeX toolchain to build project.\nThis property defines the sequence of commands LaTeX Workshop will execute to build the LaTeX project. By default it tries latexmk to compile to PDF.\nPlaceholder %DOC% is used to represent the root LaTeX file name (without '.tex' extension), and will be replaced when executing." }, "latex-workshop.build_after_save": { "type": "boolean", "default": true, "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.clean_after_build": { "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.files_to_clean": { "type": "array", "default": ["*.aux", "*.bbl", "*.blg", "*.idx", "*.ind", "*.lof", "*.lot", "*.out", "*.toc", "*.acn", "*.acr", "*.alg", "*.glg", "*.glo", "*.gls", "*.ist", "*.fls", "*.log", "*.fdb_latexmk"], "description": "Files to clean.\nThis property must be an array of strings. File globs such as *.removeme, something?.aux can be used." }, "latex-workshop.linter": { "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." }, "latex-workshop.linter_command_active_file": { "type": "array", "default": ["chktex", "-q", "-I0", "-f%f:%l:%c:%d:%k:%n:%m\n"], "description": "Linter command to check LaTeX syntax of the current file state in real time with ChkTeX.\nCurrent file contents will be piped to the command through stdin.\nThe format string should be kept as shown in the default as this is the format the parser expects for successful parsing." }, "latex-workshop.linter_command_root_file": { "type": "array", "default": ["chktex", "-q", "-f%f:%l:%c:%d:%k:%n:%m\n", "%DOC%"], "description": "Linter command to check LaTeX syntax of the entire project from the root file with ChkTeX.\nPlaceholder %DOC% is used to represent the root LaTeX file name (with extension).\nThe format string should be kept as shown in the default as this is the format the parser expects for successful parsing." }, "latex-workshop.linter_interval": { "type": "number", "default": 300, "description": "Defines the time interval in milliseconds between invoking LaTeX linter on the active file." }, "latex-workshop.show_debug_log": { "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." } } }, "menus": { "editor/context": [ { "when": "resourceLangId == latex", "command": "latex-workshop.build", "group": "navigation@100" }, { "when": "resourceLangId == latex", "command": "latex-workshop.view", "group": "navigation@101" }, { "when": "resourceLangId == latex", "command": "latex-workshop.tab", "group": "navigation@102" }, { "when": "resourceLangId == latex", "command": "latex-workshop.synctex", "group": "navigation@103" }, { "when": "resourceLangId == latex", "command": "latex-workshop.clean", "group": "navigation@104" } ] } }, "scripts": { "vscode:prepublish": "tsc -p ./", "compile": "tsc -watch -p ./", "postinstall": "node ./node_modules/vscode/bin/install" }, "capabilities": { "completionProvider": { "resolveProvider": "true" } }, "dependencies": { "glob": "^7.1.1", "hasbin": "^1.2.3", "open": "^0.0.5", "tmp": "^0.0.31", "ws": "^1.1.1" }, "devDependencies": { "typescript": "^2.0.3", "vscode": "^1.0.0", "mocha": "^2.3.3", "@types/node": "^6.0.40", "@types/mocha": "^2.2.32" } }