src/Tools/VSCode/extension/package.json
author wenzelm
Wed May 31 17:25:26 2017 +0200 (2017-05-31)
changeset 65983 d8c5603c1732
parent 65958 6338355b2a88
child 65985 1be7135917a6
permissions -rw-r--r--
explicit preview request/response;
commands, icons, menus like VSCode markdown preview;
clarified Uri information (again);
tuned;
wenzelm@64605
     1
{
wenzelm@64605
     2
    "name": "isabelle",
wenzelm@64605
     3
    "displayName": "Isabelle",
wenzelm@64757
     4
    "description": "Isabelle Prover IDE",
wenzelm@64605
     5
    "keywords": [
wenzelm@64605
     6
        "theorem prover",
wenzelm@64605
     7
        "formalized mathematics",
wenzelm@64605
     8
        "mathematical logic",
wenzelm@64605
     9
        "functional programming",
wenzelm@64605
    10
        "document preparation"
wenzelm@64605
    11
        ],
wenzelm@64605
    12
    "icon": "isabelle.png",
wenzelm@65914
    13
    "version": "0.12.0",
wenzelm@64696
    14
    "publisher": "makarius",
wenzelm@65091
    15
    "license": "MIT",
wenzelm@64605
    16
    "repository": { "url": "http://isabelle.in.tum.de/repos/isabelle" },
wenzelm@64757
    17
    "engines": { "vscode": "^1.8.0" },
wenzelm@64605
    18
    "categories": ["Languages"],
wenzelm@64605
    19
    "activationEvents": [
wenzelm@64750
    20
        "onLanguage:isabelle",
wenzelm@65983
    21
        "onLanguage:isabelle-ml",
wenzelm@65983
    22
        "onCommand:isabelle.preview",
wenzelm@65983
    23
        "onCommand:isabelle.preview-side",
wenzelm@65983
    24
        "onCommand:isabelle.preview-source"
wenzelm@64605
    25
    ],
wenzelm@64605
    26
    "main": "./out/src/extension",
wenzelm@64605
    27
    "contributes": {
wenzelm@65958
    28
        "commands": [
wenzelm@65958
    29
            {
wenzelm@65983
    30
				"command": "isabelle.preview",
wenzelm@65983
    31
				"title": "Open Preview",
wenzelm@65983
    32
				"category": "Isabelle",
wenzelm@65983
    33
				"icon": {
wenzelm@65983
    34
					"light": "./media/Preview.svg",
wenzelm@65983
    35
					"dark": "./media/Preview_inverse.svg"
wenzelm@65983
    36
				}
wenzelm@65983
    37
			},
wenzelm@65983
    38
			{
wenzelm@65983
    39
				"command": "isabelle.preview-side",
wenzelm@65983
    40
				"title": "Open Preview to the Side",
wenzelm@65983
    41
				"category": "Isabelle",
wenzelm@65983
    42
				"icon": {
wenzelm@65983
    43
					"light": "./media/PreviewOnRightPane_16x.svg",
wenzelm@65983
    44
					"dark": "./media/PreviewOnRightPane_16x_dark.svg"
wenzelm@65983
    45
				}
wenzelm@65983
    46
			},
wenzelm@65983
    47
   			{
wenzelm@65983
    48
				"command": "isabelle.preview-source",
wenzelm@65983
    49
				"title": "Show Source",
wenzelm@65983
    50
				"category": "Isabelle",
wenzelm@65983
    51
				"icon": {
wenzelm@65983
    52
					"light": "./media/ViewSource.svg",
wenzelm@65983
    53
					"dark": "./media/ViewSource_inverse.svg"
wenzelm@65983
    54
			    }
wenzelm@65958
    55
            }
wenzelm@65958
    56
        ],
wenzelm@65983
    57
        "menus": {
wenzelm@65983
    58
			"editor/title": [
wenzelm@65983
    59
				{
wenzelm@65983
    60
					"when": "editorLangId == isabelle",
wenzelm@65983
    61
					"command": "isabelle.preview-side",
wenzelm@65983
    62
					"alt": "isabelle.preview",
wenzelm@65983
    63
					"group": "navigation"
wenzelm@65983
    64
				},
wenzelm@65983
    65
				{
wenzelm@65983
    66
					"when": "resourceScheme == isabelle-preview",
wenzelm@65983
    67
					"command": "isabelle.preview-source",
wenzelm@65983
    68
					"group": "navigation"
wenzelm@65983
    69
				}
wenzelm@65983
    70
			],
wenzelm@65983
    71
			"explorer/context": [
wenzelm@65983
    72
				{
wenzelm@65983
    73
					"when": "resourceLangId == isabelle",
wenzelm@65983
    74
					"command": "isabelle.preview",
wenzelm@65983
    75
					"group": "navigation"
wenzelm@65983
    76
				}
wenzelm@65983
    77
			]
wenzelm@65983
    78
		},
wenzelm@64605
    79
        "languages": [
wenzelm@64605
    80
            {
wenzelm@64605
    81
                "id": "isabelle",
wenzelm@64605
    82
                "aliases": ["Isabelle"],
wenzelm@64605
    83
                "extensions": [".thy"],
wenzelm@64736
    84
                "configuration": "./isabelle-language.json"
wenzelm@64749
    85
            },
wenzelm@64749
    86
            {
wenzelm@64749
    87
                "id": "isabelle-ml",
wenzelm@64749
    88
                "aliases": ["Isabelle/ML"],
wenzelm@64780
    89
                "extensions": [".ML", ".sml", ".sig"],
wenzelm@64752
    90
                "configuration": "./isabelle-ml-language.json"
wenzelm@64605
    91
            }
wenzelm@64749
    92
wenzelm@64605
    93
        ],
wenzelm@64749
    94
        "grammars": [
wenzelm@64749
    95
            {
wenzelm@64738
    96
                "language": "isabelle",
wenzelm@64738
    97
                "scopeName": "source.isabelle",
wenzelm@64738
    98
                "path": "./isabelle-grammar.json"
wenzelm@64749
    99
            },
wenzelm@64749
   100
            {
wenzelm@64749
   101
                "language": "isabelle-ml",
wenzelm@64749
   102
                "scopeName": "source.isabelle-ml",
wenzelm@64749
   103
                "path": "./isabelle-ml-grammar.json"
wenzelm@64749
   104
            }
wenzelm@64749
   105
        ],
wenzelm@64605
   106
        "configuration": {
wenzelm@64605
   107
            "title": "Isabelle",
wenzelm@64605
   108
            "properties": {
wenzelm@64605
   109
                "isabelle.home": {
wenzelm@64605
   110
                    "type": "string",
wenzelm@64605
   111
                    "default": "",
wenzelm@64755
   112
                    "description": "Main Isabelle directory (ISABELLE_HOME)."
wenzelm@64734
   113
                },
wenzelm@64743
   114
                "isabelle.args": {
wenzelm@64734
   115
                    "type": "array",
wenzelm@64734
   116
                    "items": { "type": "string" },
wenzelm@64734
   117
                    "default": [],
wenzelm@64755
   118
                    "description": "Command-line arguments for isabelle vscode_server process."
wenzelm@65104
   119
                },
wenzelm@65172
   120
                "isabelle.cygwin_root": {
wenzelm@65172
   121
                    "type": "string",
wenzelm@65172
   122
                    "default": "",
wenzelm@65172
   123
                    "description": "Cygwin installation on Windows (only relevant when running directly from the Isabelle repository)."
wenzelm@65172
   124
                },
wenzelm@65913
   125
                "isabelle.unprocessed_light_color": { "type": "string", "default": "rgba(255, 160, 160, 1.00)" },
wenzelm@65913
   126
                "isabelle.unprocessed_dark_color": { "type": "string", "default": "rgba(97, 0, 97, 1.00)" },
wenzelm@65104
   127
                "isabelle.unprocessed1_light_color": { "type": "string", "default": "rgba(255, 160, 160, 0.20)" },
wenzelm@65185
   128
                "isabelle.unprocessed1_dark_color": { "type": "string", "default": "rgba(97, 0, 97, 0.20)" },
wenzelm@65913
   129
                "isabelle.running_light_color": { "type": "string", "default": "rgba(97, 0, 97, 1.00)" },
wenzelm@65913
   130
                "isabelle.running_dark_color": { "type": "string", "default": "rgba(255, 160, 160, 1.00)" },
wenzelm@65177
   131
                "isabelle.running1_light_color": { "type": "string", "default": "rgba(97, 0, 97, 0.40)" },
wenzelm@65185
   132
                "isabelle.running1_dark_color": { "type": "string", "default": "rgba(255, 160, 160, 0.40)" },
wenzelm@65177
   133
                "isabelle.bad_light_color": { "type": "string", "default": "rgba(255, 106, 106, 0.40)" },
wenzelm@65177
   134
                "isabelle.bad_dark_color": { "type": "string", "default": "rgba(255, 106, 106, 0.40)" },
wenzelm@65177
   135
                "isabelle.intensify_light_color": { "type": "string", "default": "rgba(255, 204, 102, 0.40)" },
wenzelm@65177
   136
                "isabelle.intensify_dark_color": { "type": "string", "default": "rgba(204, 136, 0, 0.20)" },
wenzelm@65104
   137
                "isabelle.markdown_item1_light_color": { "type": "string", "default": "rgba(218, 254, 218, 1.00)" },
wenzelm@65177
   138
                "isabelle.markdown_item1_dark_color": { "type": "string", "default": "rgba(5, 199, 5, 0.20)" },
wenzelm@65104
   139
                "isabelle.markdown_item2_light_color": { "type": "string", "default": "rgba(255, 240, 204, 1.00)" },
wenzelm@65177
   140
                "isabelle.markdown_item2_dark_color": { "type": "string", "default": "rgba(204, 143, 0, 0.20)" },
wenzelm@65104
   141
                "isabelle.markdown_item3_light_color": { "type": "string", "default": "rgba(231, 231, 255, 1.00)" },
wenzelm@65177
   142
                "isabelle.markdown_item3_dark_color": { "type": "string", "default": "rgba(0, 0, 204, 0.20)" },
wenzelm@65104
   143
                "isabelle.markdown_item4_light_color": { "type": "string", "default": "rgba(255, 224, 240, 1.00)" },
wenzelm@65177
   144
                "isabelle.markdown_item4_dark_color": { "type": "string", "default": "rgba(204, 0, 105, 0.20)" },
wenzelm@65104
   145
                "isabelle.quoted_light_color": { "type": "string", "default": "rgba(139, 139, 139, 0.10)" },
wenzelm@65183
   146
                "isabelle.quoted_dark_color": { "type": "string", "default": "rgba(150, 150, 150, 0.15)" },
wenzelm@65104
   147
                "isabelle.antiquoted_light_color": { "type": "string", "default": "rgba(255, 200, 50, 0.10)" },
wenzelm@65183
   148
                "isabelle.antiquoted_dark_color": { "type": "string", "default": "rgba(255, 214, 102, 0.15)" },
wenzelm@65122
   149
                "isabelle.writeln_light_color": { "type": "string", "default": "rgba(192, 192, 192, 1.0)" },
wenzelm@65122
   150
                "isabelle.writeln_dark_color": { "type": "string", "default": "rgba(192, 192, 192, 1.0)" },
wenzelm@65122
   151
                "isabelle.information_light_color": { "type": "string", "default": "rgba(193, 223, 238, 1.0)" },
wenzelm@65134
   152
                "isabelle.information_dark_color": { "type": "string", "default": "rgba(193, 223, 238, 1.0)" },
wenzelm@65134
   153
                "isabelle.warning_light_color": { "type": "string", "default": "rgba(255, 140, 0, 1.0)" },
wenzelm@65142
   154
                "isabelle.warning_dark_color": { "type": "string", "default": "rgba(255, 140, 0, 1.0)" },
wenzelm@65913
   155
                "isabelle.error_light_color": { "type": "string", "default": "rgba(178, 34, 34, 1.00)" },
wenzelm@65913
   156
                "isabelle.error_dark_color": { "type": "string", "default": "rgba(178, 34, 34, 1.00)" },
wenzelm@65142
   157
                "isabelle.spell_checker_light_color": { "type": "string", "default": "rgba(0, 0, 255, 1.0)" },
wenzelm@65177
   158
                "isabelle.spell_checker_dark_color": { "type": "string", "default": "rgba(86, 156, 214, 1.00)" },
wenzelm@65181
   159
                "isabelle.main_light_color": { "type": "string", "default": "rgba(0, 0, 0, 1.00)" },
wenzelm@65181
   160
                "isabelle.main_dark_color": { "type": "string", "default": "rgba(212, 212, 212, 1.00)" },
wenzelm@65175
   161
                "isabelle.keyword1_light_color": { "type": "string", "default": "rgba(175, 0, 219, 1.00)" },
wenzelm@65175
   162
                "isabelle.keyword1_dark_color": { "type": "string", "default": "rgba(197, 134, 192, 1.00)" },
wenzelm@65175
   163
                "isabelle.keyword2_light_color": { "type": "string", "default": "rgba(9, 136, 90, 1.00)" },
wenzelm@65175
   164
                "isabelle.keyword2_dark_color": { "type": "string", "default": "rgba(181, 206, 168, 1.00)" },
wenzelm@65175
   165
                "isabelle.keyword3_light_color": { "type": "string", "default": "rgba(38, 127, 153, 1.00)" },
wenzelm@65175
   166
                "isabelle.keyword3_dark_color": { "type": "string", "default": "rgba(78, 201, 176), 1.00)" },
wenzelm@65146
   167
                "isabelle.quasi_keyword_light_color": { "type": "string", "default": "rgba(153, 102, 255, 1.00)" },
wenzelm@65146
   168
                "isabelle.quasi_keyword_dark_color": { "type": "string", "default": "rgba(153, 102, 255, 1.00)" },
wenzelm@65175
   169
                "isabelle.improper_light_color": { "type": "string", "default": "rgba(205, 49, 49, 1.00)" },
wenzelm@65175
   170
                "isabelle.improper_dark_color": { "type": "string", "default": "rgba(244, 71, 71, 1.00)" },
wenzelm@65146
   171
                "isabelle.operator_light_color": { "type": "string", "default": "rgba(50, 50, 50, 1.00)" },
wenzelm@65175
   172
                "isabelle.operator_dark_color": { "type": "string", "default": "rgba(212, 212, 212, 1.00)" },
wenzelm@65146
   173
                "isabelle.tfree_light_color": { "type": "string", "default": "rgba(160, 32, 240, 1.00)" },
wenzelm@65146
   174
                "isabelle.tfree_dark_color": { "type": "string", "default": "rgba(160, 32, 240, 1.00)" },
wenzelm@65146
   175
                "isabelle.tvar_light_color": { "type": "string", "default": "rgba(160, 32, 240, 1.00)" },
wenzelm@65146
   176
                "isabelle.tvar_dark_color": { "type": "string", "default": "rgba(160, 32, 240, 1.00)" },
wenzelm@65146
   177
                "isabelle.free_light_color": { "type": "string", "default": "rgba(0, 0, 255, 1.00)" },
wenzelm@65177
   178
                "isabelle.free_dark_color": { "type": "string", "default": "rgba(86, 156, 214, 1.00)" },
wenzelm@65146
   179
                "isabelle.skolem_light_color": { "type": "string", "default": "rgba(210, 105, 30, 1.00)" },
wenzelm@65146
   180
                "isabelle.skolem_dark_color": { "type": "string", "default": "rgba(210, 105, 30, 1.00)" },
wenzelm@65146
   181
                "isabelle.bound_light_color": { "type": "string", "default": "rgba(0, 128, 0, 1.00)" },
wenzelm@65177
   182
                "isabelle.bound_dark_color": { "type": "string", "default": "rgba(96, 139, 78, 1.00)" },
wenzelm@65177
   183
                "isabelle.var_light_color": { "type": "string", "default": "rgba(0, 16, 128, 1.00)" },
wenzelm@65177
   184
                "isabelle.var_dark_color": { "type": "string", "default": "rgba(156, 220, 254, 1.00)" },
wenzelm@65177
   185
                "isabelle.inner_numeral_light_color": { "type": "string", "default": "rgba(9, 136, 90, 1.00)" },
wenzelm@65177
   186
                "isabelle.inner_numeral_dark_color": { "type": "string", "default": "rgba(181, 206, 168, 1.00)" },
wenzelm@65177
   187
                "isabelle.inner_quoted_light_color": { "type": "string", "default": "rgba(163, 21, 21, 1.00)" },
wenzelm@65177
   188
                "isabelle.inner_quoted_dark_color": { "type": "string", "default": "rgba(206, 145, 120, 1.00)" },
wenzelm@65177
   189
                "isabelle.inner_cartouche_light_color": { "type": "string", "default": "rgba(129, 31, 63, 1.00)" },
wenzelm@65177
   190
                "isabelle.inner_cartouche_dark_color": { "type": "string", "default": "rgba(209, 105, 105, 1.00)" },
wenzelm@65177
   191
                "isabelle.inner_comment_light_color": { "type": "string", "default": "rgba(0, 128, 0, 1.00)" },
wenzelm@65177
   192
                "isabelle.inner_comment_dark_color": { "type": "string", "default": "rgba(96, 139, 78, 1.00)" },
wenzelm@65177
   193
                "isabelle.dynamic_light_color": { "type": "string", "default": "rgba(121, 94, 38, 1.00)" },
wenzelm@65177
   194
                "isabelle.dynamic_dark_color": { "type": "string", "default": "rgba(220, 220, 170, 1.00)" },
wenzelm@65146
   195
                "isabelle.class_parameter_light_color": { "type": "string", "default": "rgba(210, 105, 30, 1.00)" },
wenzelm@65146
   196
                "isabelle.class_parameter_dark_color": { "type": "string", "default": "rgba(210, 105, 30, 1.00)" },
wenzelm@65146
   197
                "isabelle.antiquote_light_color": { "type": "string", "default": "rgba(102, 0, 204, 1.00)" },
wenzelm@65177
   198
                "isabelle.antiquote_dark_color": { "type": "string", "default": "rgba(197, 134, 192, 1.00)" }
wenzelm@64605
   199
            }
wenzelm@64605
   200
        }
wenzelm@64605
   201
    },
wenzelm@64605
   202
    "scripts": {
wenzelm@64605
   203
        "vscode:prepublish": "tsc -p ./",
wenzelm@64605
   204
        "compile": "tsc -watch -p ./",
wenzelm@64605
   205
        "postinstall": "node ./node_modules/vscode/bin/install"
wenzelm@64605
   206
    },
wenzelm@64605
   207
    "devDependencies": {
wenzelm@65886
   208
        "typescript": "^2.3.2",
wenzelm@65886
   209
        "vscode": "^1.1.0",
wenzelm@65886
   210
        "mocha": "^3.4.1",
wenzelm@65886
   211
        "@types/node": "^7.0.21",
wenzelm@65886
   212
        "@types/mocha": "^2.2.41"
wenzelm@64605
   213
    },
wenzelm@64605
   214
    "dependencies": {
wenzelm@65886
   215
        "vscode-languageclient": "~3.2.2"
wenzelm@64605
   216
    }
wenzelm@65192
   217
}