/IDLua

Lua For IntelliJ IDEA

Primary LanguageJavaApache License 2.0Apache-2.0

IconLua language support for JetBrains IDEs

Features:

  • Semantic code highlighting of identifiers: global, local, parameter, upvalue
  • Highly configurable syntax highlighting
  • Syntax checking and error highlighting
  • Code completion across all files including libraries and custom API's
  • Code completions enhanced by type inference and flow analysis
  • Support for external API definitions to enhance completion including custom function signatures
  • LuaDoc auto-generation with highlighting and folding
  • Quick Documentation (ctrl-Q/cmd-f1) for Lua APIs, and custom API's
  • Code Formatter
  • Go to definition (ctrl-click/cmd-click)
  • Find Usages, Goto Symbol
  • Lua SDK REPL Console
  • Modules support for completions (Experimental)
  • Structure view / Code Outline
  • Refactorings
    • Safe Delete
    • Rename Identifier
    • Introduce Variable (Experimental)
  • Debugger (Experimental)
  • Code Inspections
    • Unused assignment
    • Suspicious global creation, helps catch leaked globals
    • Unbalanced assignment statements, helps catch bugs in multiple assignment statements
    • Many more...
  • Code Intentions
    • Replace explicit string library calls like string.len("foo") with ("foo"):len()
    • Many more...
  • Some Automatic FrameXML Injections (World of Warcraft)
  • Type Inference Based Completions (Experimental)

--