|
2 | 2 | "name": "funkin-script-autocompleter",
|
3 | 3 | "displayName": "Funkin Script AutoCompleter",
|
4 | 4 | "description": "AutoCompleter for Friday Night Funkin` scripts",
|
5 |
| - "version": "1.4.2", |
| 5 | + "version": "2.0.0", |
6 | 6 | "icon": "images/icon.png",
|
7 | 7 | "publisher": "Snirozu",
|
8 | 8 | "private": true,
|
|
33 | 33 | "devDependencies": {
|
34 | 34 | "@types/node": "^16.11.7",
|
35 | 35 | "@types/vscode": "^1.32.0",
|
36 |
| - "@vscode/vsce": "2.23.0", |
37 | 36 | "@typescript-eslint/eslint-plugin": "^5.30.0",
|
38 | 37 | "@typescript-eslint/parser": "^5.30.0",
|
| 38 | + "@vscode/vsce": "2.23.0", |
39 | 39 | "eslint": "^8.13.0",
|
40 | 40 | "typescript": "^4.7.2"
|
41 | 41 | },
|
42 | 42 | "contributes": {
|
43 | 43 | "configuration": {
|
44 | 44 | "title": "Funkin Script AutoComplete",
|
45 | 45 | "properties": {
|
46 |
| - "funkinscriptautocomplete.luaEngine": { |
| 46 | + "funkinvscode.luaEngine": { |
47 | 47 | "type": "string",
|
48 | 48 | "default": "psych_latest",
|
49 |
| - "description": "Which Friday Night Funkin' Engine Lua Script API will this extension autocomplete.\nRequires Restart/Reload to take effect.", |
| 49 | + "description": "Which Friday Night Funkin' Engine Lua Script API will this extension autocomplete\nRequires VSCode Restart to take effect!", |
50 | 50 | "enum": [
|
51 | 51 | "psych_latest",
|
52 | 52 | "psych_0.7",
|
|
58 | 58 | "Psych Engine (v0.6)"
|
59 | 59 | ]
|
60 | 60 | },
|
61 |
| - "funkinscriptautocomplete.enableOnlyOnCertainScripts": { |
| 61 | + "funkinvscode.enableOnlyOnCertainScripts": { |
| 62 | + "type": "boolean", |
| 63 | + "default": false, |
| 64 | + "description": "If checked, this extension will only work if a Lua script contains '---@funkinScript' comment" |
| 65 | + }, |
| 66 | + "funkinvscode.eventDocumentationGeneration": { |
62 | 67 | "type": "boolean",
|
63 | 68 | "default": false,
|
64 |
| - "description": "If checked, this extension will only work if a script contains '---@funkinScript' comment" |
| 69 | + "description": "If checked, after entering a event function, placeholder arguments are inserted on top of the function" |
65 | 70 | },
|
66 |
| - "funkinscriptautocomplete.functionArgsGeneration": { |
| 71 | + "funkinvscode.functionArgumentsGeneration": { |
67 | 72 | "type": "boolean",
|
68 |
| - "default": true, |
69 |
| - "description": "If unchecked, after entering a function placeholder arguments aren't prefixed to events" |
| 73 | + "default": false, |
| 74 | + "description": "If checked, after entering a call function, default values of arguments are inserted inside of the function" |
| 75 | + }, |
| 76 | + "funkinvscode.hscriptFileExtension": { |
| 77 | + "type": "string", |
| 78 | + "default": "hxc", |
| 79 | + "description": "The associating file extension for Friday Night Funkin' scripts" |
| 80 | + }, |
| 81 | + "funkinvscode.haxelibs": { |
| 82 | + "type": "array", |
| 83 | + "default": [ |
| 84 | + "funkin https://github.com/FunkinCrew/Funkin main source/", |
| 85 | + "funkin.vis https://github.com/FunkinCrew/funkVis", |
| 86 | + "flixel", |
| 87 | + "flixel-addons", |
| 88 | + "flixel-text-input", |
| 89 | + "flixel-ui", |
| 90 | + "flxanimate", |
| 91 | + "format", |
| 92 | + "hamcrest", |
| 93 | + "haxeui-core", |
| 94 | + "haxeui-flixel", |
| 95 | + "hscript https://github.com/HaxeFoundation/hscript", |
| 96 | + "hxCodec", |
| 97 | + "json2object", |
| 98 | + "lime", |
| 99 | + "openfl", |
| 100 | + "polymod", |
| 101 | + "thx.semver", |
| 102 | + "FlxPartialSound https://github.com/FunkinCrew/FlxPartialSound.git" |
| 103 | + ], |
| 104 | + "description": "The Haxelibs you want to use\nRequires VSCode Restart to take effect!" |
70 | 105 | }
|
71 | 106 | }
|
72 |
| - } |
| 107 | + }, |
| 108 | + "languages": [ |
| 109 | + { |
| 110 | + "id": "haxe", |
| 111 | + "extensions": [ |
| 112 | + "hxc" |
| 113 | + ] |
| 114 | + } |
| 115 | + ], |
| 116 | + "commands": [ |
| 117 | + { |
| 118 | + "command": "funkinvscode.updatelibs", |
| 119 | + "title": "Update Haxelibs for Funkin Scripts" |
| 120 | + }, |
| 121 | + { |
| 122 | + "command": "funkinvscode.updatelibsnofunkin", |
| 123 | + "title": "Update Haxelibs for Funkin Scripts (Excluding Funkin Lib)" |
| 124 | + }, |
| 125 | + { |
| 126 | + "command": "funkinvscode.updatefunkin", |
| 127 | + "title": "Update Funkin API library" |
| 128 | + } |
| 129 | + ] |
73 | 130 | },
|
74 | 131 | "dependencies": {
|
75 | 132 | "@types/needle": "^3.2.0",
|
| 133 | + "fast-xml-parser": "^4.4.1", |
| 134 | + "funkin-script-autocompleter": "file:", |
76 | 135 | "needle": "^3.2.0"
|
77 | 136 | }
|
78 | 137 | }
|
0 commit comments