-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
100 lines (99 loc) · 2.5 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
{
"icon": "img/method-draw-image.png",
"repository": {
"type": "git",
"url": "https://github.com/weihongliang233/code-block"
},
"license": "MIT",
"publisher": "weihongliang233",
"name": "code-block",
"displayName": "Code Block",
"description": "It's an extension to split code into blocks. One can highlight current block, pass the text to other programs and so on.",
"version": "0.0.3",
"engines": {
"vscode": "^1.50.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onCommand:code-block.ChangeState"
],
"main": "./out/extension",
"contributes": {
"commands": [
{ "command": "code-block.ChangeState",
"title": "Change State"
},
{
"command": "code-block.navigateThroughBlocksUp",
"title": "Navigate Through Blocks Up"
},
{
"command": "code-block.navigateThroughBlocksDown",
"title": "Navigate Through Blocks Dwon"
},
{
"command": "code-block.selectCurrentBlock",
"title": "Select Current Block"
}
],
"keybindings":[
{
"command": "code-block.ChangeState",
"key": "alt+d"
},
{
"command":"code-block.navigateThroughBlocksUp",
"key":"alt+up"
},
{
"command":"code-block.navigateThroughBlocksDown",
"key":"alt+down"
},
{
"command": "code-block.selectCurrentBlock",
"key": "alt+s"
}
],
"configuration":{
"title": "Code Blocks",
"properties": {
"code-block.regularexpression":{
"type":"array",
"default":[
"matlab:^\\s*%+\\*+%+\\s*$",
"wolfram:\\(\\*\\s\\s\\*\\)"
],
"description": "Specifies the regular expression used to split the code file into blocks"
},
"code-block.color":{
"type":"string",
"default":"#ac72dba8",
"description": "Specifies the backgroud color used to highlight the current block. One can select the #RGBA color in other cofigurations in settings.json, because this extension configuration doesn't provide a color picker. "
}
}
}
},
"scripts": {
"vscode:prepublish": "yarn run compile",
"compile": "tsc -p ./",
"lint": "eslint src --ext ts",
"watch": "tsc -watch -p ./",
"pretest": "yarn run compile && yarn run lint",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/vscode": "^1.50.0",
"@types/glob": "^7.1.1",
"@types/mocha": "^7.0.2",
"@types/node": "^13.11.0",
"eslint": "^6.8.0",
"@typescript-eslint/parser": "^2.30.0",
"@typescript-eslint/eslint-plugin": "^2.30.0",
"glob": "^7.1.6",
"mocha": "^7.1.2",
"typescript": "^3.8.3",
"vscode-test": "^1.3.0"
}
}