luacheck VS IntelliJ-Luanalysis

Compare luacheck vs IntelliJ-Luanalysis and see what are their differences.

luacheck

A tool for linting and static analysis of Lua code. (by mpeterv)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
luacheck IntelliJ-Luanalysis
14 11
1,864 145
- -
0.0 5.0
over 1 year ago 6 months ago
Lua Kotlin
MIT License Apache License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

luacheck

Posts with mentions or reviews of luacheck. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-05-10.
  • strict.lua
    4 projects | /r/lua | 10 May 2023
    Not directly related, but luacheck can also help with this.
  • Lua is eye candy
    1 project | /r/love2d | 5 Oct 2022
    Yeah. While you're at it, make a habit of running luacheck on your files as it helps catch a lot of these issues that can sneak in by mistake: https://github.com/mpeterv/luacheck
  • Help me reload my lua config! :)
    4 projects | /r/neovim | 22 Sep 2022
    Using something like https://github.com/mpeterv/luacheck might be helpful too. Will check all the files in a directory and will let you know which one might be problematic.
  • Lsp: Execute callback after server initialized
    2 projects | /r/neovim | 3 Sep 2022
    I'm trying to setup luacheck (via null-ls) to run alongside sumneko-lua (via nvim-lspconfig).
  • A History of Lua
    14 projects | news.ycombinator.com | 10 Aug 2022
    Most of the time nothing is used. The thing is that iterating is so quick, that you find the problems really fast.

    Although, I've been using luacheck https://github.com/mpeterv/luacheck. It is quite nice, but you have to write down the global variables by hand on the config file.

  • Writing a neovim plugin. Please send criticisms to make the code better
    6 projects | /r/neovim | 18 Jun 2022
    Check out luacheck. It can help spot typos or mistakes you've made and warn against anti-patterns. I'd honestly only look into setting it up locally because there's no benefit to putting it in a CI pipeline unless you have one for another reason IMO. This should be all the config you need:
  • Modding Help - Error Diagnosis
    1 project | /r/theriftbreaker | 9 Feb 2022
  • GitHub Successors
    1 project | news.ycombinator.com | 6 Jan 2022
    Sadly the scenario that the successor feature is intended to alleviate has very much become reality. The creator of Luacheck (Peter Melnichenko) passed away a couple of years ago, and ever since then the GitHub repository has been in a state of limbo. Multiple unofficial forks have come and gone, but Peter's is still the first result on Google if you search "luacheck". It isn't even possible to change the README or pin an issue to get people's attention about the fork; to this day people are still posting issues to the old repo.

    And Luacheck is "the" Lua static analysis tool that pretty much everyone uses, so it's a very significant issue.

    https://github.com/mpeterv/luacheck/issues/198

  • Kind of define in lua
    2 projects | /r/lua | 5 Jan 2022
    You are probably right, but luacheck is well aware of which global variables are built-in and it has special comments, such as -- no global or --ignore in case you very want to overwrite them.
  • Is it ok to name a function for example "function self:Example() end" or is it a big mistake? And how to find (directory) location of a function?
    2 projects | /r/lua | 30 Nov 2021
    Calling your function self is as much bad practice as calling it print. Use luacheck to avoid such mistakes.

IntelliJ-Luanalysis

Posts with mentions or reviews of IntelliJ-Luanalysis. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-06-08.
  • Microsoft DeviceScript – TypeScript for Tiny IoT Devices
    9 projects | news.ycombinator.com | 8 Jun 2023
    Because of compile-time type safety / static analysis. And I say this as the author of an IDE that bolts those features onto Lua: https://github.com/Benjamin-Dobell/IntelliJ-Luanalysis
  • Nelua, AOT statically typed Lua
    15 projects | news.ycombinator.com | 26 Jan 2023
    I want to start adding support for Lua derivatives to my IDE (which adds static type checking to Lua - inference, structural & nominal types, generics etc. (Luanalysis - https://github.com/Benjamin-Dobell/IntelliJ-Luanalysis/)

    I feel like plugin support would be best but I've no idea how that's supposed to work in the presence of a predefined grammar. There's also so many variants I don't think there's a good way to build composite grammar.

    Does anyone have any ideas about how to extend language parsing? For reference, I'm using https://github.com/JetBrains/Grammar-Kit.

  • Show HN: Luanalysis – Statically type checked Lua IDEA
    1 project | news.ycombinator.com | 17 Jan 2023
  • Lua, a Misunderstood Language
    9 projects | news.ycombinator.com | 29 Sep 2022
    There's also my IDE which just bolts on types (both structural and nominal) to regular Lua - no transpiling as the types are defined with comments (or inferred).

    https://github.com/Benjamin-Dobell/IntelliJ-Luanalysis/

    Unfortunately, I haven't been able to give it as much attention as it deserves recently.

  • A History of Lua
    14 projects | news.ycombinator.com | 10 Aug 2022
    What do you mean by no lambdas exactly? Lua supports anonymous functions and those functions capture variables from their outer scope.

    I use functional programming extensively in Lua also. Could you elaborate on what it doesn't permit?

    Integers were introduced in 5.3.

    Assigning operators? It has metatables, you can absolutely implement your own operators.

    If you want static typing you can use my IDE: https://github.com/Benjamin-Dobell/IntelliJ-Luanalysis/

    Granted, my IDE is incredibly opinionated and not for everyone.

    Also, Lua is not my favourite language to use, doesn't even make top 3. However, the robustness of its design, considering its simplicity, is incredibly elegant.

  • Lua code
    2 projects | /r/tabletopsimulator | 26 Jan 2022
  • Luanalysis v1.3.0 Released - Statically typed Lua IDE
    1 project | /r/lua | 27 Jul 2021
    Anyway, you can find screenshots in the project's README on Github: https://github.com/Benjamin-Dobell/IntelliJ-Luanalysis
  • Ask HN: Who wants to be hired? (June 2021)
    15 projects | news.ycombinator.com | 1 Jun 2021
    Location: Melbourne, Australia

    Remote: Yes

    Willing to relocate: Yes (Post-Covid)

    Technologies: Kubernetes, AWS, TypeScript, Ruby, React. Polyglot, refer to résumé.

    Résumé/CV: https://drive.google.com/file/d/1VJk9gs1-LN3e333ZDICwkG5pgTb...

    Email: [email protected]

    Github: https://github.com/Benjamin-Dobell/

    LinkedIn: https://www.linkedin.com/in/benjamindobell/

    Current Role: CTO @ Snaploader

    Salary Expectation: $200,000+ USD

    These days I describe myself as a full-stack developer, but I’ve also plenty of professional experience with mobile (native + React Native), infrastructure, ops, game development, tooling and reverse engineering. In my free time I also tinker with embedded systems. I’m an avid open source contributor, but also maintain many of my own open-source projects e.g. a Lua IDE which statically type checks Lua (https://github.com/Benjamin-Dobell/IntelliJ-Luanalysis).

    I’ve 12+ years of development experience, the last six years I’ve been CTO of Snaploader, a small start-up in Australia which turns floor-plans and CAD drawings into real-time rendered 3D buildings that run in your browser (including mobile). HQ is interstate, thus the role has always been near 100% remote. There’s a team of 20+ 3D artists and sales, but development is a one man show. So I’m responsible for a pretty absurd amount.

    I also occasionally take on casual consulting gigs, which typically come about from my open source contributions. Currently I’m consulting for Berserk Games. I work on their Lua language bindings, public API documentation, networking and tooling for the (user content centric) game Tabletop Simulator (Unity/C#). I also help out their developer community with support, libraries, documentation and example projects i.e. developer advocacy.

    Please do peruse my Github. I’m after something senior where I can take some ownership, but ideally also contribute across a breadth of projects/technologies.

  • Building a Personal Website in 2021
    9 projects | news.ycombinator.com | 16 May 2021
    Me: Okay. I'm just going to prototype a game. Don't want to get carried away. I won't even write a game engine. I'll use Tabletop Simulator.

    Friend: Sounds good. How's it going?

    Me: Well. I needed to be able to debug my code. https://github.com/tts-community/moonsharp-tts-debug

    Friend: Oh, neat. So your game is done now?

    Me: Not exactly. I had to had in matchmaking by reverse engineering Steam. https://github.com/SteamRE/SteamKit/pull/704

    Friend: Ah. Alright. Can I play it now?

    Me: Nah, I was finding it hard to maintain code. I wrote a Lua code bundler. https://github.com/Benjamin-Dobell/luabundle

    Friend: Sweet.

    Me: Yeah, but I decided to integrate it into the official tooling. https://github.com/Berserk-Games/atom-tabletopsimulator-lua/...

    Friend: I'm sure the community will be thankful.

    Me: I hope so. I now run a small community of TTS developers. https://github.com/tts-community/

    Friend: Right. You must be done by now.

    Me: Nah, I couldn't statically type check my code. So I wrote some types. https://github.com/Benjamin-Dobell/tts-types

    Friend: Seems unnecessary for a prototype, but sure.

    Me: I had to write my own IDE to use them though. https://github.com/Benjamin-Dobell/IntelliJ-Luanalysis

    Friend: Right... So how'd the game going then?

    Me: Oh, I'm not doing that anymore. I now consult for Berserk Games, developers of Tabletop Simulator

    Friend: ...

  • Scripting Editor Window literally pulled Off-Screen - cannot get it back
    2 projects | /r/tabletopsimulator | 22 Jan 2021
    Atom (most basic), Vscode with emmylua (debugging) and tabletop simulator lua, or Intellij with luanalysis (type safety). all are really good depending on your use case. I have never used the scripting window, even for simple scripts.

What are some alternatives?

When comparing luacheck and IntelliJ-Luanalysis you can also consider the following projects:

lua-language-server - A language server that offers Lua language support - programmed in Lua

IntelliJ-EmmyLua - Lua IDE/Debugger Plugin for IntelliJ IDEA

StyLua - An opinionated Lua code formatter

hugo-blox-builder - 😍 EASILY BUILD THE WEBSITE YOU WANT - NO CODE, JUST MARKDOWN BLOCKS! 使用块轻松创建任何类型的网站 - 无需代码。 一个应用程序,没有依赖项,没有 JS

LuaFormatter - Code formatter for Lua

tts-types - Tabletop Simulator EmmyLua types.

luau - A fast, small, safe, gradually typed embeddable scripting language derived from Lua

moonsharp - Enhanced MoonSharp for improved Tabletop Simulator mod development

NvChad - Blazing fast Neovim config providing solid defaults and a beautiful UI, enhancing your neovim experience.

moonsharp - An interpreter for the Lua language, written entirely in C# for the .NET, Mono, Xamarin and Unity3D platforms, including handy remote debugger facilities.

lua-enumerable - A port of ruby's Enumerable module to Lua

Heimdall - Heimdall is a cross-platform open-source tool suite used to flash firmware (aka ROMs) onto Samsung Galaxy devices.