mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-23 05:51:39 +00:00
- Added default formatter and enabled format on save for Lua and Luau in the VSCode settings for both the main project and the project template. These changes aim to improve code formatting consistency and streamline the development workflow.
47 lines
1.6 KiB
JSON
47 lines
1.6 KiB
JSON
{
|
|
"editor.tabSize": 2,
|
|
"editor.insertSpaces": true,
|
|
"editor.rulers": [
|
|
80
|
|
],
|
|
|
|
"files.eol": "\n",
|
|
"files.encoding": "utf8",
|
|
"files.autoGuessEncoding": false,
|
|
|
|
"luau-lsp.sourcemap.rojoProjectFile": "default.project.json5",
|
|
"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": true,
|
|
"luau-lsp.completion.showDeprecatedItems": false,
|
|
"luau-lsp.sourcemap.generatorCommand": "atlas sourcemap default.project.json5 --output sourcemap.json --include-non-scripts --watch",
|
|
"luau-lsp.fflags.enableNewSolver": false,
|
|
"luau-lsp.index.maxFiles": 100000,
|
|
"luau-lsp.completion.enableFragmentAutocomplete": true,
|
|
"luau-lsp.format.convertQuotes": true,
|
|
"luau-lsp.server.baseLuaurc": ".luaurc",
|
|
"luau.trace.server": "off",
|
|
|
|
"stylua.targetReleaseVersion": "latest",
|
|
"[lua]": {
|
|
"editor.defaultFormatter": "JohnnyMorganz.stylua",
|
|
"editor.formatOnSave": true
|
|
},
|
|
"[luau]": {
|
|
"editor.defaultFormatter": "JohnnyMorganz.stylua",
|
|
"editor.formatOnSave": true
|
|
},
|
|
|
|
"git.ignoreLimitWarning": true,
|
|
}
|