|
12 | 12 | ], |
13 | 13 |
|
14 | 14 | // The server version to download in $CACHE/Package Storage |
15 | | - "server_version": "1.3.0", |
| 15 | + "server_version": "1.3.1", |
16 | 16 |
|
17 | 17 | // Disable the trigger characters, because there's too many of them. The |
18 | 18 | // default Lua syntax is capable enough to best decide when to trigger |
|
30 | 30 | "settings": { |
31 | 31 | // Color mode. |
32 | 32 | // possible values: Grammar, Semantic |
33 | | - "Lua.color.mode": "Grammar", |
34 | | - // When the input looks like a file name, automatically `require` this file. |
35 | | - "Lua.completion.autoRequire": true, |
36 | | - // Shows function call snippets. |
37 | | - // possible values: Disable, Both, Replace |
38 | | - "Lua.completion.callSnippet": "Disable", |
| 33 | + "robloxLsp.color.mode": "Grammar", |
| 34 | + // Autocompletes function parentheses like in Roblox Studio. |
| 35 | + "robloxLsp.completion.callParenthesess": false, |
39 | 36 | // Previewing the relevant code snippet of the suggestion may help you understand the usage |
40 | 37 | // of the suggestion. The number set indicates the number of intercepted lines in the code |
41 | 38 | // fragment. If it is set to `0`, this feature can be disabled. |
42 | | - "Lua.completion.displayContext": 6, |
| 39 | + "robloxLsp.completion.displayContext": 0, |
43 | 40 | // Enable completion. |
44 | | - "Lua.completion.enable": true, |
| 41 | + "robloxLsp.completion.enable": true, |
45 | 42 | // Shows keyword syntax snippets. |
46 | 43 | // possible values: Disable, Both, Replace |
47 | | - "Lua.completion.keywordSnippet": "Replace", |
| 44 | + "robloxLsp.completion.keywordSnippet": "Replace", |
48 | 45 | // Display parameters in completion list. When the function has multiple definitions, they |
49 | 46 | // will be displayed separately. |
50 | | - "Lua.completion.showParams": true, |
| 47 | + "robloxLsp.completion.showParams": true, |
| 48 | + // Enable on type `end` autocompletion like in Roblox Studio. |
| 49 | + "robloxLsp.completion.endAutocompletion": false, |
51 | 50 | // Shows words within the workspace. |
52 | | - "Lua.completion.workspaceWord": true, |
| 51 | + "robloxLsp.completion.workspaceWord": true, |
| 52 | + // Shows deprecated members (Except duplicates). |
| 53 | + "robloxLsp.completion.deprecatedMembers": false, |
53 | 54 | // Disabled diagnostic (Use code in hover brackets). |
54 | | - "Lua.diagnostics.disable": [], |
| 55 | + "robloxLsp.diagnostics.disable": [], |
55 | 56 | // Enable diagnostics. |
56 | | - "Lua.diagnostics.enable": true, |
| 57 | + "robloxLsp.diagnostics.enable": true, |
57 | 58 | // Defined global variables. |
58 | | - "Lua.diagnostics.globals": [], |
| 59 | + "robloxLsp.diagnostics.globals": [], |
59 | 60 | // If you want to check only opened files, choice Opened; else choice Any. |
60 | | - "Lua.diagnostics.neededFileStatus": {}, |
| 61 | + "robloxLsp.diagnostics.neededFileStatus": {}, |
61 | 62 | // Modified diagnostic severity. |
62 | | - "Lua.diagnostics.severity": {}, |
| 63 | + "robloxLsp.diagnostics.severity": {}, |
63 | 64 | // Latency (milliseconds) for workspace diagnostics. When you start the workspace, or edit |
64 | 65 | // any file, the entire workspace will be re-diagnosed in the background. Set to negative to |
65 | 66 | // disable workspace diagnostics. |
66 | | - "Lua.diagnostics.workspaceDelay": 0, |
| 67 | + "robloxLsp.diagnostics.workspaceDelay": 0, |
67 | 68 | // Workspace diagnostics run rate (%). Decreasing this value reduces CPU usage, but also |
68 | 69 | // reduces the speed of workspace diagnostics. The diagnosis of the file you are currently |
69 | 70 | // editing is always done at full speed and is not affected by this setting. |
70 | | - "Lua.diagnostics.workspaceRate": 100, |
71 | | - // Enabel hint. |
72 | | - "Lua.hint.enable": false, |
| 71 | + "robloxLsp.diagnostics.workspaceRate": 100, |
| 72 | + // Enable hint. |
| 73 | + "robloxLsp.hint.enable": false, |
73 | 74 | // Hint parameter name when the parameter called is literal. |
74 | | - "Lua.hint.paramName": true, |
| 75 | + "robloxLsp.hint.paramName": false, |
75 | 76 | // Show type hints at the parameter of the function. |
76 | | - "Lua.hint.paramType": true, |
| 77 | + "robloxLsp.hint.paramType": true, |
77 | 78 | // Hint type at assignment operation. |
78 | | - "Lua.hint.setType": false, |
| 79 | + "robloxLsp.hint.setType": false, |
| 80 | + // Hint types at variables definitions. |
| 81 | + "robloxLsp.hint.variableType": true, |
| 82 | + // Hint return types at functions. |
| 83 | + "robloxLsp.hint.returnType": false, |
79 | 84 | // Enable hover. |
80 | | - "Lua.hover.enable": true, |
| 85 | + "robloxLsp.hover.enable": true, |
81 | 86 | // When the value corresponds to multiple types, limit the number of types displaying. |
82 | | - "Lua.hover.enumsLimit": 5, |
| 87 | + "robloxLsp.hover.enumsLimit": 5, |
83 | 88 | // When hovering to view a table, limits the maximum number of previews for fields. |
84 | | - "Lua.hover.previewFields": 20, |
| 89 | + "robloxLsp.hover.previewFields": 20, |
85 | 90 | // Hover to view numeric content (only if literal is not decimal). |
86 | | - "Lua.hover.viewNumber": true, |
| 91 | + "robloxLsp.hover.viewNumber": true, |
87 | 92 | // Hover to view the contents of a string (only if the literal contains an escape |
88 | 93 | // character). |
89 | | - "Lua.hover.viewString": true, |
| 94 | + "robloxLsp.hover.viewString": true, |
90 | 95 | // The maximum length of a hover to view the contents of a string. |
91 | | - "Lua.hover.viewStringMax": 1000, |
92 | | - // Adjust the enabled state of the built-in library. You can disable (or redefine) the non- |
93 | | - // existent library according to the actual runtime environment. |
94 | | - // * `default`: Indicates that the library will be enabled or disabled according to the |
95 | | - // runtime version |
96 | | - // * `enable`: always enable |
97 | | - // * `disable`: always disable |
98 | | - "Lua.runtime.builtin": {}, |
| 96 | + "robloxLsp.hover.viewStringMax": 1000, |
99 | 97 | // File encoding. The `ansi` option is only available under the `Windows` platform. |
100 | 98 | // possible values: utf8, ansi |
101 | | - "Lua.runtime.fileEncoding": "utf8", |
102 | | - // Supports non-standard symbols. Make sure that your runtime environment supports these |
103 | | - // symbols. |
104 | | - "Lua.runtime.nonstandardSymbol": [], |
| 99 | + "robloxLsp.runtime.fileEncoding": "utf8", |
105 | 100 | // `package.path` |
106 | | - "Lua.runtime.path": [ |
| 101 | + "robloxLsp.runtime.path": [ |
107 | 102 | "?.lua", |
108 | 103 | "?/init.lua", |
109 | 104 | "?/?.lua" |
110 | 105 | ], |
111 | 106 | // Plugin path. Please read [wiki](https://github.com/sumneko/lua-language- |
112 | 107 | // server/wiki/Plugin) to learn more. |
113 | | - "Lua.runtime.plugin": "", |
114 | | - // The custom global variables are regarded as some special built-in variables, and the |
115 | | - // language server will provide special support |
116 | | - // The following example shows that 'include' is treated as' require '. |
117 | | - // ```json |
118 | | - // "Lua.runtime.special" : { |
119 | | - // "include" : "require" |
120 | | - // } |
121 | | - // ``` |
122 | | - "Lua.runtime.special": {}, |
123 | | - // Allows Unicode characters in name. |
124 | | - "Lua.runtime.unicodeName": false, |
125 | | - // Lua runtime version. |
126 | | - // possible values: Lua 5.1, Lua 5.2, Lua 5.3, Lua 5.4, LuaJIT |
127 | | - "Lua.runtime.version": "Lua 5.4", |
| 108 | + "robloxLsp.runtime.plugin": "", |
128 | 109 | // Enable signature help. |
129 | | - "Lua.signatureHelp.enable": true, |
130 | | - // Enable telemetry to send your editor information and error logs over the network. Read |
131 | | - // our privacy policy [here](https://github.com/sumneko/lua-language-server/wiki/Privacy- |
132 | | - // Policy). |
133 | | - "Lua.telemetry.enable": false, |
| 110 | + "robloxLsp.signatureHelp.enable": true, |
| 111 | + // Shows item documentation in signature help. |
| 112 | + "robloxLsp.signatureHelp.documentation": true, |
134 | 113 | // Show progress bar in status bar. |
135 | | - "Lua.window.progressBar": true, |
| 114 | + "robloxLsp.window.progressBar": true, |
| 115 | + // Show extension status in status bar. |
| 116 | + "robloxLsp.window.statusBar": true, |
136 | 117 | // Ignored files and directories (Use `.gitignore` grammar). |
137 | | - "Lua.workspace.ignoreDir": [ |
| 118 | + "robloxLsp.workspace.ignoreDir": [ |
138 | 119 | ".vscode" |
139 | 120 | ], |
140 | 121 | // Ignore submodules. |
141 | | - "Lua.workspace.ignoreSubmodules": true, |
| 122 | + "robloxLsp.workspace.ignoreSubmodules": true, |
142 | 123 | // The directory path of the external function library. |
143 | 124 | // The language service will additionally load the lua files in these directories, even if |
144 | 125 | // they are not in the current workspace, for definition, completion and other features. |
145 | | - "Lua.workspace.library": [], |
| 126 | + "robloxLsp.workspace.library": [], |
146 | 127 | // Max preloaded files. |
147 | | - "Lua.workspace.maxPreload": 1000, |
| 128 | + "robloxLsp.workspace.maxPreload": 1000, |
148 | 129 | // Skip files larger than this value (KB) when preloading. |
149 | | - "Lua.workspace.preloadFileSize": 100, |
| 130 | + "robloxLsp.workspace.preloadFileSize": 100, |
150 | 131 | // Ignore files list in `.gitignore` . |
151 | | - "Lua.workspace.useGitIgnore": true, |
152 | | - // Add private third-party library configuration file paths here, please refer to the built- |
153 | | - // in [configuration file path](https://github.com/sumneko/lua-language-server/tree/master/meta/3rd) |
154 | | - "Lua.workspace.userThirdParty": [], |
| 132 | + "robloxLsp.workspace.useGitIgnore": true, |
| 133 | + // The name of the .project.json file without the extension. |
| 134 | + "robloxLsp.workspace.rojoProjectFile": "default", |
| 135 | + // possible values: All Files, Rojo Project |
| 136 | + // What files should be preloaded. |
| 137 | + "robloxLsp.workspace.loadMode": "All Files", |
| 138 | + // Suggests Roblox Services that can be auto imported. |
| 139 | + "robloxLsp.misc.serviceAutoImport": true, |
| 140 | + // Enable Color Picker and Preview for Color3 functions. |
| 141 | + "robloxLsp.misc.color3Picker": true, |
| 142 | + // If enabled, shows a link to the source script when requiring a module. |
| 143 | + "robloxLsp.misc.goToScriptLink": true, |
| 144 | + // Command line parameters when starting the language service in VSCode. |
| 145 | + "robloxLsp.misc.parameters": "", |
| 146 | + // possible values: Disabled, Non Strict, Strict |
| 147 | + // Type checking mode (BETA). |
| 148 | + "robloxLsp.typeChecking.mode": "Disabled", |
| 149 | + // Type checking options. |
| 150 | + "robloxLsp.typeChecking.options": {}, |
| 151 | + // Always show the full types in type checking errors. (`Array<string>` to `{[number]: string}`)" |
| 152 | + "robloxLsp.typeChecking.showFullType": false |
155 | 153 | } |
156 | 154 | } |
0 commit comments