src/Tools/VSCode/extension/package.json
author wenzelm
Wed May 31 20:33:26 2017 +0200 (2017-05-31)
changeset 65986 d2b2f08533c5
parent 65985 1be7135917a6
child 66002 c85f677cfb0a
permissions -rw-r--r--
added update operation;
     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-split",
    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-update",
    40                 "title": "Update Preview",
    41                 "category": "Isabelle",
    42                 "icon": {
    43                     "light": "./media/Preview.svg",
    44                     "dark": "./media/Preview_inverse.svg"
    45                 }
    46             },
    47             {
    48                 "command": "isabelle.preview-split",
    49                 "title": "Open Preview (Split Editor)",
    50                 "category": "Isabelle",
    51                 "icon": {
    52                     "light": "./media/PreviewOnRightPane_16x.svg",
    53                     "dark": "./media/PreviewOnRightPane_16x_dark.svg"
    54                 }
    55             },
    56             {
    57                 "command": "isabelle.preview-source",
    58                 "title": "Show Source",
    59                 "category": "Isabelle",
    60                 "icon": {
    61                     "light": "./media/ViewSource.svg",
    62                     "dark": "./media/ViewSource_inverse.svg"
    63                 }
    64             }
    65         ],
    66         "menus": {
    67             "editor/title": [
    68                 {
    69                     "when": "editorLangId == isabelle",
    70                     "command": "isabelle.preview-split",
    71                     "alt": "isabelle.preview",
    72                     "group": "navigation"
    73                 },
    74                 {
    75                     "when": "resourceScheme == isabelle-preview",
    76                     "command": "isabelle.preview-update",
    77                     "group": "navigation"
    78                 },
    79                 {
    80                     "when": "resourceScheme == isabelle-preview",
    81                     "command": "isabelle.preview-source",
    82                     "group": "navigation"
    83                 }
    84             ],
    85             "explorer/context": [
    86                 {
    87                     "when": "resourceLangId == isabelle",
    88                     "command": "isabelle.preview",
    89                     "group": "navigation"
    90                 }
    91             ]
    92         },
    93         "languages": [
    94             {
    95                 "id": "isabelle",
    96                 "aliases": ["Isabelle"],
    97                 "extensions": [".thy"],
    98                 "configuration": "./isabelle-language.json"
    99             },
   100             {
   101                 "id": "isabelle-ml",
   102                 "aliases": ["Isabelle/ML"],
   103                 "extensions": [".ML", ".sml", ".sig"],
   104                 "configuration": "./isabelle-ml-language.json"
   105             }
   106 
   107         ],
   108         "grammars": [
   109             {
   110                 "language": "isabelle",
   111                 "scopeName": "source.isabelle",
   112                 "path": "./isabelle-grammar.json"
   113             },
   114             {
   115                 "language": "isabelle-ml",
   116                 "scopeName": "source.isabelle-ml",
   117                 "path": "./isabelle-ml-grammar.json"
   118             }
   119         ],
   120         "configuration": {
   121             "title": "Isabelle",
   122             "properties": {
   123                 "isabelle.home": {
   124                     "type": "string",
   125                     "default": "",
   126                     "description": "Main Isabelle directory (ISABELLE_HOME)."
   127                 },
   128                 "isabelle.args": {
   129                     "type": "array",
   130                     "items": { "type": "string" },
   131                     "default": [],
   132                     "description": "Command-line arguments for isabelle vscode_server process."
   133                 },
   134                 "isabelle.cygwin_root": {
   135                     "type": "string",
   136                     "default": "",
   137                     "description": "Cygwin installation on Windows (only relevant when running directly from the Isabelle repository)."
   138                 },
   139                 "isabelle.unprocessed_light_color": { "type": "string", "default": "rgba(255, 160, 160, 1.00)" },
   140                 "isabelle.unprocessed_dark_color": { "type": "string", "default": "rgba(97, 0, 97, 1.00)" },
   141                 "isabelle.unprocessed1_light_color": { "type": "string", "default": "rgba(255, 160, 160, 0.20)" },
   142                 "isabelle.unprocessed1_dark_color": { "type": "string", "default": "rgba(97, 0, 97, 0.20)" },
   143                 "isabelle.running_light_color": { "type": "string", "default": "rgba(97, 0, 97, 1.00)" },
   144                 "isabelle.running_dark_color": { "type": "string", "default": "rgba(255, 160, 160, 1.00)" },
   145                 "isabelle.running1_light_color": { "type": "string", "default": "rgba(97, 0, 97, 0.40)" },
   146                 "isabelle.running1_dark_color": { "type": "string", "default": "rgba(255, 160, 160, 0.40)" },
   147                 "isabelle.bad_light_color": { "type": "string", "default": "rgba(255, 106, 106, 0.40)" },
   148                 "isabelle.bad_dark_color": { "type": "string", "default": "rgba(255, 106, 106, 0.40)" },
   149                 "isabelle.intensify_light_color": { "type": "string", "default": "rgba(255, 204, 102, 0.40)" },
   150                 "isabelle.intensify_dark_color": { "type": "string", "default": "rgba(204, 136, 0, 0.20)" },
   151                 "isabelle.markdown_item1_light_color": { "type": "string", "default": "rgba(218, 254, 218, 1.00)" },
   152                 "isabelle.markdown_item1_dark_color": { "type": "string", "default": "rgba(5, 199, 5, 0.20)" },
   153                 "isabelle.markdown_item2_light_color": { "type": "string", "default": "rgba(255, 240, 204, 1.00)" },
   154                 "isabelle.markdown_item2_dark_color": { "type": "string", "default": "rgba(204, 143, 0, 0.20)" },
   155                 "isabelle.markdown_item3_light_color": { "type": "string", "default": "rgba(231, 231, 255, 1.00)" },
   156                 "isabelle.markdown_item3_dark_color": { "type": "string", "default": "rgba(0, 0, 204, 0.20)" },
   157                 "isabelle.markdown_item4_light_color": { "type": "string", "default": "rgba(255, 224, 240, 1.00)" },
   158                 "isabelle.markdown_item4_dark_color": { "type": "string", "default": "rgba(204, 0, 105, 0.20)" },
   159                 "isabelle.quoted_light_color": { "type": "string", "default": "rgba(139, 139, 139, 0.10)" },
   160                 "isabelle.quoted_dark_color": { "type": "string", "default": "rgba(150, 150, 150, 0.15)" },
   161                 "isabelle.antiquoted_light_color": { "type": "string", "default": "rgba(255, 200, 50, 0.10)" },
   162                 "isabelle.antiquoted_dark_color": { "type": "string", "default": "rgba(255, 214, 102, 0.15)" },
   163                 "isabelle.writeln_light_color": { "type": "string", "default": "rgba(192, 192, 192, 1.0)" },
   164                 "isabelle.writeln_dark_color": { "type": "string", "default": "rgba(192, 192, 192, 1.0)" },
   165                 "isabelle.information_light_color": { "type": "string", "default": "rgba(193, 223, 238, 1.0)" },
   166                 "isabelle.information_dark_color": { "type": "string", "default": "rgba(193, 223, 238, 1.0)" },
   167                 "isabelle.warning_light_color": { "type": "string", "default": "rgba(255, 140, 0, 1.0)" },
   168                 "isabelle.warning_dark_color": { "type": "string", "default": "rgba(255, 140, 0, 1.0)" },
   169                 "isabelle.error_light_color": { "type": "string", "default": "rgba(178, 34, 34, 1.00)" },
   170                 "isabelle.error_dark_color": { "type": "string", "default": "rgba(178, 34, 34, 1.00)" },
   171                 "isabelle.spell_checker_light_color": { "type": "string", "default": "rgba(0, 0, 255, 1.0)" },
   172                 "isabelle.spell_checker_dark_color": { "type": "string", "default": "rgba(86, 156, 214, 1.00)" },
   173                 "isabelle.main_light_color": { "type": "string", "default": "rgba(0, 0, 0, 1.00)" },
   174                 "isabelle.main_dark_color": { "type": "string", "default": "rgba(212, 212, 212, 1.00)" },
   175                 "isabelle.keyword1_light_color": { "type": "string", "default": "rgba(175, 0, 219, 1.00)" },
   176                 "isabelle.keyword1_dark_color": { "type": "string", "default": "rgba(197, 134, 192, 1.00)" },
   177                 "isabelle.keyword2_light_color": { "type": "string", "default": "rgba(9, 136, 90, 1.00)" },
   178                 "isabelle.keyword2_dark_color": { "type": "string", "default": "rgba(181, 206, 168, 1.00)" },
   179                 "isabelle.keyword3_light_color": { "type": "string", "default": "rgba(38, 127, 153, 1.00)" },
   180                 "isabelle.keyword3_dark_color": { "type": "string", "default": "rgba(78, 201, 176), 1.00)" },
   181                 "isabelle.quasi_keyword_light_color": { "type": "string", "default": "rgba(153, 102, 255, 1.00)" },
   182                 "isabelle.quasi_keyword_dark_color": { "type": "string", "default": "rgba(153, 102, 255, 1.00)" },
   183                 "isabelle.improper_light_color": { "type": "string", "default": "rgba(205, 49, 49, 1.00)" },
   184                 "isabelle.improper_dark_color": { "type": "string", "default": "rgba(244, 71, 71, 1.00)" },
   185                 "isabelle.operator_light_color": { "type": "string", "default": "rgba(50, 50, 50, 1.00)" },
   186                 "isabelle.operator_dark_color": { "type": "string", "default": "rgba(212, 212, 212, 1.00)" },
   187                 "isabelle.tfree_light_color": { "type": "string", "default": "rgba(160, 32, 240, 1.00)" },
   188                 "isabelle.tfree_dark_color": { "type": "string", "default": "rgba(160, 32, 240, 1.00)" },
   189                 "isabelle.tvar_light_color": { "type": "string", "default": "rgba(160, 32, 240, 1.00)" },
   190                 "isabelle.tvar_dark_color": { "type": "string", "default": "rgba(160, 32, 240, 1.00)" },
   191                 "isabelle.free_light_color": { "type": "string", "default": "rgba(0, 0, 255, 1.00)" },
   192                 "isabelle.free_dark_color": { "type": "string", "default": "rgba(86, 156, 214, 1.00)" },
   193                 "isabelle.skolem_light_color": { "type": "string", "default": "rgba(210, 105, 30, 1.00)" },
   194                 "isabelle.skolem_dark_color": { "type": "string", "default": "rgba(210, 105, 30, 1.00)" },
   195                 "isabelle.bound_light_color": { "type": "string", "default": "rgba(0, 128, 0, 1.00)" },
   196                 "isabelle.bound_dark_color": { "type": "string", "default": "rgba(96, 139, 78, 1.00)" },
   197                 "isabelle.var_light_color": { "type": "string", "default": "rgba(0, 16, 128, 1.00)" },
   198                 "isabelle.var_dark_color": { "type": "string", "default": "rgba(156, 220, 254, 1.00)" },
   199                 "isabelle.inner_numeral_light_color": { "type": "string", "default": "rgba(9, 136, 90, 1.00)" },
   200                 "isabelle.inner_numeral_dark_color": { "type": "string", "default": "rgba(181, 206, 168, 1.00)" },
   201                 "isabelle.inner_quoted_light_color": { "type": "string", "default": "rgba(163, 21, 21, 1.00)" },
   202                 "isabelle.inner_quoted_dark_color": { "type": "string", "default": "rgba(206, 145, 120, 1.00)" },
   203                 "isabelle.inner_cartouche_light_color": { "type": "string", "default": "rgba(129, 31, 63, 1.00)" },
   204                 "isabelle.inner_cartouche_dark_color": { "type": "string", "default": "rgba(209, 105, 105, 1.00)" },
   205                 "isabelle.inner_comment_light_color": { "type": "string", "default": "rgba(0, 128, 0, 1.00)" },
   206                 "isabelle.inner_comment_dark_color": { "type": "string", "default": "rgba(96, 139, 78, 1.00)" },
   207                 "isabelle.dynamic_light_color": { "type": "string", "default": "rgba(121, 94, 38, 1.00)" },
   208                 "isabelle.dynamic_dark_color": { "type": "string", "default": "rgba(220, 220, 170, 1.00)" },
   209                 "isabelle.class_parameter_light_color": { "type": "string", "default": "rgba(210, 105, 30, 1.00)" },
   210                 "isabelle.class_parameter_dark_color": { "type": "string", "default": "rgba(210, 105, 30, 1.00)" },
   211                 "isabelle.antiquote_light_color": { "type": "string", "default": "rgba(102, 0, 204, 1.00)" },
   212                 "isabelle.antiquote_dark_color": { "type": "string", "default": "rgba(197, 134, 192, 1.00)" }
   213             }
   214         }
   215     },
   216     "scripts": {
   217         "vscode:prepublish": "tsc -p ./",
   218         "compile": "tsc -watch -p ./",
   219         "postinstall": "node ./node_modules/vscode/bin/install"
   220     },
   221     "devDependencies": {
   222         "typescript": "^2.3.2",
   223         "vscode": "^1.1.0",
   224         "mocha": "^3.4.1",
   225         "@types/node": "^7.0.21",
   226         "@types/mocha": "^2.2.41"
   227     },
   228     "dependencies": {
   229         "vscode-languageclient": "~3.2.2"
   230     }
   231 }