-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
123 lines (123 loc) · 3.22 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
{
"name": "code-search",
"displayName": "code-search",
"description": "Local, semantic search for your VS Code symbols",
"version": "0.0.1",
"engines": {
"vscode": "^1.88.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onStartupFinished"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "code-search.indexWorkspace",
"title": "Code Search: Index workspace"
},
{
"command": "code-search.resetIndex",
"title": "Code Search: Reset indices and embeddings"
},
{
"command": "code-search.openSearchView",
"title": "Code Search: Open search view"
}
],
"viewsContainers": {
"activitybar": [
{
"id": "code-search",
"title": "Code Search",
"icon": "icon.svg"
}
]
},
"views": {
"code-search": [
{
"type": "webview",
"id": "code-search.search",
"name": "Embeddings Search"
}
]
},
"configuration": {
"title": "Code Search",
"properties": {
"code-search.initOnWorkspaceStart": {
"type": "boolean",
"default": true,
"description": "Begin indexing once a workspace is opened"
},
"code-search.maxIndexedFiles": {
"type": "number",
"default": 0,
"description": "Maximum number of files to index (0 for no limit)"
},
"code-search.backend": {
"type": "string",
"default": "http://localhost:9100",
"description": "URL of the backend server"
},
"code-search.embeddings.model": {
"type": "string",
"enum": [
"jina"
],
"enumDescriptions": [
"jinaai/jina-embeddings-v2-base-code"
],
"default": "jina",
"description": "Model to use to generate code embeddings"
},
"code-search.embeddings.batchSize": {
"type": "integer",
"default": 4,
"description": "Batch size when indexing code embeddings"
},
"code-search.exclude": {
"type": "string",
"default": "**/{.*,venv,__pycache__,node_modules,bower_components,jspm_packages}/**",
"description": "Patterns excluded from indexing"
},
"code-search.include": {
"type": "string",
"default": "**/*.{js,jsx,ts,tsx,mjs,py}",
"description": "Patterns included in indexing"
}
}
},
"keybindings": [
{
"command": "code-search.openSearchView",
"key": "ctrl+alt+f",
"mac": "cmd+alt+f",
"when": "editorTextFocus"
}
]
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"lint": "eslint src --ext ts"
},
"devDependencies": {
"@types/mocha": "^10.0.6",
"@types/node": "18.x",
"@types/vscode": "^1.88.0",
"@typescript-eslint/eslint-plugin": "^7.4.0",
"@typescript-eslint/parser": "^7.4.0",
"eslint": "^8.57.0",
"typescript": "^5.3.3"
},
"dependencies": {
"@vscode/codicons": "^0.0.36",
"minimatch": "^9.0.4"
}
}