forked from yhirose/vscode-filtertext
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
124 lines (124 loc) · 3.51 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
{
"name": "FilterText",
"displayName": "Filter Text",
"description": "Filter selected text through an external shell command.",
"version": "0.0.15",
"publisher": "yhirose",
"icon": "images/icon.png",
"engines": {
"vscode": "^1.15.0"
},
"categories": [
"Other"
],
"bugs": {
"url": "https://github.com/yhirose/vscode-filtertext/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/yhirose/vscode-filtertext.git"
},
"activationEvents": [
"onCommand:extension.filterTextInplace",
"onCommand:extension.filterText",
"onCommand:extension.filterPredefined"
],
"main": "./out/src/extension",
"contributes": {
"configuration": {
"title": "Filter Text configuration",
"properties": {
"filterText.useDocumentIfEmptySelection": {
"type": "boolean",
"default": true,
"description": "If no text is selected, filter the entire document."
},
"filterText.invokeViaBash.windows": {
"type": "boolean",
"default": false,
"description": "Whether to invoke filter command via bash on windows."
},
"filterText.bashPath.windows": {
"type": "string",
"default": "C:/cygwin/bin/bash.exe",
"description": "Path of the bash to use. Default to Cygwin's path."
},
"filterText.useDocumentDirAsWorkDir": {
"type": "boolean",
"default": false,
"description": "Always use the path of the current file as the current working dir instead of the heuristic."
},
"filterText.commandList": {
"type": "array",
"items": {
"type": "object",
"title": "inner objects",
"properties": {
"name": {
"type": "string",
"description": "The name of the command entry."
},
"description": {
"type": "string",
"description": "Description of the command."
},
"command": {
"type": "string",
"description": "The actual command to invoke, e.g. sort | uniq."
}
}
},
"description": "List of predefined commands"
}
}
},
"commands": [
{
"command": "extension.filterTextInplace",
"title": "Filter text in-place",
"category": "FilterText"
},
{
"command": "extension.filterPredefined",
"title": "Run predefined filter",
"category": "FilterText"
},
{
"command": "extension.filterText",
"title": "Run filter through selected text",
"category": "FilterText"
}
],
"keybindings": [
{
"key": "ctrl+k ctrl+f",
"mac": "cmd+k cmd+f",
"command": "extension.filterTextInplace",
"when": "editorTextFocus"
}
]
},
"scripts": {
"vscode:prepublish": "tsc -p ./",
"compile": "tsc -watch -p ./",
"postinstall": "node ./node_modules/vscode/bin/install"
},
"devDependencies": {
"@types/mocha": "^2.2.32",
"@types/node": "^6.0.40",
"eslint": ">=4.18.2",
"mocha": "^6.2.0",
"typescript": "^2.0.3",
"vscode": "^1.1.35"
},
"dependencies": {
"glob": "^7.1.2",
"shell-quote": "^1.4.3",
"which": "^1.3.0"
},
"__metadata": {
"id": "2237d2e2-66ac-49e1-9ada-154769f284ff",
"publisherDisplayName": "yhirose",
"publisherId": "eefed3c5-a26e-4c16-af79-9f8b128706af"
}
}