Skip to content
Snippets Groups Projects
package.json 3.84 KiB
Newer Older
James-Yu's avatar
James-Yu committed
{
    "name": "latex-workshop",
    "displayName": "LaTeX Workshop",
    "description": "AIO LaTeX extension to preview, compile, hint, and more.",
    "version": "0.0.12",
James-Yu's avatar
James-Yu committed
    "publisher": "James-Yu",
    "license": "MIT",
    "homepage": "https://github.com/James-Yu/LaTeX-Workshop",
James-Yu's avatar
James-Yu committed
    "repository": {
        "type": "git",
        "url": "https://github.com/James-Yu/LaTeX-Workshop.git"
    },
James-Yu's avatar
James-Yu committed
    "engines": {
        "vscode": "^1.5.0"
    },
    "categories": [
James-Yu's avatar
James-Yu committed
        "Languages"
James-Yu's avatar
James-Yu committed
    ],
James-Yu's avatar
James-Yu committed
    "keywords": [
        "latex",
        "tex",
        "compile",
        "preview",
        "hint"
    ],
James-Yu's avatar
James-Yu committed
    "activationEvents": [
James-Yu's avatar
James-Yu committed
        "onLanguage:latex"
James-Yu's avatar
James-Yu committed
    ],
    "main": "./out/src/extension",
    "contributes": {
James-Yu's avatar
James-Yu committed
        "commands": [
            {
                "command": "latex-workshop.compile",
                "title": "Compile LaTeX to PDF"
James-Yu's avatar
James-Yu committed
                "command": "latex-workshop.preview",
                "title": "Preview PDF"
James-Yu's avatar
James-Yu committed
            },
            {
                "command": "latex-workshop.source",
                "title": "Show LaTeX"
            },
            {
                "command": "latex-workshop.synctex",
                "title": "Show in Preview"
James-Yu's avatar
James-Yu committed
        "configuration": {
            "type": "object",
            "title": "LaTeX Workshop configuration",
            "properties": {
                "latex-workshop.compiler": {
                    "type": "string",
                    "default": "pdflatex",
                    "description": "LaTeX compiler to use. Default: pdflatex."
                },
                "latex-workshop.compile_argument": {
                    "type": "string",
                    "default": "-synctex=1 -interaction=nonstopmode -file-line-error",
                    "description": "Compiler options to use. Default: -synctex=1 -interaction=nonstopmode -file-line-error."
James-Yu's avatar
James-Yu committed
                },
                "latex-workshop.compile_workflow": {
                    "type": "array",
James-Yu's avatar
James-Yu committed
                    "default": [
                        "%compiler% %arguments% %document%",
                        "bibtex %document%",
                        "%compiler% %arguments% %document%",
                        "%compiler% %arguments% %document%"
                    ],
James-Yu's avatar
James-Yu committed
                    "description": "Sequence of commands to compile LaTeX to PDF. Available placeholders: %compiler%, %arguments%, %document%."
James-Yu's avatar
James-Yu committed
                },
                "latex-workshop.compile_on_save": {
                    "type": "boolean",
                    "default": true,
                    "description": "Compile LaTeX when user saves LaTeX source file. Default: true."
James-Yu's avatar
James-Yu committed
        },
        "menus": {
            "editor/context": [
                {
                    "when": "resourceLangId == latex",
                    "command": "latex-workshop.synctex",
                    "group": "navigation"
                }
            ],
James-Yu's avatar
James-Yu committed
            "editor/title": [
                {
                    "when": "editorLangId == latex",
                    "command": "latex-workshop.preview",
                    "group": "navigation"
James-Yu's avatar
James-Yu committed
                },
                {
                    "when": "resourceScheme == latex-workshop-preview",
                    "command": "latex-workshop.source",
                    "group": "navigation"
James-Yu's avatar
James-Yu committed
                }
            ]
James-Yu's avatar
James-Yu committed
    },
    "scripts": {
        "vscode:prepublish": "tsc -p ./",
        "compile": "tsc -watch -p ./",
James-Yu's avatar
James-Yu committed
        "postinstall": "node ./node_modules/vscode/bin/install"
James-Yu's avatar
James-Yu committed
    },
    "dependencies": {