-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
141 lines (141 loc) · 3.68 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
{
"name": "cargo-runner",
"displayName": "Cargo Runner",
"description": "#1 Rust Productivity Tool to quickly run , test, debug and bench your Rust project.",
"publisher": "masterustacean",
"icon": "images/icon.jpg",
"repository": {
"type": "git",
"url": "https://github.com/codeitlikemiley/cargo-runner"
},
"version": "1.5.6",
"engines": {
"vscode": "^1.85.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onLanguage:rust"
],
"main": "./dist/extension.js",
"contributes": {
"configuration": {
"title": "Cargo Runner",
"properties": {
"cargoRunner.prioritySymbolKinds": {
"type": "array",
"default": [
"Function",
"Enum",
"Struct",
"Object",
"Module"
],
"description": "Symbol kinds to prioritize for CodeLens actions",
"items": {
"type": "string",
"enum": [
"Module",
"Object",
"Struct",
"Enum",
"Function"
]
}
},
"cargoRunner.logLevel": {
"type": "string",
"default": "error",
"description": "Set the logging level for Cargo Runner",
"enum": [
"debug",
"info",
"error"
]
},
"cargoRunner.cargoHome": {
"type": "string",
"default": "",
"description": "Path to Cargo home directory. If not set, defaults to CARGO_HOME environment variable or ~/.cargo"
},
"cargoRunner.nextest.enable": {
"type": "boolean",
"default": false,
"description": "Enable cargo-nextest integration"
}
}
},
"taskDefinitions": [
{
"type": "cargo-runner",
"required": [
"command",
"title"
],
"properties": {
"command": {
"type": "string",
"description": "The cargo command to execute."
},
"title": {
"type": "string",
"description": "The title of the task."
}
}
}
],
"commands": [
{
"command": "cargo.runner",
"title": "Cargo Runner"
},
{
"command": "cargo.rust-analyzer.config",
"title": "Cargo Runner: Override Config"
}
],
"keybindings": [
{
"command": "cargo.runner",
"key": "ctrl+r",
"mac": "cmd+r",
"when": "resourceFilename =~ /\\.(rs)$/ && editorTextFocus && editorLangId == rust && editorHasDefinitionProvider"
},
{
"command": "cargo.rust-analyzer.config",
"key": "ctrl+shift+r",
"mac": "cmd+shift+r"
}
]
},
"scripts": {
"vscode:prepublish": "npm run package",
"compile": "webpack",
"watch": "webpack --watch",
"package": "webpack --mode production --devtool hidden-source-map",
"compile-tests": "tsc -p . --outDir out",
"watch-tests": "tsc -p . -w --outDir out",
"pretest": "npm run compile-tests && npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "vscode-test"
},
"devDependencies": {
"@types/mocha": "^10.0.6",
"@types/node": "^18.19.33",
"@types/vscode": "^1.85.0",
"@typescript-eslint/eslint-plugin": "^6.15.0",
"@typescript-eslint/parser": "^6.15.0",
"@vscode/test-cli": "^0.0.4",
"@vscode/test-electron": "^2.3.8",
"eslint": "^8.56.0",
"ts-loader": "^9.5.1",
"typescript": "^5.3.3",
"webpack": "^5.89.0",
"webpack-cli": "^5.1.4"
},
"dependencies": {
"@iarna/toml": "^2.2.5",
"@types/iarna__toml": "^2.0.5"
}
}