forked from calalalizade/vscode-cargo-toolset
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
126 lines (126 loc) · 4.18 KB
/
package.json
File metadata and controls
126 lines (126 loc) · 4.18 KB
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
{
"name": "cargo-dockside",
"displayName": "Cargo Dockside",
"publisher": "nerditation",
"description": "shortcuts for various cargo subcommands in vscode sidebar.",
"icon": "media/logo.png",
"version": "0.101.2",
"engines": {
"vscode": "^1.92.0"
},
"categories": [
"Programming Languages",
"Other"
],
"repository": {
"type": "git",
"url": "https://github.com/nerditation/cargo-dockside"
},
"activationEvents": [
"onCommand"
],
"main": "./out/extension.js",
"contributes": {
"viewsContainers": {
"activitybar": [
{
"id": "rustToolbar",
"title": "Cargo Dockside",
"icon": "media/rust.png"
}
]
},
"views": {
"rustToolbar": [
{
"type": "webview",
"id": "rust-toolbar.toolbarView",
"name": "Cargo Toolset"
}
]
},
"commands": [
{
"command": "cargo-dockside.--open-folder-wrapper",
"title": "a wrapper for `vscode.openFolder`, INTERNAL USE ONLY"
},
{
"command": "cargo-dockside.clear-history",
"title": "Cargo Dockside: Clear the Recently Used Commands History"
},
{
"command": "cargo-dockside.rerun-from-history",
"title": "Cargo Dockside: Rerun a Recent Command"
}
],
"configuration": {
"title": "Cargo Dockside",
"properties": {
"rust-toolbar.cargoCmdPrefix": {
"type": "string",
"default": "cargo",
"description": "The command prefix to use for Cargo commands (e.g., 'cargo' or 'cross')"
},
"rust-toolbar.useShell": {
"type": "boolean",
"default": true,
"examples": [
true,
false
],
"markdownDescription": "Whether to run the cargo command through the default shell, e.g. as configured with `terminal.integrated.defaultProfile.linux`.\n\n**NOTE**: if this is set to `false`, you might need to specify the full path to cargo for `rust-toolbar.cargoCmdPrefix`, e.g. '${userHome}/.cargo/.bin/cargo'.\n\nalso note, until [#140056](https://github.com/microsoft/vscode/issues/140056) is solved or new APIs are introduced, variables are not supported, however, my experience seems to indicate `${userHome}` might be a special case."
},
"rust-toolbar.confirmationMode": {
"default": "quickpick",
"type": "string",
"description": "some commands have steps that want user confirmations, this setting controls the how confirmations are presented to users",
"enum": [
"quickpick",
"notification",
"silent"
],
"enumDescriptions": [
"show confirmation as a quick pick input, faster for keyboard users",
"show confirmation as a notification, more nature for mouse users",
"do NOT confirm interactively, default action will be taken"
]
},
"rust-toolbar.frequentlyUsedCommandSaved": {
"type": "number",
"default": 10,
"description": "how many frequently used commands to save in the extension storage"
},
"rust-toolbar.frequentlyUsedCommandDisplayed": {
"type": "number",
"default": 3,
"description": "how many frequently used commands to display in the toolbar"
}
}
}
},
"packageManager": "pnpm@9.15.0",
"scripts": {
"generate-commands": "node generate-commands.js",
"vscode:prepublish": "pnpm run generate-commands && pnpm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "pnpm run compile && pnpm run lint",
"lint": "eslint src --ext ts",
"test": "vscode-test",
"package": "vsce package --no-dependencies",
"publish": "ovsx publish *.vsix"
},
"devDependencies": {
"@types/vscode": "^1.92.0",
"@types/mocha": "^10.0.7",
"@types/node": "20.x",
"@typescript-eslint/eslint-plugin": "^7.14.1",
"@typescript-eslint/parser": "^7.11.0",
"eslint": "^8.57.0",
"typescript": "^5.4.5",
"@vscode/test-cli": "^0.0.9",
"@vscode/test-electron": "^2.4.0",
"@vscode/vsce": "^3.3.0",
"ovsx": "^0.10.1"
}
}