![]() Peter Melnichenko - luacheck: A tool for linting and static analysis of Lua code.Mikael Hermansson - node-hot: Hot-reloading for Node.js.Oskar Schöldström - luaparse: A Lua parser written in JavaScript.This project is licensed under the MIT License - see the LICENSE file for details. 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. Once installed, luacheck support can be activated by assigning the lua.luacheckPath setting to the path of the luacheck executable. Installation instructions can be found on the luacheck repository. lua. Settings lua.luacheckPath (Default: null) Specifies the path to luacheck binary (if not found on PATH ). Support for linting is provided via luacheck. Installing Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter: ext install vscode-lua Alternatively, you can download the extension from the marketplace. Whether to use single or double quotes on strings. Maximum length of a line before it will be wrapped. Valid options:Ĭan also be changed using the version selector in the bottom right of the IDE. Specifies whether to prefer luacheck errors over the standard luaparse errors if luacheck is available. lua.preferLuaCheckErrors (Default: false) Specifies the path to luacheck binary (if not found on PATH). It supports more than 80 programming languages. What can you do with the Online Code Editor It helps to write and share your code. Settings lua.luacheckPath (Default: null) This tool helps you to write code with color full syntax and share with others. Editor support VS Code: Sublime: Vim: Install LuaRocks Requirements c++ 17 compiler luarocks 3.3.0+ The easiest way to install is to use LuaRocks. Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter:Īlternatively, you can download the extension from the marketplace. LuaFormatter Reformats your Lua source code.Provides Intellisense and Linting for Lua in VSCode Features
0 Comments
Leave a Reply. |