forked from yzhang-gh/vscode-dic-completion
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
90 lines (90 loc) · 3.11 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
{
"name": "dictionary-completion",
"displayName": "Dictionary Completion",
"description": "Word Completion",
"icon": "images/dictionary.png",
"version": "1.0.3",
"publisher": "yzhang",
"license": "MIT",
"engines": {
"vscode": "^1.46.0"
},
"categories": [
"Other"
],
"repository": {
"type": "git",
"url": "https://github.com/yzhang-gh/vscode-dic-completion"
},
"activationEvents": [
"onLanguage:markdown",
"onLanguage:latex",
"onLanguage:html",
"onLanguage:javascript",
"onLanguage:typescript",
"onLanguage:python",
"onCommand:completion.openUserDict"
],
"main": "./out/src/extension",
"contributes": {
"commands": [
{
"command": "completion.openUserDict",
"title": "Completion: Open User Dictionary"
}
],
"configuration": {
"title": "Dictionary Completion",
"properties": {
"dictCompletion.leastNumOfChars": {
"type": "number",
"default": 0,
"description": "Only show completion list until N characters"
},
"dictCompletion.addSpaceAfterCompletion": {
"type": "boolean",
"default": false,
"description": "Add a space after completion"
},
"dictCompletion.useExternalUserDictFile": {
"type": "boolean",
"default": true,
"markdownDescription": "Use an external user dictionary file or `userDictionary` inside VSCode settings. (The dictionary file can be open with command `Open User Dictionary`.)"
},
"dictCompletion.externalUserDictFiles": {
"type": "array",
"items": {
"type": "string"
},
"default": [],
"markdownDescription": "A list of paths to dictionary files"
},
"dictCompletion.userDictionary": {
"type": "array",
"items": {
"type": "string"
},
"default": [],
"markdownDescription": "A list of user words for completion (only enabled when `useExternalUserDictFile` is disabled)"
},
"dictCompletion.programmingLanguage": {
"type": "boolean",
"default": true,
"markdownDescription": "Whether to enable dictionary completion in string and comment of common programming languages"
}
}
}
},
"scripts": {
"vscode:prepublish": "tsc -p ./",
"compile": "tsc -watch -p ./"
},
"devDependencies": {
"@types/mocha": "^5.2.0",
"@types/node": "^14.0.13",
"@types/vscode": "^1.46.0",
"mocha": "^8.1.3",
"typescript": "^4.0.3",
"vscode-test": "^1.4.0"
}
}