-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
125 lines (125 loc) · 4.82 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
{
"name": "fusionautocomplete",
"displayName": "Fusion Autocomplete",
"description": "An extension that offers autocomplete for properties on ROBLOX UI frameworks like Fusion and Roact.",
"version": "1.2.2",
"publisher": "Virtual",
"repository": "https://github.com/VirtualButFake/fusion_autocomplete",
"engines": {
"vscode": "^1.5.0"
},
"license": "MIT",
"categories": [
"Other"
],
"keywords": [
"roblox",
"fusion",
"roact"
],
"activationEvents": [
"onLanguage:luau",
"onLanguage:lua"
],
"main": "./out/extension.js",
"contributes": {
"configuration": [
{
"title": "Classname & Property autocomplete",
"properties": {
"fusionautocomplete.newAliases": {
"markdownDescription": "A list of strings that will be used to detect calls to Fusion.New. This is case-insensitive.",
"type": "array",
"items": {
"type": "string"
},
"default": [
"new"
],
"pattern": "^[a-zA-Z0-9_]*$"
},
"fusionautocomplete.postLineCharacters": {
"markdownDescription": "Adds these characters to the end of the line when autocompleting a property with pre-set constructor data.",
"type": "string",
"default": ","
}
}
},
{
"title": "Function Autocomplete",
"properties": {
"fusionautocomplete.functionAutoComplete": {
"markdownDescription": "Whether to autocomplete Fusion functions if a fusion variable is detected.",
"type": "boolean",
"default": true
},
"fusionautocomplete.fusionAliases": {
"markdownDescription": "A list of strings that will be used to detect properties of Fusion to autocomplete the functions. This is case-insensitive.",
"type": "array",
"items": {
"type": "string"
},
"default": [
"fusion"
],
"pattern": "^[a-zA-Z0-9_]*$"
},
"fusionautocomplete.groupingMode": {
"markdownDescription": "The mode to use for grouping properties. This can be either `alphabetical` or `category`. `category` groups based on the category of the function.",
"type": "string",
"default": "alphabetical",
"enum": [
"alphabetical",
"category"
]
},
"fusionautocomplete.casingMode": {
"markdownDescription": "The casing mode to use for properties. This can be either `camelCase`, `snake_case` or `PascalCase`.",
"type": "string",
"default": "camelCase",
"enum": [
"camelCase",
"snake_case",
"PascalCase"
]
},
"fusionautocomplete.fusionVersion": {
"markdownDescription": "The version of Fusion to use for autocomplete.",
"type": "string",
"default": "0.2",
"enum": [
"0.2",
"0.3"
]
}
}
}
]
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"ci:eslint": "eslint ./src --max-warnings=0 --ext .ts && tsc --noEmit",
"ci:prettier": "prettier --check ./src",
"ci:tsc": "tsc --noEmit"
},
"devDependencies": {
"@types/mocha": "^10.0.3",
"@types/node": "18.x",
"@types/node-fetch": "^2.6.9",
"@types/vscode": "^1.5.0",
"@typescript-eslint/eslint-plugin": "^6.9.0",
"@typescript-eslint/parser": "^6.9.0",
"@vscode/test-electron": "^2.3.6",
"eslint": "^8.57.0",
"glob": "^10.3.10",
"mocha": "^10.2.0",
"prettier": "^3.3.3",
"typescript": "^5.2.2"
},
"dependencies": {
"js-convert-case": "^4.2.0",
"node-fetch": "^2.7.0"
}
}