-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
165 lines (165 loc) · 3.81 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
158
159
160
161
162
163
164
165
{
"publisher": "TwoUnderscorez",
"repository": {
"url": "https://github.com/TwoUnderscorez/vscode-websearch",
"type": "GitHub"
},
"name": "vscode-websearch",
"displayName": "Web Search",
"icon": "images/icon.png",
"description": "Search bar inside vscode",
"version": "1.5.0",
"engines": {
"vscode": "^1.32.0"
},
"categories": [
"Other",
"Keymaps"
],
"activationEvents": [
"onCommand:websearch.search"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "websearch.search",
"title": "Web search"
}
],
"keybindings": [
{
"command": "websearch.search",
"key": "alt+s",
"when": ""
}
],
"configuration": {
"title": "Web Search",
"type": "object",
"properties": {
"websearch.engines": {
"type": "array",
"default": [
{
"Name": "DuckDuckGo",
"URI": "duckduckgo.$#$/?q="
},
{
"Name": "Google",
"URI": "www.google.$#$/search?q="
},
{
"Name": "Bing",
"URI": "www.bing.$#$/search?q="
},
{
"Name": "AOL",
"URI": "search.aol.$#$/aol/search?q="
},
{
"Name": "Yahoo",
"URI": "search.yahoo.$#$/search?&p="
},
{
"Name": "Ask",
"URI": "www.ask.$#$/web?q="
},
{
"Name": "Yandex",
"URI": "yandex.$#$/search/?text="
},
{
"Name": "StartPage",
"URI": "`www.startpage.$#$/do/search?query="
}
],
"description": "Search engine list and their URIs. $#$ is replaced with 'com' by default, you can changed that via 'websearch.tlds' for individual search engines. (Cace insensitive)"
},
"websearch.default_engine": {
"type": "string",
"default": "DuckDuckGo",
"description": "The search engine to use. (Cace insensitive)",
"examples": [
"DuckDuckGo",
"Google",
"Bing",
"AOL",
"Yahoo",
"Ask",
"Yandex",
"StartPage"
]
},
"websearch.ac_engine": {
"type": "string",
"default": "DuckDuckGo",
"description": "The AutoComplete engine to use.",
"enum": [
"DuckDuckGo",
"Google",
"AOL"
]
},
"websearch.insert_selected_text": {
"type": "boolean",
"default": true,
"description": "If there is selected text, should that selection be automatically inserted into the search box."
},
"websearch.tlds": {
"type": "object",
"default": {
"default": "com"
},
"examples": [
{
"default": "com",
"yandex": "ua",
"google": "com.ua"
}
],
"description": "An object to assign a search engine a TLD. Keys (names) MUST BE all in LOWER case."
},
"websearch.linux_url_launcher": {
"type": "string",
"description": "Set this if I can't guess how to open a browser.",
"enum": [
"",
"sensible-browser",
"kde-open",
"gnome-open",
"xdg-open",
"python -m webbrowser"
],
"enumDescriptions": [
"Type your browser name, ignore the error, and restart vscode",
"Debian (Ubuntu, Linux Mint, etc ...)",
"If you are using KDE",
"If you are using GNOME",
"Should be universal, might not work everywhere, try installing xdg-utils",
"Use python to open the default web browser"
],
"default": ""
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"postinstall": "node ./node_modules/vscode/bin/install",
"test": "npm run compile && node ./node_modules/vscode/bin/test"
},
"devDependencies": {
"@types/mocha": "^2.2.42",
"@types/node": "^10.12.21",
"tslint": "^5.12.1",
"typescript": "^3.3.1",
"vscode": "^1.1.28"
},
"dependencies": {
"request": "^2.88.0",
"request-promise-native": "^1.0.7"
}
}