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