Zerobrane Lua Script Editor Code auto-complete

Source: Internet
Author: User

Introduction

Zerobrane Studio is a lightweight LUA IDE tool that supports code hinting, syntax highlighting, remote debugging, code analysis, debugging, and more. can go to the official website studio. zerobrane. com for download.

Auto-complete function

Here's how to get your code to complete auto-completion.

First, enter the interpreters folder to create a new LUA script file to configure your library's execution file.

Local exefile= "Execute file path" local resourcepath= "resource path" return {  name = "Luaapp",  description = "Luaapp",  API = {" Baselib "," Luaapp "},--Note API  Frun = function (self,wfilename,rundebug) local Workdir=self:fworkdir (Wfilename)    if not getfullpathifexists (Workdir, ' Main.lua ')      Then Displayoutput ("Can ' t find ' main.lua ' file in the current Project folder.\n")      return    end    if Rundebug then      Debuggerattachdefault ({runstart = Ide.config.debugger.runonstart = true})    end    Local cmd = ('%s%s '): Format (exefile, ResourcePath)    return Commandlinerun (cmd,workdir,true,true)  end,  Hasdebugger = True,  Fattachdebug = function (self) debuggerattachdefault () end,  Scratchextloop = True,  takeparameters = True,}

Open the editor in the Project options last item select the name of the Lua script you created, F5 can start debugging, note that the portal file needs to be Main.lua.

Zerobrane Lua Script Editor Code auto-complete

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.