-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
157 lines (157 loc) · 4.77 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
149
150
151
152
153
154
155
156
157
{
"name": "find-and-jump",
"displayName": "Find & Jump",
"description": "Easy way to find text, jump to it and cycle through matches, directly in your active editor window.",
"version": "0.0.9",
"publisher": "bennettdams",
"engines": {
"vscode": "^1.81.0"
},
"categories": [
"Other"
],
"repository": {
"type": "git",
"url": "https://github.com/bennettdams/find-and-jump.git"
},
"keywords": [
"find",
"jump",
"cycle",
"code navigation",
"navigation"
],
"icon": "images/logo-find-and-jump.png",
"preview": true,
"activationEvents": [],
"main": "./out/main.js",
"contributes": {
"configuration": {
"title": "Find & Jump",
"properties": {
"findAndJump.caseSensitiveSearch": {
"type": "boolean",
"default": false,
"description": "Use case-sensitive search."
},
"findAndJump.showTooltipIfNoMatches": {
"type": "boolean",
"default": false,
"description": "Show a tooltip if the current search has no matches."
},
"findAndJump.minimumCharactersToExecuteSearch": {
"type": "number",
"default": 2,
"description": "Minimum number of characters to execute the search."
},
"findAndJump.matchesColor.background": {
"type": "string",
"default": "#3e56c2",
"description": "Custom background color for all matches"
},
"findAndJump.matchesColor.foreground": {
"type": "string",
"default": "white",
"description": "Custom foreground color for all matches"
},
"findAndJump.currentMatchColor.background": {
"type": "string",
"default": "#132eab",
"description": "Custom background color for the currently selected match"
},
"findAndJump.currentMatchColor.foreground": {
"type": "string",
"default": "white",
"description": "Custom foreground color for the currently selected match"
}
}
},
"commands": [
{
"command": "findAndJump.activateSearchMode",
"title": "Activate search mode"
},
{
"command": "findAndJump.exitSearchMode",
"title": "Exit search mode"
}
],
"keybindings": [
{
"key": "alt+q",
"command": "findAndJump.activateSearchMode",
"when": "editorTextFocus"
},
{
"key": "tab",
"command": "findAndJump.cycleThroughMatches",
"when": "editorTextFocus && findAndJump.isSearchModeActive"
},
{
"key": "shift+tab",
"command": "findAndJump.cycleThroughMatchesBackwards",
"when": "editorTextFocus && findAndJump.isSearchModeActive"
},
{
"key": "backspace",
"command": "findAndJump.captureBackspace",
"when": "editorTextFocus && findAndJump.isSearchModeActive"
},
{
"key": "escape",
"command": "findAndJump.exitSearchMode",
"when": "editorTextFocus && findAndJump.isSearchModeActive"
},
{
"key": "up",
"command": "findAndJump.exitSearchMode",
"when": "editorTextFocus && findAndJump.isSearchModeActive"
},
{
"key": "right",
"command": "findAndJump.exitSearchMode",
"when": "editorTextFocus && findAndJump.isSearchModeActive"
},
{
"key": "down",
"command": "findAndJump.exitSearchMode",
"when": "editorTextFocus && findAndJump.isSearchModeActive"
},
{
"key": "left",
"command": "findAndJump.exitSearchMode",
"when": "editorTextFocus && findAndJump.isSearchModeActive"
}
]
},
"scripts": {
"//////// Development": "",
"dev": "npm run build -- --sourcemap --watch",
"test": "node ./out-tests/test/runTest.js",
"lint": "eslint src --ext ts",
"format": "prettier . --write",
"//////// Build": "",
"build": "esbuild ./src/extension.ts --bundle --minify --outfile=out/main.js --external:vscode --format=cjs --platform=node",
"build:sourcemap": "npm run build -- --sourcemap",
"vscode:prepublish": "npm run build",
"package": "vsce package",
"//////// Test": "",
"compile-tests": "tsc -p . --outDir out-tests",
"watch-tests": "tsc -p . -w --outDir out-tests",
"pretest": "npm run compile-tests && npm run build && npm run lint"
},
"devDependencies": {
"@types/mocha": "^10.0.1",
"@types/node": "16.x",
"@types/vscode": "^1.81.0",
"@typescript-eslint/eslint-plugin": "^6.4.1",
"@typescript-eslint/parser": "^6.4.1",
"@vscode/test-electron": "^2.3.4",
"esbuild": "^0.19.2",
"eslint": "^8.47.0",
"glob": "^10.3.3",
"mocha": "^10.2.0",
"prettier": "^3.0.2",
"typescript": "^5.1.6"
}
}