aboutsummaryrefslogtreecommitdiff
path: root/editors/vscode/package.json
blob: c3bb0d920a1a5cba05f267b2462b09e2b70844f7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
{
  "name": "zc-language-support",
  "displayName": "TinyVM ZC Language Support",
  "description": "Language server for ZC in TinyVM: the compiler's own errors, optimization hints, hover docs and highlighting. runs in the extension, no install needed. see the ZC Language Server output for logs.",
  "version": "3.3.0",
  "publisher": "tinyvm",
  "engines": {
    "vscode": "^1.75.0"
  },
  "categories": [
    "Programming Languages"
  ],
  "keywords": [
    "zc",
    "tinyvm",
    "zygote",
    "compiler",
    "lifetimes"
  ],
  "activationEvents": [
    "onLanguage:zc"
  ],
  "main": "./client/extension.js",
  "contributes": {
    "languages": [
      {
        "id": "zc",
        "aliases": [
          "ZC",
          "zc",
          "Zygote C"
        ],
        "extensions": [
          ".zc"
        ],
        "configuration": "./language-configuration.json"
      }
    ],
    "grammars": [
      {
        "language": "zc",
        "scopeName": "source.zc",
        "path": "./syntaxes/zc.tmLanguage.json"
      }
    ],
    "semanticTokenScopes": [
      {
        "language": "zc",
        "scopes": {
          "keyword": [
            "keyword.control.zc"
          ],
          "type": [
            "entity.name.type.zc",
            "storage.type.zc"
          ],
          "function": [
            "entity.name.function.zc"
          ],
          "variable": [
            "variable.name.zc"
          ],
          "string": [
            "string.quoted.double.zc"
          ],
          "number": [
            "constant.numeric.zc"
          ],
          "operator": [
            "keyword.operator.zc"
          ],
          "comment": [
            "comment.line.double-slash.zc"
          ],
          "parameter": [
            "variable.parameter.zc"
          ],
          "property": [
            "variable.other.property.zc"
          ],
          "macro": [
            "entity.name.function.macro.zc"
          ],
          "enumMember": [
            "variable.other.enummember.zc"
          ]
        }
      }
    ],
    "configuration": {
      "type": "object",
      "title": "ZC Language Server",
      "properties": {
        "zc.lsp.serverPath": {
          "type": "string",
          "default": "",
          "description": "Optional. A native zclsp executable to use instead of the built-in server (build it with src/tools/mklsp.sh). Empty runs the server inside the extension."
        },
        "zc.trace.server": {
          "type": "string",
          "enum": [
            "off",
            "messages",
            "verbose"
          ],
          "default": "messages",
          "enumDescriptions": [
            "log only problems",
            "log each request and response with its time (default)",
            "also log the bodies of messages"
          ],
          "description": "How much the zc language server logs to the ZC Language Server output channel."
        }
      }
    },
    "commands": [
      {
        "command": "zc.showLog",
        "title": "zc: show language server log"
      },
      {
        "command": "zc.restart",
        "title": "zc: restart language server"
      }
    ]
  }
}