package.json raw
1 {
2 "name": "moxie-lang",
3 "displayName": "Moxie Language Support",
4 "description": "Moxie (.mx): syntax highlighting, snippets, diagnostics from `moxie build`, completion, hover and go-to-definition.",
5 "version": "1.1.0",
6 "publisher": "mleku",
7 "license": "MIT",
8 "engines": {
9 "vscode": "^1.75.0"
10 },
11 "categories": [
12 "Programming Languages"
13 ],
14 "keywords": [
15 "moxie",
16 "mx"
17 ],
18 "main": "./src/extension.js",
19 "activationEvents": [
20 "onLanguage:moxie"
21 ],
22 "contributes": {
23 "languages": [
24 {
25 "id": "moxie",
26 "aliases": [
27 "Moxie",
28 "moxie",
29 "mx"
30 ],
31 "extensions": [
32 ".mx"
33 ],
34 "configuration": "./language-configuration.json"
35 }
36 ],
37 "grammars": [
38 {
39 "language": "moxie",
40 "scopeName": "source.moxie",
41 "path": "./syntaxes/moxie.tmLanguage.json"
42 }
43 ],
44 "snippets": [
45 {
46 "language": "moxie",
47 "path": "./snippets/moxie.json"
48 }
49 ],
50 "configuration": {
51 "title": "Moxie",
52 "properties": {
53 "moxie.path": {
54 "type": "string",
55 "default": "moxie",
56 "description": "The moxie compiler to run. May be an absolute path to a tree's ./moxie."
57 },
58 "moxie.moxieRoot": {
59 "type": "string",
60 "default": "",
61 "description": "MOXIEROOT for the compiler. Empty means the workspace folder."
62 },
63 "moxie.buildOnSave": {
64 "type": "boolean",
65 "default": true,
66 "description": "Run `moxie build` on save and report its errors as diagnostics."
67 },
68 "moxie.buildFlags": {
69 "type": "array",
70 "items": {
71 "type": "string"
72 },
73 "default": [],
74 "description": "Extra flags for the diagnostics build (e.g. -allow-closure-captures)."
75 },
76 "moxie.trace": {
77 "type": "string",
78 "default": "off",
79 "enum": [
80 "off",
81 "messages",
82 "verbose"
83 ],
84 "description": "Trace the language client's build invocations into the Moxie output channel."
85 }
86 }
87 },
88 "commands": [
89 {
90 "command": "moxie.build",
91 "title": "Moxie: Build the package and report diagnostics",
92 "category": "Moxie"
93 }
94 ],
95 "keybindings": [
96 {
97 "command": "moxie.build",
98 "key": "ctrl+alt+b",
99 "mac": "cmd+alt+b",
100 "when": "editorLangId == moxie"
101 }
102 ]
103 }
104 }
105