{"id":13898152,"url":"https://github.com/trixnz/vscode-lua","last_synced_at":"2025-04-15T17:11:45.272Z","repository":{"id":18042651,"uuid":"81980564","full_name":"trixnz/vscode-lua","owner":"trixnz","description":"Intellisense and Linting for Lua in VSCode","archived":false,"fork":false,"pushed_at":"2024-03-21T02:01:46.000Z","size":932,"stargazers_count":120,"open_issues_count":59,"forks_count":27,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-03-28T22:46:19.761Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/trixnz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-02-14T19:22:19.000Z","updated_at":"2025-03-05T11:46:16.000Z","dependencies_parsed_at":"2024-06-19T02:52:36.819Z","dependency_job_id":"6a81357f-bffb-451a-a3c0-948c6914e91a","html_url":"https://github.com/trixnz/vscode-lua","commit_stats":null,"previous_names":[],"tags_count":21,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trixnz%2Fvscode-lua","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trixnz%2Fvscode-lua/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trixnz%2Fvscode-lua/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trixnz%2Fvscode-lua/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/trixnz","download_url":"https://codeload.github.com/trixnz/vscode-lua/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249116245,"owners_count":21215143,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-06T18:04:07.556Z","updated_at":"2025-04-15T17:11:45.253Z","avatar_url":"https://github.com/trixnz.png","language":"TypeScript","funding_links":[],"categories":["TypeScript","资源","Resources"],"sub_categories":["IDEs and Plugins","IDE, Plugins and text editor"],"readme":"[![Build Status](https://travis-ci.org/trixnz/vscode-lua.svg?branch=master)](https://travis-ci.org/trixnz/vscode-lua) [![Visual Studio Marketplace](https://vsmarketplacebadge.apphb.com/version/trixnz.vscode-lua.svg)](https://marketplace.visualstudio.com/items?itemName=trixnz.vscode-lua)\n\n# Lua for Visual Studio Code\nProvides Intellisense and Linting for Lua in VSCode\n\n## Features\n- [x] Autocompletion\n- [x] Go to Symbol\n- [x] Error checking\n- [x] Linting\n- [x] Formatting\n- [ ] Code Snippets\n\n## Installing\n* Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter:\n* `ext install vscode-lua`\n\nAlternatively, you can download the extension from the [marketplace](https://marketplace.visualstudio.com/items?itemName=trixnz.vscode-lua).\n\n## Settings\n#### lua.luacheckPath (Default: `null`)\nSpecifies the path to luacheck binary (if not found on `PATH`).\n#### lua.preferLuaCheckErrors (Default: `false`)\nSpecifies whether to prefer luacheck errors over the standard luaparse errors if luacheck is available.\n#### lua.targetVersion (Default: `5.1`)\nSpecifies the target version of Lua. Valid options:\n* 5.1\n* 5.2\n* 5.3\n\nCan also be changed using the version selector in the bottom right of the IDE.\n\n#### lua.format.enabled (Default: `true`)\nSpecifies whether to use the Lua formatter\n#### lua.format.lineWidth (Default: `120`)\nMaximum length of a line before it will be wrapped.\n#### lua.format.indentCount (Default: `4`)\nNumber of characters to indent.\n#### lua.format.singleQuote (Default: `false`)\nWhether to use single or double quotes on strings. Defaults to double quotes.\n\n#### lua.linting.enabled (Default: `true`)\nSpecifies whether to enable linting of source files\n#### lua.linting.luaCheckConfig (Default: `null`)\nPath to a .luacheckrc to be used for linting, instead of the default luacheck search path\n#### lua.linting.luaCheckArgs (Default: `[]`)\nAdditional arguments to pass to luacheck\n\n## Luacheck\nSupport for linting is provided via [luacheck](https://github.com/mpeterv/luacheck). Installation instructions can be found on the `luacheck` [repository](https://github.com/mpeterv/luacheck#installation).\n\nOnce installed, `luacheck` support can be activated by assigning the `lua.luacheckPath` setting to the path of the `luacheck` executable. Additionally, since `luacheck` provides vastly more detailed and contextually aware errors that may sometimes duplicate those created by `luaparse`, the setting `lua.preferLuaCheckErrors` can be set to `true` to suppress `luaparse` errors.\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n## Acknowledgments\n* [Oskar Schöldström](https://github.com/oxyc) - [luaparse](https://github.com/oxyc/luaparse): A Lua parser written in JavaScript\n* [Mikael Hermansson](https://github.com/mihe) - [node-hot](https://github.com/mihe/node-hot): Hot-reloading for Node.js\n* [Peter Melnichenko](https://github.com/mpeterv) - [luacheck](https://github.com/mpeterv/luacheck): A tool for linting and static analysis of Lua code.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrixnz%2Fvscode-lua","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftrixnz%2Fvscode-lua","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrixnz%2Fvscode-lua/lists"}