-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
148 lines (148 loc) · 4.39 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
{
"name": "binocular",
"displayName": "Binocular",
"publisher": "jpcrs",
"description": "Not exactly a telescope, but it's useful sometimes. Extension to search/navigate through files and workspaces.",
"icon": "images/binocular.png",
"repository": {
"url": "https://github.com/jpcrs/Binocular"
},
"version": "0.0.7",
"engines": {
"vscode": "^1.79.0"
},
"keywords": [
"binocular",
"telescope",
"fzf",
"ripgrep",
"grep",
"fuzzy finder",
"search",
"workspace"
],
"categories": [
"Other"
],
"activationEvents": [
"onCommand:binocular.searchFile",
"onCommand:binocular.searchFileContent",
"onCommand:binocular.searchDirectory",
"onCommand:binocular.searchFileConfiguredFolders",
"onCommand:binocular.searchContentConfiguredFolders",
"onCommand:binocular.searchDirectoryConfiguredFolders",
"onCommand:binocular.searchGitFoldersConfiguredFolders",
"onCommand:binocular.searchFileHistory",
"onCommand:binocular.searchErrors",
"onCommand:binocular.searchWarnings",
"onCommand:binocular.searchHints"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "binocular.searchFile",
"title": "Binocular: Search by file name"
},
{
"command": "binocular.searchFileContent",
"title": "Binocular: Search by file content"
},
{
"command": "binocular.searchDirectory",
"title": "Binocular: Search by directory name"
},
{
"command": "binocular.searchFileConfiguredFolders",
"title": "Binocular: Search by file name in configured folders"
},
{
"command": "binocular.searchContentConfiguredFolders",
"title": "Binocular: Search by file content in configured folders"
},
{
"command": "binocular.searchDirectoryConfiguredFolders",
"title": "Binocular: Search by directory name in configured folders"
},
{
"command": "binocular.searchFileHistory",
"title": "Binocular: Search file history"
},
{
"command": "binocular.searchGitFoldersConfiguredFolders",
"title": "Binocular: Search git folders in configured folders"
},
{
"command": "binocular.searchErrors",
"title": "Binocular: View errors"
},
{
"command": "binocular.searchWarnings",
"title": "Binocular: View warnings"
},
{
"command": "binocular.searchHints",
"title": "Binocular: View Hints"
},
{
"command": "binocular.customCommands",
"title": "Binocular: Execute Custom Commands"
}
],
"configuration": {
"title": "Binocular",
"properties": {
"binocular.general.keepTerminalPanelOpenAfterExecution": {
"description": "Keep the terminal pane open after the command is executed",
"markdownDescription": "Keep the terminal pane open after the command is executed",
"type": "boolean",
"default": false
},
"binocular.general.additionalSearchLocations": {
"description": "Additional search locations",
"markdownDescription": "Search for files in these locations",
"type": "array",
"default": []
},
"binocular.command.commands": {
"description": "Commands",
"type": "array",
"default": [
{
"shellCommand": "git checkout $(git fuzzy log)",
"commandIdentifier": "Git fuzzy log"
},
{
"shellCommand": "git checkout $(git fuzzy log ${file})",
"commandIdentifier": "Git fuzzy log current file"
}
]
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js",
"package": "vsce package",
"deploy": "vsce publish -p"
},
"devDependencies": {
"@types/vscode": "^1.79.0",
"@types/glob": "^8.0.0",
"@types/mocha": "^10.0.1",
"@types/node": "16.x",
"@typescript-eslint/eslint-plugin": "^5.45.0",
"@typescript-eslint/parser": "^5.45.0",
"eslint": "^8.28.0",
"vsce": "^2.15.0",
"glob": "^8.0.3",
"mocha": "^10.1.0",
"typescript": "^4.9.3",
"@vscode/test-electron": "^2.2.0"
}
}