forked from pragmagic/vscode-nim
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
157 lines (157 loc) · 4.84 KB
/
package.json
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
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
{
"name": "nim",
"displayName": "Nim",
"description": "Nim language support for Visual Studio Code",
"version": "0.5.26",
"publisher": "kosz78",
"author": {
"name": "Xored Software Inc."
},
"license": "MIT",
"icon": "images/nim_icon.png",
"homepage": "https://github.com/pragmagic/vscode-nim/blob/master/README.md",
"categories": [
"Languages",
"Linters"
],
"galleryBanner": {
"color": "#2C2A35",
"theme": "dark"
},
"repository": {
"type": "git",
"url": "https://github.com/pragmagic/vscode-nim.git"
},
"bugs": {
"url": "https://github.com/pragmagic/vscode-nim/issues"
},
"scripts": {
"vscode:prepublish": "tsc -p ./",
"compile": "tsc -watch -p ./",
"postinstall": "node ./node_modules/vscode/bin/install",
"lint": "node ./node_modules/tslint/bin/tslint ./src/*.ts ./test/*.ts"
},
"dependencies": {
"nedb": "1.8.0"
},
"devDependencies": {
"typescript": "^2.0.3",
"vscode": "^1.0.0",
"mocha": "^2.3.3",
"tslint": "^4.3.1",
"@types/node": "^6.0.40",
"@types/mocha": "^2.2.32"
},
"engines": {
"vscode": "^1.7.0"
},
"activationEvents": [
"onLanguage:nim",
"onLanguage:nimcfg",
"onLanguage:nimble",
"onCommand:nim.build",
"onCommand:nim.run",
"onCommand:nim.runTest"
],
"main": "./out/src/nimMain",
"contributes": {
"languages": [
{
"id": "nim",
"aliases": ["Nim", "nim"],
"extensions": [".nim", ".nims", "nim.cfg", ".nim.cfg"],
"configuration": "./nimcfg.json"
},
{
"id": "nimble",
"aliases": ["Nimble", "nimble"],
"extensions": [".nimble"],
"configuration": "./nimcfg.json"
}
],
"grammars": [
{
"language": "nim",
"scopeName": "source.nim",
"path": "./syntaxes/nim.json"
},
{
"language": "nimble",
"scopeName": "source.nimble",
"path": "./syntaxes/nimble.json"
}
],
"commands": [
{
"command": "nim.run.file",
"title": "Nim: Run selected file"
}
],
"menus": {
"editor/context": [{
"when": "editorLangId == 'nim'",
"command": "nim.run.file",
"group": "run@1"
}]
},
"keybindings": [
{
"key": "F6",
"command": "nim.run.file",
"when": "editorLangId == 'nim'"
}
],
"configuration": {
"type": "object",
"title": "Nim configuration",
"properties": {
"nim.project": {
"type": "array",
"default": [],
"description": "Nim project file, if empty use current selected."
},
"nim.test-project": {
"type": "string",
"default": "",
"description": "Optional test project."
},
"nim.buildOnSave": {
"type": "boolean",
"default": false,
"description": "Execute build task from tasks.json file on save."
},
"nim.buildCommand": {
"type": "string",
"default": "c",
"description": "Nim build command (c, cpp, doc, etc)"
},
"nim.runOutputDirectory": {
"type": "string",
"default": "",
"description": "Output directory for run selected file command. The directory is relative to the workspace root."
},
"nim.lintOnSave": {
"type": "boolean",
"default": true,
"description": "Check code by using 'nim check' on save."
},
"nim.logNimsuggest": {
"type": "boolean",
"default": false,
"description": "Enable verbose logging of nimsuggest to use profile directory."
},
"nim.licenseString": {
"type": "string",
"default": "",
"description": "Optional license text that will be inserted on nim file creation."
}
}
},
"snippets": [
{
"language": "nim",
"path": "./snippets/nim.json"
}
]
}
}