mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-23 05:51:39 +00:00
Update VS Code configuration and dependencies
- Updated the vscode-rojo submodule to the latest commit. - Added a new extension recommendation for better JSON5 support. - Enhanced settings for Luau LSP with additional configurations for diagnostics, completion, and inlay hints. - Updated project template settings to include new Luau LSP sourcemap file and removed deprecated extension recommendations.
This commit is contained in:
parent
737b3782dd
commit
11d0e9d830
5 changed files with 48 additions and 8 deletions
1
.vscode/extensions.json
vendored
1
.vscode/extensions.json
vendored
|
|
@ -1,5 +1,6 @@
|
||||||
{
|
{
|
||||||
"recommendations": [
|
"recommendations": [
|
||||||
|
"BlueGlassBlock.better-json5",
|
||||||
"JohnnyMorganz.luau-lsp",
|
"JohnnyMorganz.luau-lsp",
|
||||||
"JohnnyMorganz.stylua",
|
"JohnnyMorganz.stylua",
|
||||||
"Kampfkarren.selene-vscode",
|
"Kampfkarren.selene-vscode",
|
||||||
|
|
|
||||||
37
.vscode/settings.json
vendored
37
.vscode/settings.json
vendored
|
|
@ -1,4 +1,39 @@
|
||||||
{
|
{
|
||||||
|
"editor.tabSize": 2,
|
||||||
|
"editor.insertSpaces": true,
|
||||||
|
"editor.rulers": [
|
||||||
|
80
|
||||||
|
],
|
||||||
|
|
||||||
|
"files.eol": "\n",
|
||||||
|
"files.encoding": "utf8",
|
||||||
|
"files.autoGuessEncoding": false,
|
||||||
|
|
||||||
"luau-lsp.sourcemap.rojoProjectFile": "plugin.project.json",
|
"luau-lsp.sourcemap.rojoProjectFile": "plugin.project.json",
|
||||||
"luau-lsp.sourcemap.autogenerate": true
|
"luau-lsp.plugin.maximumRequestBodySize": "500mb",
|
||||||
|
"luau-lsp.plugin.enabled": true,
|
||||||
|
"luau-lsp.completion.autocompleteEnd": true,
|
||||||
|
"luau-lsp.completion.imports.enabled": true,
|
||||||
|
"luau-lsp.completion.imports.separateGroupsWithLine": true,
|
||||||
|
"luau-lsp.hover.multilineFunctionDefinitions": true,
|
||||||
|
"luau-lsp.hover.showTableKinds": true,
|
||||||
|
"luau-lsp.inlayHints.makeInsertable": false,
|
||||||
|
"luau-lsp.inlayHints.hideHintsForMatchingParameterNames": false,
|
||||||
|
"luau-lsp.sourcemap.autogenerate": true,
|
||||||
|
"luau-lsp.sourcemap.includeNonScripts": true,
|
||||||
|
"luau-lsp.diagnostics.strictDatamodelTypes": true,
|
||||||
|
"luau-lsp.completion.imports.requireStyle": "alwaysAbsolute",
|
||||||
|
"luau-lsp.completion.fillCallArguments": false,
|
||||||
|
"luau-lsp.completion.showDeprecatedItems": false,
|
||||||
|
"luau-lsp.sourcemap.generatorCommand": "atlas",
|
||||||
|
"luau-lsp.fflags.enableNewSolver": false,
|
||||||
|
"luau-lsp.index.maxFiles": 100000,
|
||||||
|
"luau-lsp.plugin.port": 3668,
|
||||||
|
|
||||||
|
"stylua.targetReleaseVersion": "latest",
|
||||||
|
"[luau]": {
|
||||||
|
"editor.defaultFormatter": "JohnnyMorganz.stylua"
|
||||||
|
},
|
||||||
|
|
||||||
|
"git.ignoreLimitWarning": true
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,5 @@
|
||||||
{
|
{
|
||||||
"recommendations": [
|
"recommendations": [
|
||||||
"evaera.vscode-rojo",
|
"UserGeneratedLLC.vscode-roblox-atlas"
|
||||||
"johnnymorganz.stylua",
|
|
||||||
"johnnymorganz.luau-lsp"
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
@ -4,16 +4,17 @@
|
||||||
"editor.rulers": [
|
"editor.rulers": [
|
||||||
80
|
80
|
||||||
],
|
],
|
||||||
|
|
||||||
"files.eol": "\n",
|
"files.eol": "\n",
|
||||||
"files.encoding": "utf8",
|
"files.encoding": "utf8",
|
||||||
"files.autoGuessEncoding": false,
|
"files.autoGuessEncoding": false,
|
||||||
|
|
||||||
|
"luau-lsp.sourcemap.rojoProjectFile": "plugin.project.json5",
|
||||||
"luau-lsp.plugin.maximumRequestBodySize": "500mb",
|
"luau-lsp.plugin.maximumRequestBodySize": "500mb",
|
||||||
"luau-lsp.plugin.enabled": true,
|
"luau-lsp.plugin.enabled": true,
|
||||||
"luau-lsp.completion.autocompleteEnd": true,
|
"luau-lsp.completion.autocompleteEnd": true,
|
||||||
"luau-lsp.completion.imports.enabled": true,
|
"luau-lsp.completion.imports.enabled": true,
|
||||||
"luau-lsp.completion.imports.separateGroupsWithLine": true,
|
"luau-lsp.completion.imports.separateGroupsWithLine": true,
|
||||||
"luau-lsp.completion.showPropertiesOnMethodCall": true,
|
|
||||||
"luau-lsp.hover.multilineFunctionDefinitions": true,
|
"luau-lsp.hover.multilineFunctionDefinitions": true,
|
||||||
"luau-lsp.hover.showTableKinds": true,
|
"luau-lsp.hover.showTableKinds": true,
|
||||||
"luau-lsp.inlayHints.makeInsertable": false,
|
"luau-lsp.inlayHints.makeInsertable": false,
|
||||||
|
|
@ -22,11 +23,16 @@
|
||||||
"luau-lsp.sourcemap.includeNonScripts": true,
|
"luau-lsp.sourcemap.includeNonScripts": true,
|
||||||
"luau-lsp.diagnostics.strictDatamodelTypes": true,
|
"luau-lsp.diagnostics.strictDatamodelTypes": true,
|
||||||
"luau-lsp.completion.imports.requireStyle": "alwaysAbsolute",
|
"luau-lsp.completion.imports.requireStyle": "alwaysAbsolute",
|
||||||
|
"luau-lsp.completion.fillCallArguments": false,
|
||||||
|
"luau-lsp.completion.showDeprecatedItems": false,
|
||||||
|
"luau-lsp.sourcemap.generatorCommand": "atlas",
|
||||||
"luau-lsp.fflags.enableNewSolver": false,
|
"luau-lsp.fflags.enableNewSolver": false,
|
||||||
|
"luau-lsp.index.maxFiles": 100000,
|
||||||
|
|
||||||
|
"stylua.targetReleaseVersion": "latest",
|
||||||
"[luau]": {
|
"[luau]": {
|
||||||
"editor.defaultFormatter": "JohnnyMorganz.stylua"
|
"editor.defaultFormatter": "JohnnyMorganz.stylua"
|
||||||
},
|
},
|
||||||
"stylua.targetReleaseVersion": "latest",
|
|
||||||
"git.ignoreLimitWarning": true,
|
"git.ignoreLimitWarning": true
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1 +1 @@
|
||||||
Subproject commit da517e6a7fcaf40ed023c17511a7f46f45637a67
|
Subproject commit a05977d6b8107c1ddc5dca7d4d26819ddd6582ba
|
||||||
Loading…
Add table
Add a link
Reference in a new issue