src/Tools/VSCode/extension/package.json
author wenzelm
Mon, 02 Jan 2017 14:14:33 +0100
changeset 64749 2450b62574c6
parent 64743 ebaf9d01a964
child 64750 1f855e03455f
permissions -rw-r--r--
grammar for Isabelle/ML, based on https://github.com/textmate/standard-ml.tmbundle/blob/fea2448/Syntaxes/Standard%20ML.plist

{
    "name": "isabelle",
    "displayName": "Isabelle",
    "description": "Isabelle Theorem Prover",
    "keywords": [
        "theorem prover",
        "formalized mathematics",
        "mathematical logic",
        "functional programming",
        "document preparation"
        ],
    "icon": "isabelle.png",
    "version": "0.1.0",
    "publisher": "makarius",
    "license": "BSD-3-Clause",
    "repository": { "url": "http://isabelle.in.tum.de/repos/isabelle" },
    "engines": { "vscode": "^1.7.0" },
    "categories": ["Languages"],
    "activationEvents": [
        "onLanguage:isabelle"
    ],
    "main": "./out/src/extension",
    "contributes": {
        "languages": [
            {
                "id": "isabelle",
                "aliases": ["Isabelle"],
                "extensions": [".thy"],
                "configuration": "./isabelle-language.json"
            },
            {
                "id": "isabelle-ml",
                "aliases": ["Isabelle/ML"],
                "extensions": [".ML"],
                "configuration": "./isabelle-language.json"
            }

        ],
        "grammars": [
            {
                "language": "isabelle",
                "scopeName": "source.isabelle",
                "path": "./isabelle-grammar.json"
            },
            {
                "language": "isabelle-ml",
                "scopeName": "source.isabelle-ml",
                "path": "./isabelle-ml-grammar.json"
            }
        ],
        "configuration": {
            "title": "Isabelle",
            "properties": {
                "isabelle.home": {
                    "type": "string",
                    "default": "",
                    "description": "ISABELLE_HOME directory"
                },
                "isabelle.args": {
                    "type": "array",
                    "items": { "type": "string" },
                    "default": [],
                    "description": "command-line arguments for isabelle vscode_server"
                }
            }
        }
    },
    "scripts": {
        "vscode:prepublish": "tsc -p ./",
        "compile": "tsc -watch -p ./",
        "postinstall": "node ./node_modules/vscode/bin/install"
    },
    "devDependencies": {
        "typescript": "^2.0.3",
        "vscode": "^1.0.0",
        "mocha": "^2.3.3",
        "@types/node": "^6.0.40",
        "@types/mocha": "^2.2.32"
    },
    "dependencies": {
        "vscode-languageclient": "^2.6.3"
    }
}